Changeset 2595 in orxonox.OLD for orxonox/trunk/gui
- Timestamp:
- Oct 19, 2004, 1:30:24 AM (20 years ago)
- Location:
- orxonox/trunk/gui
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/gui/orxonox_gui.cc
r2588 r2595 63 63 64 64 banner = new OrxonoxGuiBanner(); 65 windowBox->fill (banner->get EventBox());65 windowBox->fill (banner->getWidget()); 66 66 67 67 Box* optionBox = new Box ('v'); … … 70 70 71 71 video = new OrxonoxGuiVideo (); 72 avBox->fill (video->get Frame());72 avBox->fill (video->getWidget ()); 73 73 audio = new OrxonoxGuiAudio (); 74 avBox->fill (audio->get Frame());74 avBox->fill (audio->getWidget ()); 75 75 76 76 optionBox->fill (avBox); 77 77 78 78 exec = new OrxonoxGuiExec (orxonoxGUI); 79 optionBox->fill (exec->get Frame());79 optionBox->fill (exec->getWidget ()); 80 80 81 81 flags = new OrxonoxGuiFlags (orxonoxGUI); 82 82 83 83 84 optionBox->fill (flags->get Frame());84 optionBox->fill (flags->getWidget ()); 85 85 windowBox->fill (optionBox); 86 86 -
orxonox/trunk/gui/orxonox_gui.h
r2588 r2595 43 43 virtual void init(void); 44 44 int is_option; //!< with this Paramenter one can set the IsOption type: -2:Container, -1: Box, 0: not an Option, 1: Bool-option, 2: int-option 45 45 enum option { containerType = -2, boxType = -1, nothingType = 0, boolType = 1, intType = 2}; //!< defines is_option states 46 46 void connectSignal (char* event, gint (*signal)(GtkWidget*, GdkEvent*, void *)); 47 47 void connectSignal (char* event, gint (*signal)(GtkWidget*, Widget *)); -
orxonox/trunk/gui/orxonox_gui_audio.cc
r2588 r2595 55 55 \return Returns the Audio-frame 56 56 */ 57 Frame* OrxonoxGuiAudio::getFrame()57 Widget* OrxonoxGuiAudio::getWidget () 58 58 { 59 59 return audioFrame; -
orxonox/trunk/gui/orxonox_gui_audio.h
r2588 r2595 22 22 ~OrxonoxGuiAudio (); 23 23 24 Frame* getFrame();24 Widget* getWidget (); 25 25 }; 26 26 #endif /* _ORXONOX_GUI_AUDIO_H */ -
orxonox/trunk/gui/orxonox_gui_banner.cc
r2588 r2595 62 62 logoWindow->connectSignal("delete_event", this, LogoWindowClose); 63 63 logoEventBox = new EventBox(); 64 logoBox = new Box('v'); 65 logoLabel = new Label("OrxOnoX"); 64 66 logoImage = new Image("banner.xpm"); 65 67 logoEventBox->fill(logoImage); 68 69 logoBox->fill(logoLabel); 70 logoBox->fill(logoEventBox); 66 71 logoEventBox->connectSignal("button_press_event",this,LogoWindowClose); 67 72 68 logoWindow->fill (logo EventBox);73 logoWindow->fill (logoBox); 69 74 70 75 } … … 90 95 \return The EventBox, that holds the Banner. 91 96 */ 92 EventBox* OrxonoxGuiBanner::getEventBox()97 Widget* OrxonoxGuiBanner::getWidget () 93 98 { 94 99 return bannerEventBox; -
orxonox/trunk/gui/orxonox_gui_banner.h
r2588 r2595 14 14 { 15 15 private: 16 // the banner Frame 16 17 Frame* bannerFrame; 17 18 Box* bannerBox; … … 19 20 Image* bannerImage; 20 21 Label* bannerLabel; 22 23 // the logo Window 21 24 Window* logoWindow; 22 25 int logoWindowIsOpen; 23 26 EventBox* logoEventBox; 27 Box* logoBox; 24 28 Image* logoImage; 29 Label* logoLabel; 25 30 26 31 public: … … 30 35 void logoWindowNew(); 31 36 void logoWindowClose(); 32 EventBox* getEventBox();37 Widget* getWidget (); 33 38 }; 34 39 -
orxonox/trunk/gui/orxonox_gui_exec.cc
r2588 r2595 62 62 \return Returns the Exec-frame 63 63 */ 64 Frame* OrxonoxGuiExec::getFrame()64 Widget* OrxonoxGuiExec::getWidget () 65 65 { 66 66 return execFrame; -
orxonox/trunk/gui/orxonox_gui_exec.h
r2588 r2595 28 28 ~OrxonoxGuiExec (); 29 29 30 Frame* getFrame();30 Widget* getWidget (); 31 31 32 32 void setFilename (char* filename); -
orxonox/trunk/gui/orxonox_gui_flags.cc
r2588 r2595 50 50 \returns Frame that holds the Flagtext. 51 51 */ 52 Frame* OrxonoxGuiFlags::getFrame()52 Widget* OrxonoxGuiFlags::getWidget () 53 53 { 54 54 return flagsFrame; -
orxonox/trunk/gui/orxonox_gui_flags.h
r2588 r2595 26 26 void OrxonoxGuiFlags::FlagsText(Widget* widget); 27 27 28 Frame* getFrame();28 Widget* getWidget (); 29 29 }; 30 30 #endif /* _ORXONOX_GUI_FLAGS_H */ -
orxonox/trunk/gui/orxonox_gui_video.cc
r2588 r2595 47 47 \return Returns the Video-frame 48 48 */ 49 Frame* OrxonoxGuiVideo::getFrame()49 Widget* OrxonoxGuiVideo::getWidget () 50 50 { 51 51 return videoFrame; -
orxonox/trunk/gui/orxonox_gui_video.h
r2588 r2595 20 20 ~OrxonoxGuiVideo (); 21 21 22 Frame* getFrame();22 Widget* getWidget (); 23 23 }; 24 24 #endif /* _ORXONOX_GUI_VIDEO_H */ -
orxonox/trunk/gui/rc
r2050 r2595 122 122 widget_class "GtkWindow" style "window" 123 123 widget_class "GtkFrame" style "window" 124 widget_class "Gtk*EventBox" style "window" 124 125 widget_class "GtkDialog" style "window" 125 126 widget_class "GtkFileSelection" style "window"
Note: See TracChangeset
for help on using the changeset viewer.