|
|
| version 1.1, 2004/07/14 16:01:40 | version 1.3, 2007/01/02 14:37:29 |
|---|---|
| Line 12 | Line 12 |
| * 2. Redistributions in binary form must reproduce the above copyright | * 2. Redistributions in binary form must reproduce the above copyright |
| * notice, this list of conditions and the following disclaimer in the | * notice, this list of conditions and the following disclaimer in the |
| * documentation and/or other materials provided with the distribution. | * documentation and/or other materials provided with the distribution. |
| * 3. The name of the author may not be used to endorse or promote products | |
| * derived from this software without specific prior written permission. | |
| * | * |
| * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR |
| * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES |
| Line 196 button_release_evhandler(GtkWidget *w, G | Line 194 button_release_evhandler(GtkWidget *w, G |
| return TRUE; | return TRUE; |
| } | } |
| /* | |
| - Signal: gboolean GtkWidget::window_state_event (GtkWidget *widget, | |
| GdkEventWindowState *event, gpointer user_data) | |
| */ | |
| static gboolean | |
| window_state_evhandler(GtkWidget *w, GdkEventWindowState *ev, gpointer p) | |
| { | |
| UNUSED(w); | |
| UNUSED(p); | |
| if (ev->new_window_state & GDK_WINDOW_STATE_FULLSCREEN) { | |
| /* Nothing to do. */ | |
| } | |
| return TRUE; | |
| } | |
| /* | /* |
| * misc | * misc |
| Line 319 gui_gtk_widget_create(void) | Line 334 gui_gtk_widget_create(void) |
| GTK_SIGNAL_FUNC(button_press_evhandler), NULL); | GTK_SIGNAL_FUNC(button_press_evhandler), NULL); |
| g_signal_connect(GTK_OBJECT(main_window), "button_release_event", | g_signal_connect(GTK_OBJECT(main_window), "button_release_event", |
| GTK_SIGNAL_FUNC(button_release_evhandler), NULL); | GTK_SIGNAL_FUNC(button_release_evhandler), NULL); |
| g_signal_connect(GTK_OBJECT(main_window), "window_state_event", | |
| GTK_SIGNAL_FUNC(window_state_evhandler), NULL); | |
| g_signal_connect(GTK_OBJECT(drawarea), "configure_event", | g_signal_connect(GTK_OBJECT(drawarea), "configure_event", |
| GTK_SIGNAL_FUNC(configure_evhandler), NULL); | GTK_SIGNAL_FUNC(configure_evhandler), NULL); |