Last change
on this file since 3027 was
2595,
checked in by bensch, 20 years ago
|
orxonox/trunk/gui: Generalized plugins (returning Widget* now). Enumerator for isOption added
|
File size:
942 bytes
|
Rev | Line | |
---|
[2588] | 1 | /*! |
---|
| 2 | \file orxonox_gui_banner.h |
---|
| 3 | \brief File that holds the class that creates the Banner-Image.\n |
---|
| 4 | This is Commercial :-) |
---|
| 5 | */ |
---|
| 6 | |
---|
[2580] | 7 | #ifndef _ORXONOX_GUI_BANNER_H |
---|
| 8 | #define _ORXONOX_GUI_BANNER_H |
---|
| 9 | |
---|
| 10 | #include "orxonox_gui.h" |
---|
| 11 | |
---|
[2588] | 12 | //! Class that creates the Banner-Image |
---|
[2580] | 13 | class OrxonoxGuiBanner |
---|
| 14 | { |
---|
| 15 | private: |
---|
[2595] | 16 | // the banner Frame |
---|
[2580] | 17 | Frame* bannerFrame; |
---|
| 18 | Box* bannerBox; |
---|
[2588] | 19 | EventBox* bannerEventBox; //!< an Image needs an EventBox to catch klicks |
---|
[2580] | 20 | Image* bannerImage; |
---|
| 21 | Label* bannerLabel; |
---|
[2595] | 22 | |
---|
| 23 | // the logo Window |
---|
[2581] | 24 | Window* logoWindow; |
---|
| 25 | int logoWindowIsOpen; |
---|
| 26 | EventBox* logoEventBox; |
---|
[2595] | 27 | Box* logoBox; |
---|
[2581] | 28 | Image* logoImage; |
---|
[2595] | 29 | Label* logoLabel; |
---|
[2580] | 30 | |
---|
| 31 | public: |
---|
| 32 | OrxonoxGuiBanner (); |
---|
| 33 | ~OrxonoxGuiBanner (); |
---|
| 34 | |
---|
[2581] | 35 | void logoWindowNew(); |
---|
| 36 | void logoWindowClose(); |
---|
[2595] | 37 | Widget* getWidget (); |
---|
[2580] | 38 | }; |
---|
[2588] | 39 | |
---|
[2581] | 40 | gint LogoWindowOpen (GtkWidget *widget, GdkEvent* event, void* banner); |
---|
| 41 | gint LogoWindowClose (GtkWidget *widget, GdkEvent* event, void* banner); |
---|
[2580] | 42 | |
---|
| 43 | #endif /* _ORXONOX_GUI_BANNER_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.