Last change
on this file since 2779 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
|
Line | |
---|
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 | |
---|
7 | #ifndef _ORXONOX_GUI_BANNER_H |
---|
8 | #define _ORXONOX_GUI_BANNER_H |
---|
9 | |
---|
10 | #include "orxonox_gui.h" |
---|
11 | |
---|
12 | //! Class that creates the Banner-Image |
---|
13 | class OrxonoxGuiBanner |
---|
14 | { |
---|
15 | private: |
---|
16 | // the banner Frame |
---|
17 | Frame* bannerFrame; |
---|
18 | Box* bannerBox; |
---|
19 | EventBox* bannerEventBox; //!< an Image needs an EventBox to catch klicks |
---|
20 | Image* bannerImage; |
---|
21 | Label* bannerLabel; |
---|
22 | |
---|
23 | // the logo Window |
---|
24 | Window* logoWindow; |
---|
25 | int logoWindowIsOpen; |
---|
26 | EventBox* logoEventBox; |
---|
27 | Box* logoBox; |
---|
28 | Image* logoImage; |
---|
29 | Label* logoLabel; |
---|
30 | |
---|
31 | public: |
---|
32 | OrxonoxGuiBanner (); |
---|
33 | ~OrxonoxGuiBanner (); |
---|
34 | |
---|
35 | void logoWindowNew(); |
---|
36 | void logoWindowClose(); |
---|
37 | Widget* getWidget (); |
---|
38 | }; |
---|
39 | |
---|
40 | gint LogoWindowOpen (GtkWidget *widget, GdkEvent* event, void* banner); |
---|
41 | gint LogoWindowClose (GtkWidget *widget, GdkEvent* event, void* banner); |
---|
42 | |
---|
43 | #endif /* _ORXONOX_GUI_BANNER_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.