2009-02-06 19:52:59 +00:00
|
|
|
/*
|
|
|
|
* DO NOT EDIT THIS FILE - it is generated by Glade.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifdef HAVE_CONFIG_H
|
|
|
|
# include <config.h>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include <sys/types.h>
|
|
|
|
#include <sys/stat.h>
|
|
|
|
#include <unistd.h>
|
|
|
|
#include <string.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
#include <gdk/gdkkeysyms.h>
|
|
|
|
#include <gtk/gtk.h>
|
|
|
|
|
|
|
|
#include "callbacks.h"
|
|
|
|
#include "interface.h"
|
|
|
|
#include "support.h"
|
|
|
|
|
|
|
|
#define GLADE_HOOKUP_OBJECT(component,widget,name) \
|
|
|
|
g_object_set_data_full (G_OBJECT (component), name, \
|
|
|
|
gtk_widget_ref (widget), (GDestroyNotify) gtk_widget_unref)
|
|
|
|
|
|
|
|
#define GLADE_HOOKUP_OBJECT_NO_REF(component,widget,name) \
|
|
|
|
g_object_set_data (G_OBJECT (component), name, widget)
|
|
|
|
|
|
|
|
GtkWidget*
|
|
|
|
create_About (void)
|
|
|
|
{
|
|
|
|
GtkWidget *About;
|
|
|
|
const gchar *authors[] = {
|
|
|
|
"Author: zerofrog(@gmail.com)",
|
|
|
|
"Thanks to:",
|
|
|
|
" linuzappz <linuzappz@hotmail.com>",
|
|
|
|
"florin sasu <florinsasu@hotmail.com>",
|
|
|
|
"and SSSPSXPad, TwinPad authors",
|
|
|
|
NULL
|
|
|
|
};
|
|
|
|
/* TRANSLATORS: Replace this string with your names, one name per line. */
|
|
|
|
gchar *translators = _("translator-credits");
|
|
|
|
|
|
|
|
About = gtk_about_dialog_new ();
|
2009-05-03 11:09:15 +00:00
|
|
|
gtk_widget_set_name (About, "About");
|
|
|
|
gtk_container_set_border_width (GTK_CONTAINER (About), 5);
|
2009-05-15 06:08:35 +00:00
|
|
|
gtk_window_set_destroy_with_parent (GTK_WINDOW (About), TRUE);
|
2009-02-06 19:52:59 +00:00
|
|
|
gtk_about_dialog_set_version (GTK_ABOUT_DIALOG (About), VERSION);
|
|
|
|
gtk_about_dialog_set_name (GTK_ABOUT_DIALOG (About), _("ZeroPAD"));
|
|
|
|
gtk_about_dialog_set_authors (GTK_ABOUT_DIALOG (About), authors);
|
|
|
|
gtk_about_dialog_set_translator_credits (GTK_ABOUT_DIALOG (About), translators);
|
|
|
|
|
2009-05-15 06:08:35 +00:00
|
|
|
g_signal_connect ((gpointer) About, "response",
|
|
|
|
G_CALLBACK (OnAbout_Ok),
|
|
|
|
NULL);
|
|
|
|
|
2009-02-06 19:52:59 +00:00
|
|
|
/* Store pointers to all widgets, for use by lookup_widget(). */
|
|
|
|
GLADE_HOOKUP_OBJECT_NO_REF (About, About, "About");
|
|
|
|
|
|
|
|
return About;
|
|
|
|
}
|
|
|
|
|
|
|
|
GtkWidget*
|
|
|
|
create_Conf (void)
|
|
|
|
{
|
|
|
|
GtkWidget *Conf;
|
|
|
|
GtkWidget *dialog_vbox1;
|
|
|
|
GtkWidget *vbox1;
|
|
|
|
GtkWidget *frame1;
|
|
|
|
GtkWidget *alignment1;
|
|
|
|
GtkWidget *hbox1;
|
|
|
|
GtkWidget *PAD1;
|
|
|
|
GSList *PAD1_group = NULL;
|
|
|
|
GtkWidget *PAD2;
|
2009-05-03 11:09:15 +00:00
|
|
|
GtkWidget *PAD3;
|
|
|
|
GtkWidget *PAD4;
|
2009-02-06 19:52:59 +00:00
|
|
|
GtkWidget *label2;
|
|
|
|
GtkWidget *vbox2;
|
|
|
|
GtkWidget *label5;
|
|
|
|
GtkWidget *joydevicescombo;
|
|
|
|
GtkWidget *fixed1;
|
|
|
|
GtkWidget *eL2;
|
|
|
|
GtkWidget *eL1;
|
|
|
|
GtkWidget *eSelect;
|
|
|
|
GtkWidget *eStart;
|
|
|
|
GtkWidget *eUp;
|
|
|
|
GtkWidget *eRight;
|
|
|
|
GtkWidget *eLeft;
|
|
|
|
GtkWidget *eDown;
|
|
|
|
GtkWidget *eR2;
|
|
|
|
GtkWidget *eR1;
|
|
|
|
GtkWidget *eAnalog;
|
|
|
|
GtkWidget *eSquare;
|
|
|
|
GtkWidget *eTriangle;
|
|
|
|
GtkWidget *eCircle;
|
|
|
|
GtkWidget *eCross;
|
|
|
|
GtkWidget *eR3;
|
|
|
|
GtkWidget *eL3;
|
|
|
|
GtkWidget *eRx;
|
|
|
|
GtkWidget *eLx;
|
|
|
|
GtkWidget *eRy;
|
|
|
|
GtkWidget *eLy;
|
2009-05-10 05:57:57 +00:00
|
|
|
GtkWidget *eL_Up;
|
|
|
|
GtkWidget *eL_Left;
|
|
|
|
GtkWidget *eL_Right;
|
|
|
|
GtkWidget *eL_Down;
|
|
|
|
GtkWidget *eR_Up;
|
|
|
|
GtkWidget *eR_Left;
|
|
|
|
GtkWidget *eR_Right;
|
|
|
|
GtkWidget *eR_Down;
|
|
|
|
GtkWidget *R3;
|
2009-02-06 19:52:59 +00:00
|
|
|
GtkWidget *Select;
|
2009-05-10 05:57:57 +00:00
|
|
|
GtkWidget *Start;
|
|
|
|
GtkWidget *Square;
|
|
|
|
GtkWidget *Circle;
|
|
|
|
GtkWidget *L2;
|
2009-02-06 19:52:59 +00:00
|
|
|
GtkWidget *L1;
|
|
|
|
GtkWidget *Down;
|
2009-05-10 05:57:57 +00:00
|
|
|
GtkWidget *Up;
|
|
|
|
GtkWidget *Left;
|
|
|
|
GtkWidget *Right;
|
2009-02-06 19:52:59 +00:00
|
|
|
GtkWidget *R1;
|
2009-05-10 05:57:57 +00:00
|
|
|
GtkWidget *R2;
|
2009-02-06 19:52:59 +00:00
|
|
|
GtkWidget *Triangle;
|
2009-05-10 05:57:57 +00:00
|
|
|
GtkWidget *Cross;
|
2009-02-06 19:52:59 +00:00
|
|
|
GtkWidget *L3;
|
2009-05-10 05:57:57 +00:00
|
|
|
GtkWidget *checkbutton_reversery;
|
|
|
|
GtkWidget *checkbutton_reverserx;
|
|
|
|
GtkWidget *R_Down;
|
2009-02-06 19:52:59 +00:00
|
|
|
GtkWidget *Ry;
|
2009-05-10 05:57:57 +00:00
|
|
|
GtkWidget *Rx;
|
|
|
|
GtkWidget *R_Up;
|
|
|
|
GtkWidget *R_Right;
|
|
|
|
GtkWidget *R_Left;
|
|
|
|
GtkWidget *forcefeedback;
|
2009-02-06 19:52:59 +00:00
|
|
|
GtkWidget *checkbutton_reverselx;
|
|
|
|
GtkWidget *checkbutton_reversely;
|
2009-05-10 05:57:57 +00:00
|
|
|
GtkWidget *L_Down;
|
|
|
|
GtkWidget *Ly;
|
|
|
|
GtkWidget *Lx;
|
|
|
|
GtkWidget *L_Up;
|
|
|
|
GtkWidget *L_Left;
|
|
|
|
GtkWidget *L_Right;
|
|
|
|
GtkWidget *label3;
|
|
|
|
GtkWidget *Analog;
|
|
|
|
GtkWidget *label6;
|
2009-02-06 19:52:59 +00:00
|
|
|
GtkWidget *dialog_action_area1;
|
|
|
|
GtkWidget *okbutton1;
|
2009-05-23 23:07:53 +00:00
|
|
|
GtkWidget *cancelbutton1;
|
2009-02-06 19:52:59 +00:00
|
|
|
|
|
|
|
Conf = gtk_dialog_new ();
|
2009-05-03 11:09:15 +00:00
|
|
|
gtk_widget_set_name (Conf, "Conf");
|
2009-02-06 19:52:59 +00:00
|
|
|
gtk_window_set_title (GTK_WINDOW (Conf), _("ZeroPAD Configuration Dialog"));
|
|
|
|
gtk_window_set_type_hint (GTK_WINDOW (Conf), GDK_WINDOW_TYPE_HINT_DIALOG);
|
|
|
|
|
|
|
|
dialog_vbox1 = GTK_DIALOG (Conf)->vbox;
|
2009-05-03 11:09:15 +00:00
|
|
|
gtk_widget_set_name (dialog_vbox1, "dialog_vbox1");
|
2009-02-06 19:52:59 +00:00
|
|
|
gtk_widget_show (dialog_vbox1);
|
|
|
|
|
|
|
|
vbox1 = gtk_vbox_new (FALSE, 0);
|
2009-05-03 11:09:15 +00:00
|
|
|
gtk_widget_set_name (vbox1, "vbox1");
|
2009-02-06 19:52:59 +00:00
|
|
|
gtk_widget_show (vbox1);
|
|
|
|
gtk_box_pack_start (GTK_BOX (dialog_vbox1), vbox1, TRUE, TRUE, 0);
|
|
|
|
|
|
|
|
frame1 = gtk_frame_new (NULL);
|
2009-05-03 11:09:15 +00:00
|
|
|
gtk_widget_set_name (frame1, "frame1");
|
2009-02-06 19:52:59 +00:00
|
|
|
gtk_widget_show (frame1);
|
|
|
|
gtk_box_pack_start (GTK_BOX (vbox1), frame1, FALSE, FALSE, 0);
|
|
|
|
|
|
|
|
alignment1 = gtk_alignment_new (0.5, 0.5, 1, 1);
|
2009-05-03 11:09:15 +00:00
|
|
|
gtk_widget_set_name (alignment1, "alignment1");
|
2009-02-06 19:52:59 +00:00
|
|
|
gtk_widget_show (alignment1);
|
|
|
|
gtk_container_add (GTK_CONTAINER (frame1), alignment1);
|
|
|
|
gtk_alignment_set_padding (GTK_ALIGNMENT (alignment1), 0, 0, 12, 0);
|
|
|
|
|
|
|
|
hbox1 = gtk_hbox_new (FALSE, 0);
|
2009-05-03 11:09:15 +00:00
|
|
|
gtk_widget_set_name (hbox1, "hbox1");
|
2009-02-06 19:52:59 +00:00
|
|
|
gtk_widget_show (hbox1);
|
|
|
|
gtk_container_add (GTK_CONTAINER (alignment1), hbox1);
|
|
|
|
|
|
|
|
PAD1 = gtk_radio_button_new_with_mnemonic (NULL, _("PAD1"));
|
2009-05-03 11:09:15 +00:00
|
|
|
gtk_widget_set_name (PAD1, "PAD1");
|
2009-02-06 19:52:59 +00:00
|
|
|
gtk_widget_show (PAD1);
|
|
|
|
gtk_box_pack_start (GTK_BOX (hbox1), PAD1, FALSE, FALSE, 0);
|
|
|
|
gtk_radio_button_set_group (GTK_RADIO_BUTTON (PAD1), PAD1_group);
|
|
|
|
PAD1_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (PAD1));
|
|
|
|
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (PAD1), TRUE);
|
|
|
|
|
|
|
|
PAD2 = gtk_radio_button_new_with_mnemonic (NULL, _("PAD2"));
|
2009-05-03 11:09:15 +00:00
|
|
|
gtk_widget_set_name (PAD2, "PAD2");
|
2009-02-06 19:52:59 +00:00
|
|
|
gtk_widget_show (PAD2);
|
|
|
|
gtk_box_pack_start (GTK_BOX (hbox1), PAD2, FALSE, FALSE, 0);
|
|
|
|
gtk_radio_button_set_group (GTK_RADIO_BUTTON (PAD2), PAD1_group);
|
|
|
|
PAD1_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (PAD2));
|
|
|
|
|
2009-05-03 11:09:15 +00:00
|
|
|
PAD3 = gtk_radio_button_new_with_mnemonic (NULL, _("PAD1 alt."));
|
|
|
|
gtk_widget_set_name (PAD3, "PAD3");
|
|
|
|
gtk_widget_show (PAD3);
|
|
|
|
gtk_box_pack_start (GTK_BOX (hbox1), PAD3, FALSE, FALSE, 0);
|
|
|
|
gtk_radio_button_set_group (GTK_RADIO_BUTTON (PAD3), PAD1_group);
|
|
|
|
PAD1_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (PAD3));
|
|
|
|
|
|
|
|
PAD4 = gtk_radio_button_new_with_mnemonic (NULL, _("PAD2 alt."));
|
|
|
|
gtk_widget_set_name (PAD4, "PAD4");
|
|
|
|
gtk_widget_show (PAD4);
|
|
|
|
gtk_box_pack_start (GTK_BOX (hbox1), PAD4, FALSE, FALSE, 0);
|
|
|
|
gtk_radio_button_set_group (GTK_RADIO_BUTTON (PAD4), PAD1_group);
|
|
|
|
PAD1_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (PAD4));
|
|
|
|
|
2009-02-06 19:52:59 +00:00
|
|
|
label2 = gtk_label_new (_("<b>Choose PAD to modify</b>"));
|
2009-05-03 11:09:15 +00:00
|
|
|
gtk_widget_set_name (label2, "label2");
|
2009-02-06 19:52:59 +00:00
|
|
|
gtk_widget_show (label2);
|
|
|
|
gtk_frame_set_label_widget (GTK_FRAME (frame1), label2);
|
|
|
|
gtk_label_set_use_markup (GTK_LABEL (label2), TRUE);
|
|
|
|
|
|
|
|
vbox2 = gtk_vbox_new (FALSE, 0);
|
2009-05-03 11:09:15 +00:00
|
|
|
gtk_widget_set_name (vbox2, "vbox2");
|
2009-02-06 19:52:59 +00:00
|
|
|
gtk_widget_show (vbox2);
|
2009-05-10 05:57:57 +00:00
|
|
|
gtk_box_pack_start (GTK_BOX (vbox1), vbox2, FALSE, TRUE, 0);
|
2009-02-06 19:52:59 +00:00
|
|
|
|
|
|
|
label5 = gtk_label_new (_("Joystick to use for this PAD"));
|
2009-05-03 11:09:15 +00:00
|
|
|
gtk_widget_set_name (label5, "label5");
|
2009-02-06 19:52:59 +00:00
|
|
|
gtk_widget_show (label5);
|
|
|
|
gtk_box_pack_start (GTK_BOX (vbox2), label5, FALSE, FALSE, 0);
|
|
|
|
|
|
|
|
joydevicescombo = gtk_combo_box_entry_new_text ();
|
2009-05-03 11:09:15 +00:00
|
|
|
gtk_widget_set_name (joydevicescombo, "joydevicescombo");
|
2009-02-06 19:52:59 +00:00
|
|
|
gtk_widget_show (joydevicescombo);
|
2009-05-10 05:57:57 +00:00
|
|
|
gtk_box_pack_start (GTK_BOX (vbox2), joydevicescombo, FALSE, TRUE, 0);
|
2009-02-06 19:52:59 +00:00
|
|
|
|
|
|
|
fixed1 = gtk_fixed_new ();
|
2009-05-03 11:09:15 +00:00
|
|
|
gtk_widget_set_name (fixed1, "fixed1");
|
2009-02-06 19:52:59 +00:00
|
|
|
gtk_widget_show (fixed1);
|
|
|
|
gtk_box_pack_start (GTK_BOX (vbox1), fixed1, TRUE, TRUE, 0);
|
|
|
|
|
|
|
|
eL2 = gtk_entry_new ();
|
2009-05-03 11:09:15 +00:00
|
|
|
gtk_widget_set_name (eL2, "eL2");
|
2009-02-06 19:52:59 +00:00
|
|
|
gtk_widget_show (eL2);
|
2009-05-10 05:57:57 +00:00
|
|
|
gtk_fixed_put (GTK_FIXED (fixed1), eL2, 64, 32);
|
2009-02-06 19:52:59 +00:00
|
|
|
gtk_widget_set_size_request (eL2, 64, 24);
|
|
|
|
gtk_editable_set_editable (GTK_EDITABLE (eL2), FALSE);
|
|
|
|
gtk_entry_set_invisible_char (GTK_ENTRY (eL2), 8226);
|
|
|
|
|
|
|
|
eL1 = gtk_entry_new ();
|
2009-05-03 11:09:15 +00:00
|
|
|
gtk_widget_set_name (eL1, "eL1");
|
2009-02-06 19:52:59 +00:00
|
|
|
gtk_widget_show (eL1);
|
2009-05-10 05:57:57 +00:00
|
|
|
gtk_fixed_put (GTK_FIXED (fixed1), eL1, 64, 80);
|
2009-02-06 19:52:59 +00:00
|
|
|
gtk_widget_set_size_request (eL1, 64, 24);
|
|
|
|
gtk_entry_set_invisible_char (GTK_ENTRY (eL1), 8226);
|
|
|
|
|
|
|
|
eSelect = gtk_entry_new ();
|
2009-05-03 11:09:15 +00:00
|
|
|
gtk_widget_set_name (eSelect, "eSelect");
|
2009-02-06 19:52:59 +00:00
|
|
|
gtk_widget_show (eSelect);
|
2009-05-10 05:57:57 +00:00
|
|
|
gtk_fixed_put (GTK_FIXED (fixed1), eSelect, 200, 184);
|
2009-02-06 19:52:59 +00:00
|
|
|
gtk_widget_set_size_request (eSelect, 64, 24);
|
|
|
|
gtk_editable_set_editable (GTK_EDITABLE (eSelect), FALSE);
|
|
|
|
gtk_entry_set_invisible_char (GTK_ENTRY (eSelect), 8226);
|
|
|
|
|
|
|
|
eStart = gtk_entry_new ();
|
2009-05-03 11:09:15 +00:00
|
|
|
gtk_widget_set_name (eStart, "eStart");
|
2009-02-06 19:52:59 +00:00
|
|
|
gtk_widget_show (eStart);
|
2009-05-10 05:57:57 +00:00
|
|
|
gtk_fixed_put (GTK_FIXED (fixed1), eStart, 272, 184);
|
2009-02-06 19:52:59 +00:00
|
|
|
gtk_widget_set_size_request (eStart, 64, 24);
|
|
|
|
gtk_editable_set_editable (GTK_EDITABLE (eStart), FALSE);
|
|
|
|
gtk_entry_set_invisible_char (GTK_ENTRY (eStart), 8226);
|
|
|
|
|
|
|
|
eUp = gtk_entry_new ();
|
2009-05-03 11:09:15 +00:00
|
|
|
gtk_widget_set_name (eUp, "eUp");
|
2009-02-06 19:52:59 +00:00
|
|
|
gtk_widget_show (eUp);
|
2009-05-10 05:57:57 +00:00
|
|
|
gtk_fixed_put (GTK_FIXED (fixed1), eUp, 64, 136);
|
2009-02-06 19:52:59 +00:00
|
|
|
gtk_widget_set_size_request (eUp, 64, 24);
|
|
|
|
gtk_entry_set_invisible_char (GTK_ENTRY (eUp), 8226);
|
|
|
|
|
|
|
|
eRight = gtk_entry_new ();
|
2009-05-03 11:09:15 +00:00
|
|
|
gtk_widget_set_name (eRight, "eRight");
|
2009-02-06 19:52:59 +00:00
|
|
|
gtk_widget_show (eRight);
|
2009-05-10 05:57:57 +00:00
|
|
|
gtk_fixed_put (GTK_FIXED (fixed1), eRight, 128, 184);
|
2009-02-06 19:52:59 +00:00
|
|
|
gtk_widget_set_size_request (eRight, 64, 24);
|
|
|
|
gtk_editable_set_editable (GTK_EDITABLE (eRight), FALSE);
|
|
|
|
gtk_entry_set_invisible_char (GTK_ENTRY (eRight), 8226);
|
|
|
|
|
|
|
|
eLeft = gtk_entry_new ();
|
2009-05-03 11:09:15 +00:00
|
|
|
gtk_widget_set_name (eLeft, "eLeft");
|
2009-02-06 19:52:59 +00:00
|
|
|
gtk_widget_show (eLeft);
|
2009-05-10 05:57:57 +00:00
|
|
|
gtk_fixed_put (GTK_FIXED (fixed1), eLeft, 0, 184);
|
2009-02-06 19:52:59 +00:00
|
|
|
gtk_widget_set_size_request (eLeft, 64, 24);
|
|
|
|
gtk_editable_set_editable (GTK_EDITABLE (eLeft), FALSE);
|
|
|
|
gtk_entry_set_invisible_char (GTK_ENTRY (eLeft), 8226);
|
|
|
|
|
|
|
|
eDown = gtk_entry_new ();
|
2009-05-03 11:09:15 +00:00
|
|
|
gtk_widget_set_name (eDown, "eDown");
|
2009-02-06 19:52:59 +00:00
|
|
|
gtk_widget_show (eDown);
|
2009-05-10 05:57:57 +00:00
|
|
|
gtk_fixed_put (GTK_FIXED (fixed1), eDown, 64, 232);
|
2009-02-06 19:52:59 +00:00
|
|
|
gtk_widget_set_size_request (eDown, 64, 24);
|
|
|
|
gtk_editable_set_editable (GTK_EDITABLE (eDown), FALSE);
|
|
|
|
gtk_entry_set_invisible_char (GTK_ENTRY (eDown), 8226);
|
|
|
|
|
|
|
|
eR2 = gtk_entry_new ();
|
2009-05-03 11:09:15 +00:00
|
|
|
gtk_widget_set_name (eR2, "eR2");
|
2009-02-06 19:52:59 +00:00
|
|
|
gtk_widget_show (eR2);
|
2009-05-10 05:57:57 +00:00
|
|
|
gtk_fixed_put (GTK_FIXED (fixed1), eR2, 408, 32);
|
2009-02-06 19:52:59 +00:00
|
|
|
gtk_widget_set_size_request (eR2, 64, 24);
|
|
|
|
gtk_editable_set_editable (GTK_EDITABLE (eR2), FALSE);
|
|
|
|
gtk_entry_set_invisible_char (GTK_ENTRY (eR2), 8226);
|
|
|
|
|
|
|
|
eR1 = gtk_entry_new ();
|
2009-05-03 11:09:15 +00:00
|
|
|
gtk_widget_set_name (eR1, "eR1");
|
2009-02-06 19:52:59 +00:00
|
|
|
gtk_widget_show (eR1);
|
2009-05-10 05:57:57 +00:00
|
|
|
gtk_fixed_put (GTK_FIXED (fixed1), eR1, 408, 80);
|
2009-02-06 19:52:59 +00:00
|
|
|
gtk_widget_set_size_request (eR1, 64, 24);
|
|
|
|
gtk_editable_set_editable (GTK_EDITABLE (eR1), FALSE);
|
|
|
|
gtk_entry_set_invisible_char (GTK_ENTRY (eR1), 8226);
|
|
|
|
|
|
|
|
eAnalog = gtk_entry_new ();
|
2009-05-03 11:09:15 +00:00
|
|
|
gtk_widget_set_name (eAnalog, "eAnalog");
|
2009-02-06 19:52:59 +00:00
|
|
|
gtk_widget_show (eAnalog);
|
2009-05-10 05:57:57 +00:00
|
|
|
gtk_fixed_put (GTK_FIXED (fixed1), eAnalog, 240, 232);
|
2009-02-06 19:52:59 +00:00
|
|
|
gtk_widget_set_size_request (eAnalog, 64, 24);
|
|
|
|
gtk_editable_set_editable (GTK_EDITABLE (eAnalog), FALSE);
|
|
|
|
gtk_entry_set_invisible_char (GTK_ENTRY (eAnalog), 8226);
|
|
|
|
|
|
|
|
eSquare = gtk_entry_new ();
|
2009-05-03 11:09:15 +00:00
|
|
|
gtk_widget_set_name (eSquare, "eSquare");
|
2009-02-06 19:52:59 +00:00
|
|
|
gtk_widget_show (eSquare);
|
2009-05-10 05:57:57 +00:00
|
|
|
gtk_fixed_put (GTK_FIXED (fixed1), eSquare, 344, 184);
|
2009-02-06 19:52:59 +00:00
|
|
|
gtk_widget_set_size_request (eSquare, 64, 24);
|
|
|
|
gtk_editable_set_editable (GTK_EDITABLE (eSquare), FALSE);
|
|
|
|
gtk_entry_set_invisible_char (GTK_ENTRY (eSquare), 8226);
|
|
|
|
|
|
|
|
eTriangle = gtk_entry_new ();
|
2009-05-03 11:09:15 +00:00
|
|
|
gtk_widget_set_name (eTriangle, "eTriangle");
|
2009-02-06 19:52:59 +00:00
|
|
|
gtk_widget_show (eTriangle);
|
2009-05-10 05:57:57 +00:00
|
|
|
gtk_fixed_put (GTK_FIXED (fixed1), eTriangle, 408, 136);
|
2009-02-06 19:52:59 +00:00
|
|
|
gtk_widget_set_size_request (eTriangle, 64, 24);
|
|
|
|
gtk_editable_set_editable (GTK_EDITABLE (eTriangle), FALSE);
|
|
|
|
gtk_entry_set_invisible_char (GTK_ENTRY (eTriangle), 8226);
|
|
|
|
|
|
|
|
eCircle = gtk_entry_new ();
|
2009-05-03 11:09:15 +00:00
|
|
|
gtk_widget_set_name (eCircle, "eCircle");
|
2009-02-06 19:52:59 +00:00
|
|
|
gtk_widget_show (eCircle);
|
2009-05-10 05:57:57 +00:00
|
|
|
gtk_fixed_put (GTK_FIXED (fixed1), eCircle, 472, 184);
|
2009-02-06 19:52:59 +00:00
|
|
|
gtk_widget_set_size_request (eCircle, 64, 24);
|
|
|
|
gtk_editable_set_editable (GTK_EDITABLE (eCircle), FALSE);
|
|
|
|
gtk_entry_set_invisible_char (GTK_ENTRY (eCircle), 8226);
|
|
|
|
|
|
|
|
eCross = gtk_entry_new ();
|
2009-05-03 11:09:15 +00:00
|
|
|
gtk_widget_set_name (eCross, "eCross");
|
2009-02-06 19:52:59 +00:00
|
|
|
gtk_widget_show (eCross);
|
2009-05-10 05:57:57 +00:00
|
|
|
gtk_fixed_put (GTK_FIXED (fixed1), eCross, 408, 232);
|
2009-02-06 19:52:59 +00:00
|
|
|
gtk_widget_set_size_request (eCross, 64, 24);
|
|
|
|
gtk_editable_set_editable (GTK_EDITABLE (eCross), FALSE);
|
|
|
|
gtk_entry_set_invisible_char (GTK_ENTRY (eCross), 8226);
|
|
|
|
|
|
|
|
eR3 = gtk_entry_new ();
|
2009-05-03 11:09:15 +00:00
|
|
|
gtk_widget_set_name (eR3, "eR3");
|
2009-02-06 19:52:59 +00:00
|
|
|
gtk_widget_show (eR3);
|
2009-05-10 05:57:57 +00:00
|
|
|
gtk_fixed_put (GTK_FIXED (fixed1), eR3, 272, 56);
|
2009-02-06 19:52:59 +00:00
|
|
|
gtk_widget_set_size_request (eR3, 64, 24);
|
|
|
|
gtk_editable_set_editable (GTK_EDITABLE (eR3), FALSE);
|
|
|
|
gtk_entry_set_invisible_char (GTK_ENTRY (eR3), 8226);
|
|
|
|
|
|
|
|
eL3 = gtk_entry_new ();
|
2009-05-03 11:09:15 +00:00
|
|
|
gtk_widget_set_name (eL3, "eL3");
|
2009-02-06 19:52:59 +00:00
|
|
|
gtk_widget_show (eL3);
|
2009-05-10 05:57:57 +00:00
|
|
|
gtk_fixed_put (GTK_FIXED (fixed1), eL3, 200, 56);
|
2009-02-06 19:52:59 +00:00
|
|
|
gtk_widget_set_size_request (eL3, 64, 24);
|
|
|
|
gtk_editable_set_editable (GTK_EDITABLE (eL3), FALSE);
|
|
|
|
gtk_entry_set_invisible_char (GTK_ENTRY (eL3), 8226);
|
|
|
|
|
|
|
|
eRx = gtk_entry_new ();
|
2009-05-03 11:09:15 +00:00
|
|
|
gtk_widget_set_name (eRx, "eRx");
|
2009-02-06 19:52:59 +00:00
|
|
|
gtk_widget_show (eRx);
|
2009-05-10 05:57:57 +00:00
|
|
|
gtk_fixed_put (GTK_FIXED (fixed1), eRx, 408, 384);
|
|
|
|
gtk_widget_set_size_request (eRx, 64, 24);
|
2009-02-06 19:52:59 +00:00
|
|
|
gtk_editable_set_editable (GTK_EDITABLE (eRx), FALSE);
|
|
|
|
gtk_entry_set_invisible_char (GTK_ENTRY (eRx), 8226);
|
|
|
|
|
|
|
|
eLx = gtk_entry_new ();
|
2009-05-03 11:09:15 +00:00
|
|
|
gtk_widget_set_name (eLx, "eLx");
|
2009-02-06 19:52:59 +00:00
|
|
|
gtk_widget_show (eLx);
|
2009-05-10 05:57:57 +00:00
|
|
|
gtk_fixed_put (GTK_FIXED (fixed1), eLx, 64, 384);
|
|
|
|
gtk_widget_set_size_request (eLx, 64, 24);
|
2009-02-06 19:52:59 +00:00
|
|
|
gtk_editable_set_editable (GTK_EDITABLE (eLx), FALSE);
|
|
|
|
gtk_entry_set_invisible_char (GTK_ENTRY (eLx), 8226);
|
|
|
|
|
|
|
|
eRy = gtk_entry_new ();
|
2009-05-03 11:09:15 +00:00
|
|
|
gtk_widget_set_name (eRy, "eRy");
|
2009-02-06 19:52:59 +00:00
|
|
|
gtk_widget_show (eRy);
|
2009-05-10 05:57:57 +00:00
|
|
|
gtk_fixed_put (GTK_FIXED (fixed1), eRy, 408, 432);
|
|
|
|
gtk_widget_set_size_request (eRy, 64, 24);
|
2009-02-06 19:52:59 +00:00
|
|
|
gtk_editable_set_editable (GTK_EDITABLE (eRy), FALSE);
|
|
|
|
gtk_entry_set_invisible_char (GTK_ENTRY (eRy), 8226);
|
|
|
|
|
|
|
|
eLy = gtk_entry_new ();
|
2009-05-03 11:09:15 +00:00
|
|
|
gtk_widget_set_name (eLy, "eLy");
|
2009-02-06 19:52:59 +00:00
|
|
|
gtk_widget_show (eLy);
|
2009-05-10 05:57:57 +00:00
|
|
|
gtk_fixed_put (GTK_FIXED (fixed1), eLy, 64, 432);
|
|
|
|
gtk_widget_set_size_request (eLy, 64, 24);
|
2009-02-06 19:52:59 +00:00
|
|
|
gtk_editable_set_editable (GTK_EDITABLE (eLy), FALSE);
|
|
|
|
gtk_entry_set_invisible_char (GTK_ENTRY (eLy), 8226);
|
|
|
|
|
2009-05-10 05:57:57 +00:00
|
|
|
eL_Up = gtk_entry_new ();
|
|
|
|
gtk_widget_set_name (eL_Up, "eL_Up");
|
|
|
|
gtk_widget_show (eL_Up);
|
|
|
|
gtk_fixed_put (GTK_FIXED (fixed1), eL_Up, 64, 336);
|
|
|
|
gtk_widget_set_size_request (eL_Up, 64, 24);
|
|
|
|
|
|
|
|
eL_Left = gtk_entry_new ();
|
|
|
|
gtk_widget_set_name (eL_Left, "eL_Left");
|
|
|
|
gtk_widget_show (eL_Left);
|
|
|
|
gtk_fixed_put (GTK_FIXED (fixed1), eL_Left, 0, 408);
|
|
|
|
gtk_widget_set_size_request (eL_Left, 64, 24);
|
|
|
|
|
|
|
|
eL_Right = gtk_entry_new ();
|
|
|
|
gtk_widget_set_name (eL_Right, "eL_Right");
|
|
|
|
gtk_widget_show (eL_Right);
|
|
|
|
gtk_fixed_put (GTK_FIXED (fixed1), eL_Right, 128, 408);
|
|
|
|
gtk_widget_set_size_request (eL_Right, 64, 24);
|
|
|
|
|
|
|
|
eL_Down = gtk_entry_new ();
|
|
|
|
gtk_widget_set_name (eL_Down, "eL_Down");
|
|
|
|
gtk_widget_show (eL_Down);
|
|
|
|
gtk_fixed_put (GTK_FIXED (fixed1), eL_Down, 64, 480);
|
|
|
|
gtk_widget_set_size_request (eL_Down, 64, 24);
|
|
|
|
|
|
|
|
eR_Up = gtk_entry_new ();
|
|
|
|
gtk_widget_set_name (eR_Up, "eR_Up");
|
|
|
|
gtk_widget_show (eR_Up);
|
|
|
|
gtk_fixed_put (GTK_FIXED (fixed1), eR_Up, 408, 336);
|
|
|
|
gtk_widget_set_size_request (eR_Up, 64, 24);
|
|
|
|
|
|
|
|
eR_Left = gtk_entry_new ();
|
|
|
|
gtk_widget_set_name (eR_Left, "eR_Left");
|
|
|
|
gtk_widget_show (eR_Left);
|
|
|
|
gtk_fixed_put (GTK_FIXED (fixed1), eR_Left, 344, 408);
|
|
|
|
gtk_widget_set_size_request (eR_Left, 64, 24);
|
|
|
|
|
|
|
|
eR_Right = gtk_entry_new ();
|
|
|
|
gtk_widget_set_name (eR_Right, "eR_Right");
|
|
|
|
gtk_widget_show (eR_Right);
|
|
|
|
gtk_fixed_put (GTK_FIXED (fixed1), eR_Right, 472, 408);
|
|
|
|
gtk_widget_set_size_request (eR_Right, 64, 24);
|
|
|
|
|
|
|
|
eR_Down = gtk_entry_new ();
|
|
|
|
gtk_widget_set_name (eR_Down, "eR_Down");
|
|
|
|
gtk_widget_show (eR_Down);
|
|
|
|
gtk_fixed_put (GTK_FIXED (fixed1), eR_Down, 408, 480);
|
|
|
|
gtk_widget_set_size_request (eR_Down, 64, 24);
|
|
|
|
|
|
|
|
R3 = gtk_button_new_with_mnemonic (_("R3"));
|
|
|
|
gtk_widget_set_name (R3, "R3");
|
|
|
|
gtk_widget_show (R3);
|
|
|
|
gtk_fixed_put (GTK_FIXED (fixed1), R3, 272, 32);
|
|
|
|
gtk_widget_set_size_request (R3, 64, 24);
|
|
|
|
|
2009-02-06 19:52:59 +00:00
|
|
|
Select = gtk_button_new_with_mnemonic (_("Select"));
|
2009-05-03 11:09:15 +00:00
|
|
|
gtk_widget_set_name (Select, "Select");
|
2009-02-06 19:52:59 +00:00
|
|
|
gtk_widget_show (Select);
|
2009-05-10 05:57:57 +00:00
|
|
|
gtk_fixed_put (GTK_FIXED (fixed1), Select, 200, 160);
|
|
|
|
gtk_widget_set_size_request (Select, 64, 24);
|
|
|
|
|
|
|
|
Start = gtk_button_new_with_mnemonic (_("Start"));
|
|
|
|
gtk_widget_set_name (Start, "Start");
|
|
|
|
gtk_widget_show (Start);
|
|
|
|
gtk_fixed_put (GTK_FIXED (fixed1), Start, 272, 160);
|
|
|
|
gtk_widget_set_size_request (Start, 64, 24);
|
|
|
|
|
|
|
|
Square = gtk_button_new_with_mnemonic (_("Square"));
|
|
|
|
gtk_widget_set_name (Square, "Square");
|
|
|
|
gtk_widget_show (Square);
|
|
|
|
gtk_fixed_put (GTK_FIXED (fixed1), Square, 344, 160);
|
|
|
|
gtk_widget_set_size_request (Square, 64, 24);
|
|
|
|
|
|
|
|
Circle = gtk_button_new_with_mnemonic (_("Circle"));
|
|
|
|
gtk_widget_set_name (Circle, "Circle");
|
|
|
|
gtk_widget_show (Circle);
|
|
|
|
gtk_fixed_put (GTK_FIXED (fixed1), Circle, 472, 160);
|
|
|
|
gtk_widget_set_size_request (Circle, 64, 24);
|
|
|
|
|
|
|
|
L2 = gtk_button_new_with_mnemonic (_("L2"));
|
|
|
|
gtk_widget_set_name (L2, "L2");
|
|
|
|
gtk_widget_show (L2);
|
|
|
|
gtk_fixed_put (GTK_FIXED (fixed1), L2, 64, 8);
|
|
|
|
gtk_widget_set_size_request (L2, 64, 24);
|
2009-02-06 19:52:59 +00:00
|
|
|
|
|
|
|
L1 = gtk_button_new_with_mnemonic (_("L1"));
|
2009-05-03 11:09:15 +00:00
|
|
|
gtk_widget_set_name (L1, "L1");
|
2009-02-06 19:52:59 +00:00
|
|
|
gtk_widget_show (L1);
|
2009-05-10 05:57:57 +00:00
|
|
|
gtk_fixed_put (GTK_FIXED (fixed1), L1, 64, 56);
|
|
|
|
gtk_widget_set_size_request (L1, 64, 24);
|
2009-02-06 19:52:59 +00:00
|
|
|
|
|
|
|
Down = gtk_button_new_with_mnemonic (_("Down"));
|
2009-05-03 11:09:15 +00:00
|
|
|
gtk_widget_set_name (Down, "Down");
|
2009-02-06 19:52:59 +00:00
|
|
|
gtk_widget_show (Down);
|
2009-05-10 05:57:57 +00:00
|
|
|
gtk_fixed_put (GTK_FIXED (fixed1), Down, 64, 208);
|
|
|
|
gtk_widget_set_size_request (Down, 64, 24);
|
2009-02-06 19:52:59 +00:00
|
|
|
|
2009-05-10 05:57:57 +00:00
|
|
|
Up = gtk_button_new_with_mnemonic (_("Up"));
|
|
|
|
gtk_widget_set_name (Up, "Up");
|
|
|
|
gtk_widget_show (Up);
|
|
|
|
gtk_fixed_put (GTK_FIXED (fixed1), Up, 64, 112);
|
|
|
|
gtk_widget_set_size_request (Up, 64, 24);
|
2009-02-06 19:52:59 +00:00
|
|
|
|
2009-05-10 05:57:57 +00:00
|
|
|
Left = gtk_button_new_with_mnemonic (_("Left"));
|
|
|
|
gtk_widget_set_name (Left, "Left");
|
|
|
|
gtk_widget_show (Left);
|
|
|
|
gtk_fixed_put (GTK_FIXED (fixed1), Left, 0, 160);
|
|
|
|
gtk_widget_set_size_request (Left, 64, 24);
|
2009-02-06 19:52:59 +00:00
|
|
|
|
2009-05-10 05:57:57 +00:00
|
|
|
Right = gtk_button_new_with_mnemonic (_("Right"));
|
|
|
|
gtk_widget_set_name (Right, "Right");
|
|
|
|
gtk_widget_show (Right);
|
|
|
|
gtk_fixed_put (GTK_FIXED (fixed1), Right, 128, 160);
|
|
|
|
gtk_widget_set_size_request (Right, 64, 24);
|
2009-02-06 19:52:59 +00:00
|
|
|
|
|
|
|
R1 = gtk_button_new_with_mnemonic (_("R1"));
|
2009-05-03 11:09:15 +00:00
|
|
|
gtk_widget_set_name (R1, "R1");
|
2009-02-06 19:52:59 +00:00
|
|
|
gtk_widget_show (R1);
|
2009-05-10 05:57:57 +00:00
|
|
|
gtk_fixed_put (GTK_FIXED (fixed1), R1, 408, 56);
|
|
|
|
gtk_widget_set_size_request (R1, 64, 24);
|
2009-02-06 19:52:59 +00:00
|
|
|
|
2009-05-10 05:57:57 +00:00
|
|
|
R2 = gtk_button_new_with_mnemonic (_("R2"));
|
|
|
|
gtk_widget_set_name (R2, "R2");
|
|
|
|
gtk_widget_show (R2);
|
|
|
|
gtk_fixed_put (GTK_FIXED (fixed1), R2, 408, 8);
|
|
|
|
gtk_widget_set_size_request (R2, 64, 24);
|
2009-02-06 19:52:59 +00:00
|
|
|
|
|
|
|
Triangle = gtk_button_new_with_mnemonic (_("Triangle"));
|
2009-05-03 11:09:15 +00:00
|
|
|
gtk_widget_set_name (Triangle, "Triangle");
|
2009-02-06 19:52:59 +00:00
|
|
|
gtk_widget_show (Triangle);
|
2009-05-10 05:57:57 +00:00
|
|
|
gtk_fixed_put (GTK_FIXED (fixed1), Triangle, 408, 112);
|
|
|
|
gtk_widget_set_size_request (Triangle, 64, 24);
|
2009-02-06 19:52:59 +00:00
|
|
|
|
2009-05-10 05:57:57 +00:00
|
|
|
Cross = gtk_button_new_with_mnemonic (_("Cross"));
|
|
|
|
gtk_widget_set_name (Cross, "Cross");
|
|
|
|
gtk_widget_show (Cross);
|
|
|
|
gtk_fixed_put (GTK_FIXED (fixed1), Cross, 408, 208);
|
|
|
|
gtk_widget_set_size_request (Cross, 64, 24);
|
2009-02-06 19:52:59 +00:00
|
|
|
|
|
|
|
L3 = gtk_button_new_with_mnemonic (_("L3"));
|
2009-05-03 11:09:15 +00:00
|
|
|
gtk_widget_set_name (L3, "L3");
|
2009-02-06 19:52:59 +00:00
|
|
|
gtk_widget_show (L3);
|
2009-05-10 05:57:57 +00:00
|
|
|
gtk_fixed_put (GTK_FIXED (fixed1), L3, 200, 32);
|
|
|
|
gtk_widget_set_size_request (L3, 64, 24);
|
2009-02-06 19:52:59 +00:00
|
|
|
|
2009-05-10 05:57:57 +00:00
|
|
|
checkbutton_reversery = gtk_check_button_new_with_mnemonic (_("Reverse RY"));
|
|
|
|
gtk_widget_set_name (checkbutton_reversery, "checkbutton_reversery");
|
|
|
|
gtk_widget_show (checkbutton_reversery);
|
|
|
|
gtk_fixed_put (GTK_FIXED (fixed1), checkbutton_reversery, 384, 536);
|
|
|
|
gtk_widget_set_size_request (checkbutton_reversery, 111, 22);
|
2009-02-06 19:52:59 +00:00
|
|
|
|
2009-05-10 05:57:57 +00:00
|
|
|
checkbutton_reverserx = gtk_check_button_new_with_mnemonic (_("Reverse RX"));
|
|
|
|
gtk_widget_set_name (checkbutton_reverserx, "checkbutton_reverserx");
|
|
|
|
gtk_widget_show (checkbutton_reverserx);
|
|
|
|
gtk_fixed_put (GTK_FIXED (fixed1), checkbutton_reverserx, 384, 512);
|
|
|
|
gtk_widget_set_size_request (checkbutton_reverserx, 111, 22);
|
2009-02-06 19:52:59 +00:00
|
|
|
|
2009-05-10 05:57:57 +00:00
|
|
|
R_Down = gtk_button_new_with_mnemonic (_("Down"));
|
|
|
|
gtk_widget_set_name (R_Down, "R_Down");
|
|
|
|
gtk_widget_show (R_Down);
|
|
|
|
gtk_fixed_put (GTK_FIXED (fixed1), R_Down, 408, 456);
|
|
|
|
gtk_widget_set_size_request (R_Down, 64, 24);
|
2009-02-06 19:52:59 +00:00
|
|
|
|
|
|
|
Ry = gtk_button_new_with_mnemonic (_("Ry"));
|
2009-05-03 11:09:15 +00:00
|
|
|
gtk_widget_set_name (Ry, "Ry");
|
2009-02-06 19:52:59 +00:00
|
|
|
gtk_widget_show (Ry);
|
2009-05-10 05:57:57 +00:00
|
|
|
gtk_fixed_put (GTK_FIXED (fixed1), Ry, 408, 408);
|
|
|
|
gtk_widget_set_size_request (Ry, 64, 24);
|
2009-02-06 19:52:59 +00:00
|
|
|
|
2009-05-10 05:57:57 +00:00
|
|
|
Rx = gtk_button_new_with_mnemonic (_("Rx"));
|
|
|
|
gtk_widget_set_name (Rx, "Rx");
|
|
|
|
gtk_widget_show (Rx);
|
|
|
|
gtk_fixed_put (GTK_FIXED (fixed1), Rx, 408, 360);
|
|
|
|
gtk_widget_set_size_request (Rx, 64, 24);
|
|
|
|
|
|
|
|
R_Up = gtk_button_new_with_mnemonic (_("Up"));
|
|
|
|
gtk_widget_set_name (R_Up, "R_Up");
|
|
|
|
gtk_widget_show (R_Up);
|
|
|
|
gtk_fixed_put (GTK_FIXED (fixed1), R_Up, 408, 312);
|
|
|
|
gtk_widget_set_size_request (R_Up, 64, 24);
|
|
|
|
|
|
|
|
R_Right = gtk_button_new_with_mnemonic (_("Right"));
|
|
|
|
gtk_widget_set_name (R_Right, "R_Right");
|
|
|
|
gtk_widget_show (R_Right);
|
|
|
|
gtk_fixed_put (GTK_FIXED (fixed1), R_Right, 472, 384);
|
|
|
|
gtk_widget_set_size_request (R_Right, 64, 24);
|
|
|
|
|
|
|
|
R_Left = gtk_button_new_with_mnemonic (_("Left"));
|
|
|
|
gtk_widget_set_name (R_Left, "R_Left");
|
|
|
|
gtk_widget_show (R_Left);
|
|
|
|
gtk_fixed_put (GTK_FIXED (fixed1), R_Left, 344, 384);
|
|
|
|
gtk_widget_set_size_request (R_Left, 64, 24);
|
2009-02-06 19:52:59 +00:00
|
|
|
|
2009-05-10 05:57:57 +00:00
|
|
|
forcefeedback = gtk_check_button_new_with_mnemonic (_("Enable Force\nFeedback"));
|
|
|
|
gtk_widget_set_name (forcefeedback, "forcefeedback");
|
|
|
|
gtk_widget_show (forcefeedback);
|
|
|
|
gtk_fixed_put (GTK_FIXED (fixed1), forcefeedback, 216, 512);
|
|
|
|
gtk_widget_set_size_request (forcefeedback, 112, 48);
|
2009-02-06 19:52:59 +00:00
|
|
|
|
|
|
|
checkbutton_reverselx = gtk_check_button_new_with_mnemonic (_("Reverse LX"));
|
2009-05-03 11:09:15 +00:00
|
|
|
gtk_widget_set_name (checkbutton_reverselx, "checkbutton_reverselx");
|
2009-02-06 19:52:59 +00:00
|
|
|
gtk_widget_show (checkbutton_reverselx);
|
2009-05-10 05:57:57 +00:00
|
|
|
gtk_fixed_put (GTK_FIXED (fixed1), checkbutton_reverselx, 48, 512);
|
2009-02-06 19:52:59 +00:00
|
|
|
gtk_widget_set_size_request (checkbutton_reverselx, 111, 22);
|
|
|
|
|
|
|
|
checkbutton_reversely = gtk_check_button_new_with_mnemonic (_("Reverse LY"));
|
2009-05-03 11:09:15 +00:00
|
|
|
gtk_widget_set_name (checkbutton_reversely, "checkbutton_reversely");
|
2009-02-06 19:52:59 +00:00
|
|
|
gtk_widget_show (checkbutton_reversely);
|
2009-05-10 05:57:57 +00:00
|
|
|
gtk_fixed_put (GTK_FIXED (fixed1), checkbutton_reversely, 48, 536);
|
2009-02-06 19:52:59 +00:00
|
|
|
gtk_widget_set_size_request (checkbutton_reversely, 111, 22);
|
|
|
|
|
2009-05-10 05:57:57 +00:00
|
|
|
L_Down = gtk_button_new_with_mnemonic (_("Down"));
|
|
|
|
gtk_widget_set_name (L_Down, "L_Down");
|
|
|
|
gtk_widget_show (L_Down);
|
|
|
|
gtk_fixed_put (GTK_FIXED (fixed1), L_Down, 64, 456);
|
|
|
|
gtk_widget_set_size_request (L_Down, 64, 24);
|
2009-02-06 19:52:59 +00:00
|
|
|
|
2009-05-10 05:57:57 +00:00
|
|
|
Ly = gtk_button_new_with_mnemonic (_("Ly"));
|
|
|
|
gtk_widget_set_name (Ly, "Ly");
|
|
|
|
gtk_widget_show (Ly);
|
|
|
|
gtk_fixed_put (GTK_FIXED (fixed1), Ly, 64, 408);
|
|
|
|
gtk_widget_set_size_request (Ly, 64, 24);
|
2009-02-06 19:52:59 +00:00
|
|
|
|
2009-05-10 05:57:57 +00:00
|
|
|
Lx = gtk_button_new_with_mnemonic (_("Lx"));
|
|
|
|
gtk_widget_set_name (Lx, "Lx");
|
|
|
|
gtk_widget_show (Lx);
|
|
|
|
gtk_fixed_put (GTK_FIXED (fixed1), Lx, 64, 360);
|
|
|
|
gtk_widget_set_size_request (Lx, 64, 24);
|
|
|
|
|
|
|
|
L_Up = gtk_button_new_with_mnemonic (_("Up"));
|
|
|
|
gtk_widget_set_name (L_Up, "L_Up");
|
|
|
|
gtk_widget_show (L_Up);
|
|
|
|
gtk_fixed_put (GTK_FIXED (fixed1), L_Up, 64, 312);
|
|
|
|
gtk_widget_set_size_request (L_Up, 64, 24);
|
|
|
|
|
|
|
|
L_Left = gtk_button_new_with_mnemonic (_("Left"));
|
|
|
|
gtk_widget_set_name (L_Left, "L_Left");
|
|
|
|
gtk_widget_show (L_Left);
|
|
|
|
gtk_fixed_put (GTK_FIXED (fixed1), L_Left, 0, 384);
|
|
|
|
gtk_widget_set_size_request (L_Left, 64, 24);
|
|
|
|
|
|
|
|
L_Right = gtk_button_new_with_mnemonic (_("Right"));
|
|
|
|
gtk_widget_set_name (L_Right, "L_Right");
|
|
|
|
gtk_widget_show (L_Right);
|
|
|
|
gtk_fixed_put (GTK_FIXED (fixed1), L_Right, 128, 384);
|
|
|
|
gtk_widget_set_size_request (L_Right, 64, 24);
|
|
|
|
|
|
|
|
label3 = gtk_label_new (_("Analog Controls (move mouse or analog joystick to select)"));
|
|
|
|
gtk_widget_set_name (label3, "label3");
|
|
|
|
gtk_widget_show (label3);
|
|
|
|
gtk_fixed_put (GTK_FIXED (fixed1), label3, 72, 256);
|
|
|
|
gtk_widget_set_size_request (label3, 400, 24);
|
|
|
|
gtk_label_set_line_wrap (GTK_LABEL (label3), TRUE);
|
|
|
|
gtk_label_set_single_line_mode (GTK_LABEL (label3), TRUE);
|
|
|
|
|
|
|
|
Analog = gtk_button_new_with_mnemonic (_("Analog"));
|
|
|
|
gtk_widget_set_name (Analog, "Analog");
|
|
|
|
gtk_widget_show (Analog);
|
|
|
|
gtk_fixed_put (GTK_FIXED (fixed1), Analog, 240, 208);
|
|
|
|
gtk_widget_set_size_request (Analog, 64, 24);
|
|
|
|
|
|
|
|
label6 = gtk_label_new (_("(Note: The analog key controls and joystick controls do not work well together currently, and should not be mixed. )"));
|
|
|
|
gtk_widget_set_name (label6, "label6");
|
|
|
|
gtk_widget_show (label6);
|
|
|
|
gtk_fixed_put (GTK_FIXED (fixed1), label6, 56, 280);
|
|
|
|
gtk_widget_set_size_request (label6, 448, 32);
|
|
|
|
gtk_label_set_justify (GTK_LABEL (label6), GTK_JUSTIFY_CENTER);
|
|
|
|
gtk_label_set_line_wrap (GTK_LABEL (label6), TRUE);
|
2009-02-06 19:52:59 +00:00
|
|
|
|
|
|
|
dialog_action_area1 = GTK_DIALOG (Conf)->action_area;
|
2009-05-03 11:09:15 +00:00
|
|
|
gtk_widget_set_name (dialog_action_area1, "dialog_action_area1");
|
2009-02-06 19:52:59 +00:00
|
|
|
gtk_widget_show (dialog_action_area1);
|
|
|
|
gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area1), GTK_BUTTONBOX_END);
|
|
|
|
|
|
|
|
okbutton1 = gtk_button_new_from_stock ("gtk-ok");
|
2009-05-03 11:09:15 +00:00
|
|
|
gtk_widget_set_name (okbutton1, "okbutton1");
|
2009-02-06 19:52:59 +00:00
|
|
|
gtk_widget_show (okbutton1);
|
|
|
|
gtk_dialog_add_action_widget (GTK_DIALOG (Conf), okbutton1, GTK_RESPONSE_OK);
|
|
|
|
GTK_WIDGET_SET_FLAGS (okbutton1, GTK_CAN_DEFAULT);
|
|
|
|
|
2009-05-23 23:07:53 +00:00
|
|
|
cancelbutton1 = gtk_button_new_from_stock ("gtk-cancel");
|
|
|
|
gtk_widget_set_name (cancelbutton1, "cancelbutton1");
|
|
|
|
gtk_widget_show (cancelbutton1);
|
|
|
|
gtk_dialog_add_action_widget (GTK_DIALOG (Conf), cancelbutton1, GTK_RESPONSE_CANCEL);
|
|
|
|
GTK_WIDGET_SET_FLAGS (cancelbutton1, GTK_CAN_DEFAULT);
|
|
|
|
|
2009-02-06 19:52:59 +00:00
|
|
|
g_signal_connect ((gpointer) PAD1, "clicked",
|
|
|
|
G_CALLBACK (OnConf_Pad1),
|
|
|
|
NULL);
|
|
|
|
g_signal_connect ((gpointer) PAD2, "clicked",
|
|
|
|
G_CALLBACK (OnConf_Pad2),
|
|
|
|
NULL);
|
2009-05-03 11:09:15 +00:00
|
|
|
g_signal_connect ((gpointer) PAD3, "clicked",
|
|
|
|
G_CALLBACK (OnConf_Pad3),
|
|
|
|
NULL);
|
|
|
|
g_signal_connect ((gpointer) PAD4, "clicked",
|
|
|
|
G_CALLBACK (OnConf_Pad4),
|
|
|
|
NULL);
|
2009-02-06 19:52:59 +00:00
|
|
|
g_signal_connect ((gpointer) joydevicescombo, "changed",
|
|
|
|
G_CALLBACK (on_joydevicescombo_changed),
|
|
|
|
NULL);
|
2009-05-10 05:57:57 +00:00
|
|
|
g_signal_connect ((gpointer) R3, "clicked",
|
|
|
|
G_CALLBACK (OnConf_Key),
|
|
|
|
NULL);
|
2009-02-06 19:52:59 +00:00
|
|
|
g_signal_connect ((gpointer) Select, "clicked",
|
|
|
|
G_CALLBACK (OnConf_Key),
|
|
|
|
NULL);
|
2009-05-10 05:57:57 +00:00
|
|
|
g_signal_connect ((gpointer) Start, "clicked",
|
2009-02-06 19:52:59 +00:00
|
|
|
G_CALLBACK (OnConf_Key),
|
|
|
|
NULL);
|
2009-05-10 05:57:57 +00:00
|
|
|
g_signal_connect ((gpointer) Square, "clicked",
|
2009-02-06 19:52:59 +00:00
|
|
|
G_CALLBACK (OnConf_Key),
|
|
|
|
NULL);
|
2009-05-10 05:57:57 +00:00
|
|
|
g_signal_connect ((gpointer) Circle, "clicked",
|
2009-02-06 19:52:59 +00:00
|
|
|
G_CALLBACK (OnConf_Key),
|
|
|
|
NULL);
|
2009-05-10 05:57:57 +00:00
|
|
|
g_signal_connect ((gpointer) L2, "clicked",
|
2009-02-06 19:52:59 +00:00
|
|
|
G_CALLBACK (OnConf_Key),
|
|
|
|
NULL);
|
2009-05-10 05:57:57 +00:00
|
|
|
g_signal_connect ((gpointer) L1, "clicked",
|
2009-02-06 19:52:59 +00:00
|
|
|
G_CALLBACK (OnConf_Key),
|
|
|
|
NULL);
|
2009-05-10 05:57:57 +00:00
|
|
|
g_signal_connect ((gpointer) Down, "clicked",
|
2009-02-06 19:52:59 +00:00
|
|
|
G_CALLBACK (OnConf_Key),
|
|
|
|
NULL);
|
2009-05-10 05:57:57 +00:00
|
|
|
g_signal_connect ((gpointer) Up, "clicked",
|
2009-02-06 19:52:59 +00:00
|
|
|
G_CALLBACK (OnConf_Key),
|
|
|
|
NULL);
|
2009-05-10 05:57:57 +00:00
|
|
|
g_signal_connect ((gpointer) Left, "clicked",
|
2009-02-06 19:52:59 +00:00
|
|
|
G_CALLBACK (OnConf_Key),
|
|
|
|
NULL);
|
2009-05-10 05:57:57 +00:00
|
|
|
g_signal_connect ((gpointer) Right, "clicked",
|
2009-02-06 19:52:59 +00:00
|
|
|
G_CALLBACK (OnConf_Key),
|
|
|
|
NULL);
|
2009-05-10 05:57:57 +00:00
|
|
|
g_signal_connect ((gpointer) R1, "clicked",
|
2009-02-06 19:52:59 +00:00
|
|
|
G_CALLBACK (OnConf_Key),
|
|
|
|
NULL);
|
2009-05-10 05:57:57 +00:00
|
|
|
g_signal_connect ((gpointer) R2, "clicked",
|
2009-02-06 19:52:59 +00:00
|
|
|
G_CALLBACK (OnConf_Key),
|
|
|
|
NULL);
|
2009-05-10 05:57:57 +00:00
|
|
|
g_signal_connect ((gpointer) Triangle, "clicked",
|
2009-02-06 19:52:59 +00:00
|
|
|
G_CALLBACK (OnConf_Key),
|
|
|
|
NULL);
|
2009-05-10 05:57:57 +00:00
|
|
|
g_signal_connect ((gpointer) Cross, "clicked",
|
2009-02-06 19:52:59 +00:00
|
|
|
G_CALLBACK (OnConf_Key),
|
|
|
|
NULL);
|
2009-05-10 05:57:57 +00:00
|
|
|
g_signal_connect ((gpointer) L3, "clicked",
|
2009-02-06 19:52:59 +00:00
|
|
|
G_CALLBACK (OnConf_Key),
|
|
|
|
NULL);
|
2009-05-10 05:57:57 +00:00
|
|
|
g_signal_connect ((gpointer) checkbutton_reversery, "toggled",
|
|
|
|
G_CALLBACK (on_checkbutton_reversery_toggled),
|
|
|
|
NULL);
|
|
|
|
g_signal_connect ((gpointer) checkbutton_reverserx, "toggled",
|
|
|
|
G_CALLBACK (on_checkbutton_reverserx_toggled),
|
|
|
|
NULL);
|
|
|
|
g_signal_connect ((gpointer) R_Down, "clicked",
|
2009-02-06 19:52:59 +00:00
|
|
|
G_CALLBACK (OnConf_Key),
|
|
|
|
NULL);
|
2009-05-10 05:57:57 +00:00
|
|
|
g_signal_connect ((gpointer) Ry, "clicked",
|
2009-02-06 19:52:59 +00:00
|
|
|
G_CALLBACK (OnConf_Key),
|
|
|
|
NULL);
|
|
|
|
g_signal_connect ((gpointer) Rx, "clicked",
|
|
|
|
G_CALLBACK (OnConf_Key),
|
|
|
|
NULL);
|
2009-05-10 05:57:57 +00:00
|
|
|
g_signal_connect ((gpointer) R_Up, "clicked",
|
2009-02-06 19:52:59 +00:00
|
|
|
G_CALLBACK (OnConf_Key),
|
|
|
|
NULL);
|
2009-05-10 05:57:57 +00:00
|
|
|
g_signal_connect ((gpointer) R_Right, "clicked",
|
2009-02-06 19:52:59 +00:00
|
|
|
G_CALLBACK (OnConf_Key),
|
|
|
|
NULL);
|
2009-05-10 05:57:57 +00:00
|
|
|
g_signal_connect ((gpointer) R_Left, "clicked",
|
2009-02-06 19:52:59 +00:00
|
|
|
G_CALLBACK (OnConf_Key),
|
|
|
|
NULL);
|
2009-05-10 05:57:57 +00:00
|
|
|
g_signal_connect ((gpointer) forcefeedback, "toggled",
|
|
|
|
G_CALLBACK (on_forcefeedback_toggled),
|
|
|
|
NULL);
|
2009-02-06 19:52:59 +00:00
|
|
|
g_signal_connect ((gpointer) checkbutton_reverselx, "toggled",
|
|
|
|
G_CALLBACK (on_checkbutton_reverselx_toggled),
|
|
|
|
NULL);
|
|
|
|
g_signal_connect ((gpointer) checkbutton_reversely, "toggled",
|
|
|
|
G_CALLBACK (on_checkbutton_reversely_toggled),
|
|
|
|
NULL);
|
2009-05-10 05:57:57 +00:00
|
|
|
g_signal_connect ((gpointer) L_Down, "clicked",
|
|
|
|
G_CALLBACK (OnConf_Key),
|
2009-02-06 19:52:59 +00:00
|
|
|
NULL);
|
2009-05-10 05:57:57 +00:00
|
|
|
g_signal_connect ((gpointer) Ly, "clicked",
|
|
|
|
G_CALLBACK (OnConf_Key),
|
2009-02-06 19:52:59 +00:00
|
|
|
NULL);
|
2009-05-10 05:57:57 +00:00
|
|
|
g_signal_connect ((gpointer) Lx, "clicked",
|
|
|
|
G_CALLBACK (OnConf_Key),
|
|
|
|
NULL);
|
|
|
|
g_signal_connect ((gpointer) L_Up, "clicked",
|
|
|
|
G_CALLBACK (OnConf_Key),
|
|
|
|
NULL);
|
|
|
|
g_signal_connect ((gpointer) L_Left, "clicked",
|
|
|
|
G_CALLBACK (OnConf_Key),
|
|
|
|
NULL);
|
|
|
|
g_signal_connect ((gpointer) L_Right, "clicked",
|
|
|
|
G_CALLBACK (OnConf_Key),
|
|
|
|
NULL);
|
|
|
|
g_signal_connect ((gpointer) Analog, "clicked",
|
|
|
|
G_CALLBACK (OnConf_Key),
|
2009-02-06 19:52:59 +00:00
|
|
|
NULL);
|
|
|
|
g_signal_connect ((gpointer) okbutton1, "clicked",
|
|
|
|
G_CALLBACK (OnConf_Ok),
|
|
|
|
NULL);
|
2009-05-23 23:07:53 +00:00
|
|
|
g_signal_connect ((gpointer) cancelbutton1, "clicked",
|
|
|
|
G_CALLBACK (OnConf_Cancel),
|
|
|
|
NULL);
|
2009-02-06 19:52:59 +00:00
|
|
|
|
|
|
|
/* Store pointers to all widgets, for use by lookup_widget(). */
|
|
|
|
GLADE_HOOKUP_OBJECT_NO_REF (Conf, Conf, "Conf");
|
|
|
|
GLADE_HOOKUP_OBJECT_NO_REF (Conf, dialog_vbox1, "dialog_vbox1");
|
|
|
|
GLADE_HOOKUP_OBJECT (Conf, vbox1, "vbox1");
|
|
|
|
GLADE_HOOKUP_OBJECT (Conf, frame1, "frame1");
|
|
|
|
GLADE_HOOKUP_OBJECT (Conf, alignment1, "alignment1");
|
|
|
|
GLADE_HOOKUP_OBJECT (Conf, hbox1, "hbox1");
|
|
|
|
GLADE_HOOKUP_OBJECT (Conf, PAD1, "PAD1");
|
|
|
|
GLADE_HOOKUP_OBJECT (Conf, PAD2, "PAD2");
|
2009-05-03 11:09:15 +00:00
|
|
|
GLADE_HOOKUP_OBJECT (Conf, PAD3, "PAD3");
|
|
|
|
GLADE_HOOKUP_OBJECT (Conf, PAD4, "PAD4");
|
2009-02-06 19:52:59 +00:00
|
|
|
GLADE_HOOKUP_OBJECT (Conf, label2, "label2");
|
|
|
|
GLADE_HOOKUP_OBJECT (Conf, vbox2, "vbox2");
|
|
|
|
GLADE_HOOKUP_OBJECT (Conf, label5, "label5");
|
|
|
|
GLADE_HOOKUP_OBJECT (Conf, joydevicescombo, "joydevicescombo");
|
|
|
|
GLADE_HOOKUP_OBJECT (Conf, fixed1, "fixed1");
|
|
|
|
GLADE_HOOKUP_OBJECT (Conf, eL2, "eL2");
|
|
|
|
GLADE_HOOKUP_OBJECT (Conf, eL1, "eL1");
|
|
|
|
GLADE_HOOKUP_OBJECT (Conf, eSelect, "eSelect");
|
|
|
|
GLADE_HOOKUP_OBJECT (Conf, eStart, "eStart");
|
|
|
|
GLADE_HOOKUP_OBJECT (Conf, eUp, "eUp");
|
|
|
|
GLADE_HOOKUP_OBJECT (Conf, eRight, "eRight");
|
|
|
|
GLADE_HOOKUP_OBJECT (Conf, eLeft, "eLeft");
|
|
|
|
GLADE_HOOKUP_OBJECT (Conf, eDown, "eDown");
|
|
|
|
GLADE_HOOKUP_OBJECT (Conf, eR2, "eR2");
|
|
|
|
GLADE_HOOKUP_OBJECT (Conf, eR1, "eR1");
|
|
|
|
GLADE_HOOKUP_OBJECT (Conf, eAnalog, "eAnalog");
|
|
|
|
GLADE_HOOKUP_OBJECT (Conf, eSquare, "eSquare");
|
|
|
|
GLADE_HOOKUP_OBJECT (Conf, eTriangle, "eTriangle");
|
|
|
|
GLADE_HOOKUP_OBJECT (Conf, eCircle, "eCircle");
|
|
|
|
GLADE_HOOKUP_OBJECT (Conf, eCross, "eCross");
|
|
|
|
GLADE_HOOKUP_OBJECT (Conf, eR3, "eR3");
|
|
|
|
GLADE_HOOKUP_OBJECT (Conf, eL3, "eL3");
|
|
|
|
GLADE_HOOKUP_OBJECT (Conf, eRx, "eRx");
|
|
|
|
GLADE_HOOKUP_OBJECT (Conf, eLx, "eLx");
|
|
|
|
GLADE_HOOKUP_OBJECT (Conf, eRy, "eRy");
|
|
|
|
GLADE_HOOKUP_OBJECT (Conf, eLy, "eLy");
|
2009-05-10 05:57:57 +00:00
|
|
|
GLADE_HOOKUP_OBJECT (Conf, eL_Up, "eL_Up");
|
|
|
|
GLADE_HOOKUP_OBJECT (Conf, eL_Left, "eL_Left");
|
|
|
|
GLADE_HOOKUP_OBJECT (Conf, eL_Right, "eL_Right");
|
|
|
|
GLADE_HOOKUP_OBJECT (Conf, eL_Down, "eL_Down");
|
|
|
|
GLADE_HOOKUP_OBJECT (Conf, eR_Up, "eR_Up");
|
|
|
|
GLADE_HOOKUP_OBJECT (Conf, eR_Left, "eR_Left");
|
|
|
|
GLADE_HOOKUP_OBJECT (Conf, eR_Right, "eR_Right");
|
|
|
|
GLADE_HOOKUP_OBJECT (Conf, eR_Down, "eR_Down");
|
|
|
|
GLADE_HOOKUP_OBJECT (Conf, R3, "R3");
|
2009-02-06 19:52:59 +00:00
|
|
|
GLADE_HOOKUP_OBJECT (Conf, Select, "Select");
|
2009-05-10 05:57:57 +00:00
|
|
|
GLADE_HOOKUP_OBJECT (Conf, Start, "Start");
|
|
|
|
GLADE_HOOKUP_OBJECT (Conf, Square, "Square");
|
|
|
|
GLADE_HOOKUP_OBJECT (Conf, Circle, "Circle");
|
|
|
|
GLADE_HOOKUP_OBJECT (Conf, L2, "L2");
|
2009-02-06 19:52:59 +00:00
|
|
|
GLADE_HOOKUP_OBJECT (Conf, L1, "L1");
|
|
|
|
GLADE_HOOKUP_OBJECT (Conf, Down, "Down");
|
2009-05-10 05:57:57 +00:00
|
|
|
GLADE_HOOKUP_OBJECT (Conf, Up, "Up");
|
|
|
|
GLADE_HOOKUP_OBJECT (Conf, Left, "Left");
|
|
|
|
GLADE_HOOKUP_OBJECT (Conf, Right, "Right");
|
2009-02-06 19:52:59 +00:00
|
|
|
GLADE_HOOKUP_OBJECT (Conf, R1, "R1");
|
2009-05-10 05:57:57 +00:00
|
|
|
GLADE_HOOKUP_OBJECT (Conf, R2, "R2");
|
2009-02-06 19:52:59 +00:00
|
|
|
GLADE_HOOKUP_OBJECT (Conf, Triangle, "Triangle");
|
2009-05-10 05:57:57 +00:00
|
|
|
GLADE_HOOKUP_OBJECT (Conf, Cross, "Cross");
|
2009-02-06 19:52:59 +00:00
|
|
|
GLADE_HOOKUP_OBJECT (Conf, L3, "L3");
|
2009-05-10 05:57:57 +00:00
|
|
|
GLADE_HOOKUP_OBJECT (Conf, checkbutton_reversery, "checkbutton_reversery");
|
|
|
|
GLADE_HOOKUP_OBJECT (Conf, checkbutton_reverserx, "checkbutton_reverserx");
|
|
|
|
GLADE_HOOKUP_OBJECT (Conf, R_Down, "R_Down");
|
2009-02-06 19:52:59 +00:00
|
|
|
GLADE_HOOKUP_OBJECT (Conf, Ry, "Ry");
|
2009-05-10 05:57:57 +00:00
|
|
|
GLADE_HOOKUP_OBJECT (Conf, Rx, "Rx");
|
|
|
|
GLADE_HOOKUP_OBJECT (Conf, R_Up, "R_Up");
|
|
|
|
GLADE_HOOKUP_OBJECT (Conf, R_Right, "R_Right");
|
|
|
|
GLADE_HOOKUP_OBJECT (Conf, R_Left, "R_Left");
|
|
|
|
GLADE_HOOKUP_OBJECT (Conf, forcefeedback, "forcefeedback");
|
2009-02-06 19:52:59 +00:00
|
|
|
GLADE_HOOKUP_OBJECT (Conf, checkbutton_reverselx, "checkbutton_reverselx");
|
|
|
|
GLADE_HOOKUP_OBJECT (Conf, checkbutton_reversely, "checkbutton_reversely");
|
2009-05-10 05:57:57 +00:00
|
|
|
GLADE_HOOKUP_OBJECT (Conf, L_Down, "L_Down");
|
|
|
|
GLADE_HOOKUP_OBJECT (Conf, Ly, "Ly");
|
|
|
|
GLADE_HOOKUP_OBJECT (Conf, Lx, "Lx");
|
|
|
|
GLADE_HOOKUP_OBJECT (Conf, L_Up, "L_Up");
|
|
|
|
GLADE_HOOKUP_OBJECT (Conf, L_Left, "L_Left");
|
|
|
|
GLADE_HOOKUP_OBJECT (Conf, L_Right, "L_Right");
|
|
|
|
GLADE_HOOKUP_OBJECT (Conf, label3, "label3");
|
|
|
|
GLADE_HOOKUP_OBJECT (Conf, Analog, "Analog");
|
|
|
|
GLADE_HOOKUP_OBJECT (Conf, label6, "label6");
|
2009-02-06 19:52:59 +00:00
|
|
|
GLADE_HOOKUP_OBJECT_NO_REF (Conf, dialog_action_area1, "dialog_action_area1");
|
|
|
|
GLADE_HOOKUP_OBJECT (Conf, okbutton1, "okbutton1");
|
2009-05-23 23:07:53 +00:00
|
|
|
GLADE_HOOKUP_OBJECT (Conf, cancelbutton1, "cancelbutton1");
|
2009-02-06 19:52:59 +00:00
|
|
|
|
|
|
|
return Conf;
|
|
|
|
}
|
|
|
|
|