X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fdesigner%2Fdesigner.h;h=6e4e78d0e71fa7d8b3a1f4e9f1b1ebc2f59ea0ce;hb=3e9c210ddc036cd015228504cc0803c909e27f84;hp=553b25c3e4faf91d35f554c68128fe53a2c832f4;hpb=52cbe8d99669f843f8f75c51128e2748584dd03a;p=r2c2.git diff --git a/source/designer/designer.h b/source/designer/designer.h index 553b25c..6e4e78d 100644 --- a/source/designer/designer.h +++ b/source/designer/designer.h @@ -1,3 +1,10 @@ +/* $Id$ + +This file is part of the MSP Märklin suite +Copyright © 2006-2008 Mikkosoft Productions, Mikko Rasa +Distributed under the GPL +*/ + #ifndef DESIGNER_H_ #define DESIGNER_H_ @@ -17,14 +24,6 @@ class Selection; class Designer: public Msp::Application { -public: - Designer(int, char **); - Marklin::Layout *get_layout() { return layout; } - Marklin::Layout3D *get_layout_3d() { return layout_3d; } - Msp::GL::Font &get_font() { return *font; } - int main(); - void map_pointer_coords(int, int, float &, float &); - ~Designer(); private: enum Mode { @@ -65,6 +64,16 @@ private: Msp::Time::TimeStamp tooltip_timeout; Msp::Time::TimeStamp last_tick; +public: + Designer(int, char **); + ~Designer(); + + Marklin::Layout *get_layout() { return layout; } + Marklin::Layout3D *get_layout_3d() { return layout_3d; } + Msp::GL::Font &get_font() { return *font; } + int main(); + void map_pointer_coords(int, int, float &, float &); +private: void tick(); void key_press(unsigned, unsigned, wchar_t); void key_release(unsigned, unsigned);