]> git.tdb.fi Git - r2c2.git/blob - source/engineer/timetabledialog.h
Update Track3D to use GL::Renderer
[r2c2.git] / source / engineer / timetabledialog.h
1 /* $Id$
2
3 This file is part of R²C²
4 Copyright © 2010  Mikkosoft Productions, Mikko Rasa
5 Distributed under the GPL
6 */
7
8 #ifndef TIMETABLEDIALOG_H_
9 #define TIMETABLEDIALOG_H_
10
11 #include <msp/gltk/dialog.h>
12 #include <msp/gltk/entry.h>
13 #include <msp/gltk/toggle.h>
14 #include "libr2c2/timetable.h"
15
16 class TimetableDialog: public Msp::GLtk::Dialog
17 {
18 private:
19         R2C2::Timetable &timetable;
20         Msp::GLtk::Entry *ent_timetable;
21         Msp::GLtk::Toggle *tgl_enabled;
22
23 public:
24         TimetableDialog(R2C2::Timetable &);
25
26 private:
27         void enabled_toggled(bool);
28
29         virtual void on_response(int);
30 };
31
32 #endif