Makefile.in overwritten by autogen.sh (sorry if it breaks anything)

src/Makefile.am -> made fs-$(arch).c file in the source
gtk-glade : began palette viewer
This commit is contained in:
damdoum 2007-01-14 11:53:04 +00:00
parent 64e9bc4ddc
commit ac5aa547c7
10 changed files with 343 additions and 58 deletions

View File

@ -5,6 +5,7 @@ libdesmume_a_SOURCES = \
arm_instructions.c arm_instructions.h \ arm_instructions.c arm_instructions.h \
bios.c bios.h cp15.c cp15.h \ bios.c bios.h cp15.c cp15.h \
cflash.c cflash.h fs.h \ cflash.c cflash.h fs.h \
fs-$(desmume_arch).c \
debug.c debug.h \ debug.c debug.h \
Disassembler.c Disassembler.h \ Disassembler.c Disassembler.h \
FIFO.c FIFO.h \ FIFO.c FIFO.h \
@ -16,4 +17,3 @@ libdesmume_a_SOURCES = \
saves.c saves.h \ saves.c saves.h \
SPU.c SPU.h \ SPU.c SPU.h \
thumb_instructions.c thumb_instructions.h thumb_instructions.c thumb_instructions.h
libdesmume_a_LIBADD = fs-$(desmume_arch).$(OBJEXT)

View File

@ -2,7 +2,8 @@ bin_PROGRAMS = desmume-glade
desmume_glade_SOURCES = \ desmume_glade_SOURCES = \
callbacks.c callbacks.h callbacks_IO.c callbacks_IO.h desmume.c desmume.h \ callbacks.c callbacks.h callbacks_IO.c callbacks_IO.h desmume.c desmume.h \
globals.h keyval_names.c main.c printscreen.c \ globals.h keyval_names.c main.c printscreen.c \
dTools/callbacks_1_ioregs.c dTools/callbacks_2_memview.c dTools/callbacks_dtools.h \ dTools/callbacks_1_ioregs.c dTools/callbacks_2_memview.c \
dTools/callbacks_3_palview.c dTools/callbacks_dtools.h \
../sndsdl.h ../sndsdl.c ../ctrlssdl.h ../ctrlssdl.c ../sndsdl.h ../sndsdl.c ../ctrlssdl.h ../ctrlssdl.c
desmume_glade_LDADD = ../libdesmume.a $(SDL_LIBS) $(LIBGLADE_LIBS) desmume_glade_LDADD = ../libdesmume.a $(SDL_LIBS) $(LIBGLADE_LIBS)
desmume_glade_CFLAGS = $(SDL_CFLAGS) $(LIBGLADE_CFLAGS) desmume_glade_CFLAGS = $(SDL_CFLAGS) $(LIBGLADE_CFLAGS)

View File

@ -275,6 +275,11 @@ void on_menu_memview_activate (GtkMenuItem *menuitem, gpointer user_data)
gtk_widget_show(dlg); gtk_widget_show(dlg);
} }
void on_menu_palview_activate (GtkMenuItem *menuitem, gpointer user_data) {
GtkWidget * dlg = glade_xml_get_widget(xml_tools, "wtools_3_PalView");
gtk_widget_show(dlg);
}

View File

@ -58,6 +58,7 @@ void on_menu_rotatescreen_activate (GtkMenuItem *menuitem, gpointer user_data);
/* MENU TOOLS */ /* MENU TOOLS */
void on_menu_IO_regs_activate (GtkMenuItem *menuitem, gpointer user_data); void on_menu_IO_regs_activate (GtkMenuItem *menuitem, gpointer user_data);
void on_menu_memview_activate (GtkMenuItem *menuitem, gpointer user_data); void on_menu_memview_activate (GtkMenuItem *menuitem, gpointer user_data);
void on_menu_palview_activate (GtkMenuItem *menuitem, gpointer user_data);
/* MENU ? */ /* MENU ? */
void on_menu_apropos_activate (GtkMenuItem *menuitem, gpointer user_data); void on_menu_apropos_activate (GtkMenuItem *menuitem, gpointer user_data);

View File

@ -28,7 +28,7 @@ static BOOL hword;
static GtkLabel * reg_address; static GtkLabel * reg_address;
static GtkEntry * reg_value; static GtkEntry * reg_value;
void display_current_reg(); static void display_current_reg();
/* update */ /* update */
@ -39,7 +39,7 @@ void wtools_1_update () {
/* registers */ /* registers */
void display_current_reg() { static void display_current_reg() {
char text_address[16]; char text_address[16];
char text_value[16]; char text_value[16];
char * patt = "0x%08X"; char * patt = "0x%08X";
@ -52,7 +52,7 @@ void display_current_reg() {
gtk_entry_set_text(reg_value, text_value); gtk_entry_set_text(reg_value, text_value);
} }
void display_reg(u32 address_, BOOL hword_) { static void display_reg(u32 address_, BOOL hword_) {
address = address_; address = address_;
hword = hword_; hword = hword_;
display_current_reg(); display_current_reg();
@ -65,6 +65,10 @@ void on_wtools_1_combo_cpu_changed (GtkComboBox *widget, gpointer user_data)
display_current_reg(); display_current_reg();
} }
/* show, register, unregister */
void on_wtools_1_IOregs_show (GtkWidget *widget, gpointer user_data) { void on_wtools_1_IOregs_show (GtkWidget *widget, gpointer user_data) {
GtkWidget * b = glade_xml_get_widget(xml_tools, "wtools_1_r_ime"); GtkWidget * b = glade_xml_get_widget(xml_tools, "wtools_1_r_ime");
GtkWidget * combo = glade_xml_get_widget(xml_tools, "wtools_1_combo_cpu"); GtkWidget * combo = glade_xml_get_widget(xml_tools, "wtools_1_combo_cpu");
@ -78,13 +82,15 @@ void on_wtools_1_IOregs_show (GtkWidget *widget, gpointer user_data) {
register_Tool(wtools_1_update); register_Tool(wtools_1_update);
} }
gboolean on_wtools_1_IOregs_delete_event (GtkWidget *widget, GdkEvent *event, gpointer user_data) {
gboolean on_wtools_1_IOregs_close (GtkWidget *widget, ...) {
unregister_Tool(wtools_1_update); unregister_Tool(wtools_1_update);
gtk_widget_hide(widget); gtk_widget_hide(widget);
return TRUE; return TRUE;
} }
void on_wtools_1_r_ipcfifocnt_toggled (GtkToggleButton *togglebutton, gpointer user_data) { display_reg(REG_IPCFIFOCNT,TRUE); } void on_wtools_1_r_ipcfifocnt_toggled (GtkToggleButton *togglebutton, gpointer user_data) { display_reg(REG_IPCFIFOCNT,TRUE); }
void on_wtools_1_r_spicnt_toggled (GtkToggleButton *togglebutton, gpointer user_data) { display_reg(REG_SPICNT,TRUE); } void on_wtools_1_r_spicnt_toggled (GtkToggleButton *togglebutton, gpointer user_data) { display_reg(REG_SPICNT,TRUE); }
void on_wtools_1_r_ime_toggled (GtkToggleButton *togglebutton, gpointer user_data) { display_reg(REG_IME,TRUE); } void on_wtools_1_r_ime_toggled (GtkToggleButton *togglebutton, gpointer user_data) { display_reg(REG_IME,TRUE); }

View File

@ -42,8 +42,8 @@ static GtkEntry *wAddress;
static GtkDrawingArea *wPaint; static GtkDrawingArea *wPaint;
static GtkRange *wRange; static GtkRange *wRange;
void refresh(); static void refresh();
void initialise(); static void initialize();
/* update */ /* update */
@ -142,14 +142,14 @@ void on_wtools_2_r32_toggled (GtkToggleButton *togglebutton, gpointer
#define STEP_ONE_PAGE 0x100 #define STEP_ONE_PAGE 0x100
#define STEP_x10_PAGE 0x1000 #define STEP_x10_PAGE 0x1000
void scroll_address(u32 addr) { static void scroll_address(u32 addr) {
address = addr & ADDR_MASK; address = addr & ADDR_MASK;
refresh(); refresh();
} }
void change_address(u32 addr) { static void change_address(u32 addr) {
gtk_range_set_value(wRange, addr); gtk_range_set_value(wRange, addr);
} }
void add_to_address(u32 inc) { static void add_to_address(u32 inc) {
change_address(address+inc); change_address(address+inc);
} }
@ -164,12 +164,13 @@ void on_wtools_2_GotoButton_clicked (GtkButton *button, gpointer user_data) {
} }
/* show, register, unregister */
void on_wtools_2_MemView_show (GtkWidget *widget, gpointer user_data) { void on_wtools_2_MemView_show (GtkWidget *widget, gpointer user_data) {
initialize(); initialize();
register_Tool(wtools_2_update); register_Tool(wtools_2_update);
} }
gboolean on_wtools_2_MemView_delete_event (GtkWidget *widget, GdkEvent *event, gpointer user_data) { gboolean on_wtools_2_MemView_close (GtkWidget *widget, ...) {
unregister_Tool(wtools_2_update); unregister_Tool(wtools_2_update);
gtk_widget_hide(widget); gtk_widget_hide(widget);
return TRUE; return TRUE;
@ -201,7 +202,7 @@ gboolean on_wtools_2_draw_expose_event (GtkWidget *widget, GdkEventExpose *event
/* initialise what we have to */ /* initialise what we have to */
void initialize() { static void initialize() {
GtkWidget * combo; GtkWidget * combo;
GtkAdjustment *adj; GtkAdjustment *adj;
int i,j; int i,j;
@ -245,7 +246,7 @@ void initialize() {
} }
/* PAINT memory panel */ /* PAINT memory panel */
void refresh() { static void refresh() {
GtkWidget * area = (GtkWidget*)wPaint; GtkWidget * area = (GtkWidget*)wPaint;
PangoLayout* playout = gtk_widget_create_pango_layout(area, NULL); PangoLayout* playout = gtk_widget_create_pango_layout(area, NULL);
GdkGC * GC = area->style->fg_gc[area->state]; GdkGC * GC = area->style->fg_gc[area->state];

View File

@ -0,0 +1,84 @@
/* callbacks_3_palview.c - this file is part of DeSmuME
*
* Copyright (C) 2007 Damien Nozay (damdoum)
* 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 "callbacks_dtools.h"
static u16* base_addr[20];
static BOOL init=FALSE;
static void initialize() {
GtkComboBox * combo;
int i=0;
if (init) return;
combo = (GtkComboBox*)glade_xml_get_widget(xml_tools, "wtools_3_palette");
#define DO(str,addr) gtk_combo_box_append_text(combo,str); base_addr[i]=(u16*)(addr); i++;
DO("Main screen BG PAL", ARM9Mem.ARM9_VMEM)
DO("Main screen SPR PAL", ARM9Mem.ARM9_VMEM + 0x100)
DO("Sub screen BG PAL", ARM9Mem.ARM9_VMEM + 0x200)
DO("Sub screen SPR PAL", ARM9Mem.ARM9_VMEM + 0x300)
DO("Main screen ExtPAL 0", ARM9Mem.ExtPal[0][0])
DO("Main screen ExtPAL 1", ARM9Mem.ExtPal[0][1])
DO("Main screen ExtPAL 2", ARM9Mem.ExtPal[0][2])
DO("Main screen ExtPAL 3", ARM9Mem.ExtPal[0][3])
DO("Sub screen ExtPAL 0", ARM9Mem.ExtPal[1][0])
DO("Sub screen ExtPAL 1", ARM9Mem.ExtPal[1][1])
DO("Sub screen ExtPAL 2", ARM9Mem.ExtPal[1][2])
DO("Sub screen ExtPAL 3", ARM9Mem.ExtPal[1][3])
DO("Main screen SPR ExtPAL 0", ARM9Mem.ObjExtPal[0][0])
DO("Main screen SPR ExtPAL 1", ARM9Mem.ObjExtPal[0][1])
DO("Sub screen SPR ExtPAL 0", ARM9Mem.ObjExtPal[1][0])
DO("Sub screen SPR ExtPAL 1", ARM9Mem.ObjExtPal[1][1])
DO("Texture PAL 0", ARM9Mem.texPalSlot[0])
DO("Texture PAL 1", ARM9Mem.texPalSlot[1])
DO("Texture PAL 2", ARM9Mem.texPalSlot[2])
DO("Texture PAL 3", ARM9Mem.texPalSlot[3])
#undef DO
init=TRUE;
}
#if 0
for(y = 0; y < 16; ++y)
{
for(x = 0; x < 16; ++x)
{
c = adr[(y<<4)+x+0x100*num];
brush = CreateSolidBrush(RGB((c&0x1F)<<3, (c&0x3E0)>>2, (c&0x7C00)>>7)
}
}
#endif
void on_wtools_3_PalView_show (GtkWidget *widget, gpointer data) {
initialize();
}
gboolean on_wtools_3_PalView_close (GtkWidget *widget, ...) {
// unregister_Tool(wtools_1_update);
gtk_widget_hide(widget);
return TRUE;
}
gboolean on_wtools_3_draw_expose_event (GtkWidget *, GdkEventExpose *, gpointer );
void on_wtools_3_palette_changed (GtkComboBox *, gpointer );
void on_wtools_3_palnum_value_changed (GtkSpinButton *, gpointer );

View File

@ -26,39 +26,50 @@ void wtools_2_update();
/* ***** ***** IO REGISTERS ***** ***** */ /* ***** ***** IO REGISTERS ***** ***** */
void on_wtools_1_combo_cpu_changed (GtkComboBox *widget, gpointer user_data); void on_wtools_1_combo_cpu_changed (GtkComboBox *, gpointer );
void on_wtools_1_IOregs_show (GtkWidget *widget, gpointer user_data); void on_wtools_1_IOregs_show (GtkWidget *, gpointer );
gboolean on_wtools_1_IOregs_delete_event (GtkWidget *widget, GdkEvent *event, gpointer user_data); gboolean on_wtools_1_IOregs_close (GtkWidget *, ...);
void on_wtools_1_r_ipcfifocnt_toggled (GtkToggleButton *togglebutton, gpointer user_data);
void on_wtools_1_r_spicnt_toggled (GtkToggleButton *togglebutton, gpointer user_data); void on_wtools_1_r_ipcfifocnt_toggled (GtkToggleButton *, gpointer );
void on_wtools_1_r_ime_toggled (GtkToggleButton *togglebutton, gpointer user_data); void on_wtools_1_r_spicnt_toggled (GtkToggleButton *, gpointer );
void on_wtools_1_r_ie_toggled (GtkToggleButton *togglebutton, gpointer user_data); void on_wtools_1_r_ime_toggled (GtkToggleButton *, gpointer );
void on_wtools_1_r_if_toggled (GtkToggleButton *togglebutton, gpointer user_data); void on_wtools_1_r_ie_toggled (GtkToggleButton *, gpointer );
void on_wtools_1_r_power_cr_toggled (GtkToggleButton *togglebutton, gpointer user_data); void on_wtools_1_r_if_toggled (GtkToggleButton *, gpointer );
void on_wtools_1_r_dispa_win0h_toggled(GtkToggleButton *togglebutton, gpointer user_data); void on_wtools_1_r_power_cr_toggled (GtkToggleButton *, gpointer );
void on_wtools_1_r_dispa_win1h_toggled(GtkToggleButton *togglebutton, gpointer user_data); void on_wtools_1_r_dispa_win0h_toggled (GtkToggleButton *, gpointer );
void on_wtools_1_r_dispa_win0v_toggled(GtkToggleButton *togglebutton, gpointer user_data); void on_wtools_1_r_dispa_win1h_toggled (GtkToggleButton *, gpointer );
void on_wtools_1_r_dispa_win1v_toggled(GtkToggleButton *togglebutton, gpointer user_data); void on_wtools_1_r_dispa_win0v_toggled (GtkToggleButton *, gpointer );
void on_wtools_1_r_dispa_winin_toggled(GtkToggleButton *togglebutton, gpointer user_data); void on_wtools_1_r_dispa_win1v_toggled (GtkToggleButton *, gpointer );
void on_wtools_1_r_dispa_winout_toggled(GtkToggleButton *togglebutton, gpointer user_data); void on_wtools_1_r_dispa_winin_toggled (GtkToggleButton *, gpointer );
void on_wtools_1_r_dispb_win0h_toggled(GtkToggleButton *togglebutton, gpointer user_data); void on_wtools_1_r_dispa_winout_toggled(GtkToggleButton *, gpointer );
void on_wtools_1_r_dispb_win1h_toggled(GtkToggleButton *togglebutton, gpointer user_data); void on_wtools_1_r_dispb_win0h_toggled (GtkToggleButton *, gpointer );
void on_wtools_1_r_dispb_win0v_toggled(GtkToggleButton *togglebutton, gpointer user_data); void on_wtools_1_r_dispb_win1h_toggled (GtkToggleButton *, gpointer );
void on_wtools_1_r_dispb_win1v_toggled(GtkToggleButton *togglebutton, gpointer user_data); void on_wtools_1_r_dispb_win0v_toggled (GtkToggleButton *, gpointer );
void on_wtools_1_r_dispb_winin_toggled(GtkToggleButton *togglebutton, gpointer user_data); void on_wtools_1_r_dispb_win1v_toggled (GtkToggleButton *, gpointer );
void on_wtools_1_r_dispb_winout_toggled(GtkToggleButton *togglebutton, gpointer user_data); void on_wtools_1_r_dispb_winin_toggled (GtkToggleButton *, gpointer );
void on_wtools_1_r_dispb_winout_toggled(GtkToggleButton *, gpointer );
/* ***** ***** MEMORY VIEWER ***** ***** */ /* ***** ***** MEMORY VIEWER ***** ***** */
gboolean on_wtools_2_MemView_delete_event (GtkWidget *widget, GdkEvent *event, gpointer user_data); void on_wtools_2_MemView_show (GtkWidget *, gpointer );
gboolean on_wtools_2_draw_button_release_event(GtkWidget *widget, GdkEventButton *event, gpointer user_data); gboolean on_wtools_2_MemView_close (GtkWidget *, ...);
void on_wtools_2_cpu_changed (GtkComboBox *widget, gpointer user_data);
void on_wtools_2_MemView_show (GtkWidget *widget, gpointer user_data); void on_wtools_2_cpu_changed (GtkComboBox *, gpointer );
void on_wtools_2_r8_toggled (GtkToggleButton *togglebutton, gpointer user_data); void on_wtools_2_r8_toggled (GtkToggleButton *, gpointer );
void on_wtools_2_r16_toggled (GtkToggleButton *togglebutton, gpointer user_data); void on_wtools_2_r16_toggled (GtkToggleButton *, gpointer );
void on_wtools_2_r32_toggled (GtkToggleButton *togglebutton, gpointer user_data); void on_wtools_2_r32_toggled (GtkToggleButton *, gpointer );
void on_wtools_2_GotoAddress_activate (GtkEntry *entry, gpointer user_data); void on_wtools_2_GotoAddress_activate (GtkEntry *, gpointer );
void on_wtools_2_GotoAddress_changed (GtkEntry *entry, gpointer user_data); void on_wtools_2_GotoAddress_changed (GtkEntry *, gpointer );
void on_wtools_2_GotoButton_clicked (GtkButton *button, gpointer user_data); void on_wtools_2_GotoButton_clicked (GtkButton *, gpointer );
void on_wtools_2_scroll_value_changed (GtkRange *range, gpointer user_data); void on_wtools_2_scroll_value_changed (GtkRange *, gpointer );
gboolean on_wtools_2_draw_expose_event (GtkWidget *widget, GdkEventExpose *event, gpointer user_data); gboolean on_wtools_2_draw_button_release_event(GtkWidget *, GdkEventButton *, gpointer );
gboolean on_wtools_2_draw_scroll_event (GtkWidget *widget, GdkEventScroll *event, gpointer user_data); gboolean on_wtools_2_draw_expose_event (GtkWidget *, GdkEventExpose *, gpointer );
gboolean on_wtools_2_draw_scroll_event (GtkWidget *, GdkEventScroll *, gpointer );
/* ***** ***** PALETTE VIEWER ***** ***** */
void on_wtools_3_PalView_show (GtkWidget *, gpointer );
gboolean on_wtools_3_PalView_close (GtkWidget *, ...);
gboolean on_wtools_3_PalView_delete_event (GtkWidget *, GdkEvent *, gpointer );
gboolean on_wtools_3_draw_expose_event (GtkWidget *, GdkEventExpose *, gpointer );
void on_wtools_3_palette_changed (GtkComboBox *, gpointer );
void on_wtools_3_palnum_value_changed (GtkSpinButton *, gpointer );

View File

@ -117,7 +117,7 @@
<signal name="activate" handler="on_menu_reset_activate" last_modification_time="Mon, 01 Jan 2007 16:40:47 GMT"/> <signal name="activate" handler="on_menu_reset_activate" last_modification_time="Mon, 01 Jan 2007 16:40:47 GMT"/>
<child internal-child="image"> <child internal-child="image">
<widget class="GtkImage" id="image52"> <widget class="GtkImage" id="image61">
<property name="visible">True</property> <property name="visible">True</property>
<property name="stock">gtk-refresh</property> <property name="stock">gtk-refresh</property>
<property name="icon_size">1</property> <property name="icon_size">1</property>
@ -328,7 +328,7 @@
<signal name="activate" handler="on_menu_controls_activate" last_modification_time="Mon, 01 Jan 2007 16:53:11 GMT"/> <signal name="activate" handler="on_menu_controls_activate" last_modification_time="Mon, 01 Jan 2007 16:53:11 GMT"/>
<child internal-child="image"> <child internal-child="image">
<widget class="GtkImage" id="image53"> <widget class="GtkImage" id="image62">
<property name="visible">True</property> <property name="visible">True</property>
<property name="stock">gtk-preferences</property> <property name="stock">gtk-preferences</property>
<property name="icon_size">1</property> <property name="icon_size">1</property>
@ -349,7 +349,7 @@
<signal name="activate" handler="on_menu_joy_controls_activate" last_modification_time="Fri, 12 Jan 2007 22:26:36 GMT"/> <signal name="activate" handler="on_menu_joy_controls_activate" last_modification_time="Fri, 12 Jan 2007 22:26:36 GMT"/>
<child internal-child="image"> <child internal-child="image">
<widget class="GtkImage" id="image54"> <widget class="GtkImage" id="image63">
<property name="visible">True</property> <property name="visible">True</property>
<property name="stock">gtk-preferences</property> <property name="stock">gtk-preferences</property>
<property name="icon_size">1</property> <property name="icon_size">1</property>
@ -423,7 +423,7 @@
<signal name="activate" handler="on_menu_IO_regs_activate" last_modification_time="Mon, 01 Jan 2007 16:53:11 GMT"/> <signal name="activate" handler="on_menu_IO_regs_activate" last_modification_time="Mon, 01 Jan 2007 16:53:11 GMT"/>
<child internal-child="image"> <child internal-child="image">
<widget class="GtkImage" id="image55"> <widget class="GtkImage" id="image64">
<property name="visible">True</property> <property name="visible">True</property>
<property name="stock">gtk-properties</property> <property name="stock">gtk-properties</property>
<property name="icon_size">1</property> <property name="icon_size">1</property>
@ -444,7 +444,28 @@
<signal name="activate" handler="on_menu_memview_activate" last_modification_time="Fri, 12 Jan 2007 15:44:42 GMT"/> <signal name="activate" handler="on_menu_memview_activate" last_modification_time="Fri, 12 Jan 2007 15:44:42 GMT"/>
<child internal-child="image"> <child internal-child="image">
<widget class="GtkImage" id="image56"> <widget class="GtkImage" id="image65">
<property name="visible">True</property>
<property name="stock">gtk-properties</property>
<property name="icon_size">1</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
</widget>
</child>
</widget>
</child>
<child>
<widget class="GtkImageMenuItem" id="menu_palview">
<property name="visible">True</property>
<property name="label" translatable="yes">View Palette</property>
<property name="use_underline">True</property>
<signal name="activate" handler="on_menu_palview_activate" last_modification_time="Sun, 14 Jan 2007 10:34:32 GMT"/>
<child internal-child="image">
<widget class="GtkImage" id="image66">
<property name="visible">True</property> <property name="visible">True</property>
<property name="stock">gtk-properties</property> <property name="stock">gtk-properties</property>
<property name="icon_size">1</property> <property name="icon_size">1</property>

View File

@ -18,9 +18,9 @@
<property name="focus_on_map">True</property> <property name="focus_on_map">True</property>
<property name="urgency_hint">False</property> <property name="urgency_hint">False</property>
<property name="has_separator">True</property> <property name="has_separator">True</property>
<signal name="response" handler="gtk_widget_hide" last_modification_time="Thu, 04 Jan 2007 11:19:44 GMT"/>
<signal name="show" handler="on_wtools_1_IOregs_show" last_modification_time="Thu, 04 Jan 2007 12:47:11 GMT"/> <signal name="show" handler="on_wtools_1_IOregs_show" last_modification_time="Thu, 04 Jan 2007 12:47:11 GMT"/>
<signal name="delete_event" handler="on_wtools_1_IOregs_delete_event" last_modification_time="Sat, 13 Jan 2007 23:53:46 GMT"/> <signal name="delete_event" handler="on_wtools_1_IOregs_close" last_modification_time="Sun, 14 Jan 2007 10:30:11 GMT"/>
<signal name="response" handler="on_wtools_1_IOregs_close" last_modification_time="Sun, 14 Jan 2007 10:30:16 GMT"/>
<child internal-child="vbox"> <child internal-child="vbox">
<widget class="GtkVBox" id="dialog-vbox3"> <widget class="GtkVBox" id="dialog-vbox3">
@ -600,9 +600,9 @@ cpu : ARM9</property>
<property name="focus_on_map">True</property> <property name="focus_on_map">True</property>
<property name="urgency_hint">False</property> <property name="urgency_hint">False</property>
<property name="has_separator">True</property> <property name="has_separator">True</property>
<signal name="response" handler="gtk_widget_hide" last_modification_time="Fri, 12 Jan 2007 12:58:38 GMT"/>
<signal name="show" handler="on_wtools_2_MemView_show" last_modification_time="Fri, 12 Jan 2007 13:35:53 GMT"/> <signal name="show" handler="on_wtools_2_MemView_show" last_modification_time="Fri, 12 Jan 2007 13:35:53 GMT"/>
<signal name="delete_event" handler="on_wtools_2_MemView_delete_event" last_modification_time="Sat, 13 Jan 2007 23:56:33 GMT"/> <signal name="delete_event" handler="on_wtools_2_MemView_close" last_modification_time="Sun, 14 Jan 2007 10:25:42 GMT"/>
<signal name="response" handler="on_wtools_2_MemView_close" last_modification_time="Sun, 14 Jan 2007 10:25:55 GMT"/>
<child internal-child="vbox"> <child internal-child="vbox">
<widget class="GtkVBox" id="dialog-vbox4"> <widget class="GtkVBox" id="dialog-vbox4">
@ -845,4 +845,159 @@ ARM7 cpu</property>
</child> </child>
</widget> </widget>
<widget class="GtkDialog" id="wtools_3_PalView">
<property name="title" translatable="yes">Palette Viewer</property>
<property name="type">GTK_WINDOW_TOPLEVEL</property>
<property name="window_position">GTK_WIN_POS_NONE</property>
<property name="modal">False</property>
<property name="resizable">True</property>
<property name="destroy_with_parent">False</property>
<property name="icon">DeSmuME.xpm</property>
<property name="decorated">True</property>
<property name="skip_taskbar_hint">False</property>
<property name="skip_pager_hint">False</property>
<property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
<property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
<property name="focus_on_map">True</property>
<property name="urgency_hint">False</property>
<property name="has_separator">True</property>
<signal name="show" handler="on_wtools_3_PalView_show" last_modification_time="Sun, 14 Jan 2007 09:37:11 GMT"/>
<signal name="delete_event" handler="on_wtools_3_PalView_close" last_modification_time="Sun, 14 Jan 2007 10:32:05 GMT"/>
<signal name="response" handler="on_wtools_3_PalView_close" last_modification_time="Sun, 14 Jan 2007 10:32:12 GMT"/>
<child internal-child="vbox">
<widget class="GtkVBox" id="dialog-vbox5">
<property name="visible">True</property>
<property name="homogeneous">False</property>
<property name="spacing">0</property>
<child internal-child="action_area">
<widget class="GtkHButtonBox" id="dialog-action_area5">
<property name="visible">True</property>
<property name="layout_style">GTK_BUTTONBOX_END</property>
<child>
<widget class="GtkButton" id="closebutton2">
<property name="visible">True</property>
<property name="can_default">True</property>
<property name="can_focus">True</property>
<property name="label">gtk-close</property>
<property name="use_stock">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<property name="response_id">-7</property>
</widget>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="pack_type">GTK_PACK_END</property>
</packing>
</child>
<child>
<widget class="GtkTable" id="table3">
<property name="visible">True</property>
<property name="n_rows">2</property>
<property name="n_columns">3</property>
<property name="homogeneous">False</property>
<property name="row_spacing">0</property>
<property name="column_spacing">0</property>
<child>
<widget class="GtkComboBox" id="wtools_3_palette">
<property name="visible">True</property>
<property name="add_tearoffs">False</property>
<property name="focus_on_click">True</property>
<signal name="changed" handler="on_wtools_3_palette_changed" last_modification_time="Sun, 14 Jan 2007 09:29:39 GMT"/>
</widget>
<packing>
<property name="left_attach">0</property>
<property name="right_attach">1</property>
<property name="top_attach">0</property>
<property name="bottom_attach">1</property>
<property name="y_options">fill</property>
</packing>
</child>
<child>
<widget class="GtkSpinButton" id="wtools_3_palnum">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="climb_rate">1</property>
<property name="digits">0</property>
<property name="numeric">False</property>
<property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property>
<property name="wrap">False</property>
<property name="adjustment">0 0 15 1 2 1</property>
<signal name="value_changed" handler="on_wtools_3_palnum_value_changed" last_modification_time="Sun, 14 Jan 2007 09:28:57 GMT"/>
</widget>
<packing>
<property name="left_attach">2</property>
<property name="right_attach">3</property>
<property name="top_attach">0</property>
<property name="bottom_attach">1</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="label3">
<property name="visible">True</property>
<property name="label" translatable="yes"> Palette : </property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_RIGHT</property>
<property name="wrap">False</property>
<property name="selectable">False</property>
<property name="xalign">0</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
<property name="width_chars">-1</property>
<property name="single_line_mode">False</property>
<property name="angle">0</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
<property name="top_attach">0</property>
<property name="bottom_attach">1</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkDrawingArea" id="wtools_3_draw">
<property name="width_request">256</property>
<property name="height_request">256</property>
<property name="visible">True</property>
<signal name="expose_event" handler="on_wtools_3_draw_expose_event" last_modification_time="Sun, 14 Jan 2007 09:32:06 GMT"/>
</widget>
<packing>
<property name="left_attach">0</property>
<property name="right_attach">3</property>
<property name="top_attach">1</property>
<property name="bottom_attach">2</property>
<property name="x_options">fill</property>
<property name="y_options">fill</property>
</packing>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">True</property>
<property name="fill">True</property>
</packing>
</child>
</widget>
</child>
</widget>
</glade-interface> </glade-interface>