Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/branches/bensch/orxonox_gui_audio.c @ 1809

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

orxonox/branches/bensch: added files for creating the gtk frontend to orxonox

File size: 644 bytes
Line 
1#include "orxonox_gui.h"
2
3GtkWidget *orxonox_gui_audio_frame (GtkWidget *box )
4{
5  GtkWidget *frame;
6  GtkWidget *button;
7  GtkWidget *separator;
8
9  frame = gtk_frame_new ( "Audio-Options:");
10  {
11    GtkWidget *orxonox_gui_audio_vbox;
12    GtkWidget *label;
13    orxonox_gui_audio_vbox = gtk_vbox_new (FALSE, 0);
14    {
15
16        button = gtk_check_button_new_with_label ("Enable Sound");
17        /*      gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button), orxonox_fullscreen);
18         */
19        gtk_box_pack_start(GTK_BOX (orxonox_gui_audio_vbox), button, TRUE, TRUE, 0);
20    }
21    gtk_container_add(GTK_CONTAINER(frame), orxonox_gui_audio_vbox);
22  }
23
24  return frame;
25
26}
27
Note: See TracBrowser for help on using the repository browser.