|
Last change
on this file since 1813 was
1813,
checked in by bensch, 22 years ago
|
|
orxonox/branches/bensch: filtered some warnings out
|
|
File size:
598 bytes
|
| Line | |
|---|
| 1 | #include "orxonox_gui.h" |
|---|
| 2 | |
|---|
| 3 | GtkWidget *orxonox_gui_audio_frame (GtkWidget *box ) |
|---|
| 4 | { |
|---|
| 5 | GtkWidget *frame; |
|---|
| 6 | GtkWidget *button; |
|---|
| 7 | |
|---|
| 8 | frame = gtk_frame_new ( "Audio-Options:"); |
|---|
| 9 | { |
|---|
| 10 | GtkWidget *orxonox_gui_audio_vbox; |
|---|
| 11 | orxonox_gui_audio_vbox = gtk_vbox_new (FALSE, 0); |
|---|
| 12 | { |
|---|
| 13 | |
|---|
| 14 | button = gtk_check_button_new_with_label ("Enable Sound"); |
|---|
| 15 | /* gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button), orxonox_fullscreen); |
|---|
| 16 | */ |
|---|
| 17 | gtk_box_pack_start(GTK_BOX (orxonox_gui_audio_vbox), button, TRUE, TRUE, 0); |
|---|
| 18 | } |
|---|
| 19 | gtk_container_add(GTK_CONTAINER(frame), orxonox_gui_audio_vbox); |
|---|
| 20 | } |
|---|
| 21 | |
|---|
| 22 | return frame; |
|---|
| 23 | |
|---|
| 24 | } |
|---|
| 25 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.