Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/trunk/gui/orxonox_gui_banner.cc @ 2580

Last change on this file since 2580 was 2580, checked in by bensch, 20 years ago

orxonox/trunk/gui: Image now Pressable; added Class EventBox to but the Image inside

File size: 534 bytes
Line 
1#include "orxonox_gui_banner.h"
2#include <iostream.h>
3
4OrxonoxGuiBanner::OrxonoxGuiBanner ()
5{
6  bannerEventBox = new EventBox ();
7  bannerImage = new Image ("banner.xpm");
8  bannerEventBox->fill(bannerImage);
9  bannerEventBox->connectSignal ("button_press_event", LogoWindowOpen);
10
11  // bannerFrame->fill(bannerEventBox);
12
13}
14OrxonoxGuiBanner::~OrxonoxGuiBanner ()
15{
16}
17
18
19EventBox* OrxonoxGuiBanner::getEventBox ()
20{
21  return bannerEventBox;
22}
23
24gint LogoWindowOpen (GtkWidget* widget, Widget* data)
25{
26  cout << "This Is OrxOnoX\n";
27}
28
Note: See TracBrowser for help on using the repository browser.