Last change
on this file since 1809 was
1809,
checked in by bensch, 21 years ago
|
orxonox/branches/bensch: added files for creating the gtk frontend to orxonox
|
File size:
647 bytes
|
Line | |
---|
1 | #include "orxonox_gui.h" |
---|
2 | |
---|
3 | GtkWidget *orxonox_gui_video_frame (GtkWidget *box ) |
---|
4 | { |
---|
5 | GtkWidget *frame; |
---|
6 | GtkWidget *button; |
---|
7 | GtkWidget *separator; |
---|
8 | |
---|
9 | frame = gtk_frame_new ( "Video-Options:"); |
---|
10 | { |
---|
11 | GtkWidget *orxonox_gui_video_vbox; |
---|
12 | GtkWidget *label; |
---|
13 | orxonox_gui_video_vbox = gtk_vbox_new (FALSE, 0); |
---|
14 | { |
---|
15 | |
---|
16 | button = gtk_check_button_new_with_label ("Fullscreen-mode"); |
---|
17 | /* gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button), orxonox_fullscreen); |
---|
18 | */ |
---|
19 | gtk_box_pack_start(GTK_BOX (orxonox_gui_video_vbox), button, TRUE, TRUE, 0); |
---|
20 | } |
---|
21 | gtk_container_add(GTK_CONTAINER(frame), orxonox_gui_video_vbox); |
---|
22 | } |
---|
23 | |
---|
24 | return frame; |
---|
25 | |
---|
26 | } |
---|
27 | |
---|
Note: See
TracBrowser
for help on using the repository browser.