Logo Search packages:      
Sourcecode: desmume version File versions

callbacks_IO.h

/* callbacks_IO.h - this file is part of DeSmuME
 *
 * Copyright (C) 2007 Damien Nozay (damdoum)
 * Copyright (C) 2007 Pascal Giard (evilynux)
 * Author: damdoum at users.sourceforge.net
 *
 * This file is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2, or (at your option)
 * any later version.
 *
 * This file is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; see the file COPYING.  If not, write to
 * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 * Boston, MA 02111-1307, USA.
 */

#include "globals.h"

/* INPUT BUTTONS / KEYBOARD */
G_MODULE_EXPORT gboolean  on_wMainW_key_press_event    (GtkWidget *widget, GdkEventKey *event, gpointer user_data);
G_MODULE_EXPORT gboolean  on_wMainW_key_release_event  (GtkWidget *widget, GdkEventKey *event, gpointer user_data);

/* OUTPUT UPPER SCREEN  */
G_MODULE_EXPORT void      on_wDraw_Main_realize       (GtkWidget *widget, gpointer user_data);
G_MODULE_EXPORT gboolean  on_wDraw_Main_expose_event  (GtkWidget *widget, GdkEventExpose  *event, gpointer user_data);

/* OUTPUT LOWER SCREEN  */
G_MODULE_EXPORT void      on_wDraw_Sub_realize        (GtkWidget *widget, gpointer user_data);
G_MODULE_EXPORT gboolean  on_wDraw_Sub_expose_event   (GtkWidget *widget, GdkEventExpose  *event, gpointer user_data);

/* INPUT STYLUS / MOUSE */
G_MODULE_EXPORT gboolean  on_wDraw_Sub_button_press_event   (GtkWidget *widget, GdkEventButton  *event, gpointer user_data);
G_MODULE_EXPORT gboolean  on_wDraw_Sub_button_release_event (GtkWidget *widget, GdkEventButton  *event, gpointer user_data);
G_MODULE_EXPORT gboolean  on_wDraw_Sub_motion_notify_event  (GtkWidget *widget, GdkEventMotion  *event, gpointer user_data);




/* KEYBOARD CONFIG / KEY DEFINITION */

G_MODULE_EXPORT gboolean  on_wKeyDlg_key_press_event (GtkWidget *widget, GdkEventKey *event, gpointer user_data);
G_MODULE_EXPORT void  on_wKeybConfDlg_response (GtkDialog *dialog, gint arg1, gpointer user_data);

G_MODULE_EXPORT void  on_button_Left_clicked    (GtkButton *button, gpointer user_data);
G_MODULE_EXPORT void  on_button_Up_clicked      (GtkButton *button, gpointer user_data);
G_MODULE_EXPORT void  on_button_Right_clicked   (GtkButton *button, gpointer user_data);
G_MODULE_EXPORT void  on_button_Down_clicked    (GtkButton *button, gpointer user_data);

G_MODULE_EXPORT void  on_button_L_clicked       (GtkButton *button, gpointer user_data);
G_MODULE_EXPORT void  on_button_R_clicked       (GtkButton *button, gpointer user_data);

G_MODULE_EXPORT void  on_button_Y_clicked       (GtkButton *button, gpointer user_data);
G_MODULE_EXPORT void  on_button_X_clicked       (GtkButton *button, gpointer user_data);
G_MODULE_EXPORT void  on_button_A_clicked       (GtkButton *button, gpointer user_data);
G_MODULE_EXPORT void  on_button_B_clicked       (GtkButton *button, gpointer user_data);

G_MODULE_EXPORT void  on_button_Start_clicked   (GtkButton *button, gpointer user_data);
G_MODULE_EXPORT void  on_button_Select_clicked  (GtkButton *button, gpointer user_data);
G_MODULE_EXPORT void  on_button_Debug_clicked   (GtkButton *button, gpointer user_data);
G_MODULE_EXPORT void  on_button_Boost_clicked   (GtkButton *button, gpointer user_data);

/* Joystick configuration / Key definition */
G_MODULE_EXPORT void on_button_joy_Left_clicked (GtkButton *button, gpointer user_data);
G_MODULE_EXPORT void on_button_joy_Up_clicked (GtkButton *button, gpointer user_data);
G_MODULE_EXPORT void on_button_joy_Right_clicked (GtkButton *button, gpointer user_data);
G_MODULE_EXPORT void on_button_joy_Down_clicked (GtkButton *button, gpointer user_data);
G_MODULE_EXPORT void on_button_joy_Y_clicked (GtkButton *button, gpointer user_data);
G_MODULE_EXPORT void on_button_joy_X_clicked (GtkButton *button, gpointer user_data);
G_MODULE_EXPORT void on_button_joy_A_clicked (GtkButton *button, gpointer user_data);
G_MODULE_EXPORT void on_button_joy_B_clicked (GtkButton *button, gpointer user_data);
G_MODULE_EXPORT void on_button_joy_Select_clicked (GtkButton *button, gpointer user_data);
G_MODULE_EXPORT void on_button_joy_L_clicked (GtkButton *button, gpointer user_data);
G_MODULE_EXPORT void on_button_joy_R_clicked (GtkButton *button, gpointer user_data);
G_MODULE_EXPORT void on_button_joy_Debug_clicked (GtkButton *button, gpointer user_data);
G_MODULE_EXPORT void on_button_joy_Start_clicked (GtkButton *button, gpointer user_data);
G_MODULE_EXPORT void on_button_joy_Boost_clicked (GtkButton *button, gpointer user_data);

Generated by  Doxygen 1.6.0   Back to index