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 | |
---|
4 | OrxonoxGuiBanner::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 | } |
---|
14 | OrxonoxGuiBanner::~OrxonoxGuiBanner () |
---|
15 | { |
---|
16 | } |
---|
17 | |
---|
18 | |
---|
19 | EventBox* OrxonoxGuiBanner::getEventBox () |
---|
20 | { |
---|
21 | return bannerEventBox; |
---|
22 | } |
---|
23 | |
---|
24 | gint LogoWindowOpen (GtkWidget* widget, Widget* data) |
---|
25 | { |
---|
26 | cout << "This Is OrxOnoX\n"; |
---|
27 | } |
---|
28 | |
---|
Note: See
TracBrowser
for help on using the repository browser.