X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fengineer%2Ftimetablepanel.h;h=e9d0a8c8771c4e12394846dab9930847ac64308d;hb=3dd660ffad729fbd6e75e6401f5c7f27b9013faf;hp=a0f5be8cd0fea1351c41f85802f27547d5ca6973;hpb=9ad36841021cdd5c7f14d52e946d8ecdb602cf78;p=r2c2.git diff --git a/source/engineer/timetablepanel.h b/source/engineer/timetablepanel.h index a0f5be8..e9d0a8c 100644 --- a/source/engineer/timetablepanel.h +++ b/source/engineer/timetablepanel.h @@ -20,14 +20,16 @@ private: R2C2::Timetable *timetable; Msp::GLtk::List *lst_timetable; Msp::GLtk::Dropdown *drp_type; - R2C2::Zone *zone; - Msp::GLtk::Label *lbl_zone; + R2C2::TrackChain *target; + Msp::GLtk::Label *lbl_target; Msp::GLtk::Entry *ent_time; + Msp::GLtk::Dropdown *drp_direction; Msp::GLtk::BasicListData rows; - bool zone_pick; - R2C2::Zone *picked_zone; + bool target_pick; + R2C2::TrackChain *picked_target; R2C2::TrackChain3D *pick_highlight; + bool shift; public: TimetablePanel(Engineer &, R2C2::Train &); @@ -44,6 +46,8 @@ private: void delete_clicked(); void apply_clicked(); + virtual void key_press(unsigned, unsigned); + virtual void key_release(unsigned, unsigned); virtual void button_press(int, int, unsigned); virtual void pointer_motion(int, int); };