From 7920daaa3fb5308c87388624162bd1689623a3a2 Mon Sep 17 00:00:00 2001 From: Ole Loots Date: Mon, 7 Jan 2013 23:45:02 +0100 Subject: Implemented language and font renderer popups. --- atari/ctxmenu.c | 2 +- atari/gemtk/guiwin.c | 2 +- atari/gui.c | 3 +- atari/res/netsurf.c | 4379 +++++++++++++++++++++++++++++++++++++++++++++++++ atari/res/netsurf.csc | 22 + atari/res/netsurf.rsc | Bin 38600 -> 34814 bytes atari/res/netsurf.rsh | 106 +- atari/res/netsurf.rsm | 105 +- atari/settings.c | 1319 +++++++-------- 9 files changed, 5146 insertions(+), 792 deletions(-) create mode 100644 atari/res/netsurf.c create mode 100644 atari/res/netsurf.csc (limited to 'atari') diff --git a/atari/ctxmenu.c b/atari/ctxmenu.c index ada4d76dc..3ed8b1bd3 100644 --- a/atari/ctxmenu.c +++ b/atari/ctxmenu.c @@ -165,7 +165,7 @@ void context_popup(struct gui_window * gw, short x, short y) pop_menu.mn_tree = get_tree(POP_CTX); pop_menu.mn_menu = 0; pop_menu.mn_item = POP_CTX_CUT_SEL; - pop_menu.mn_scroll = SCROLL_LISTBOX; + pop_menu.mn_scroll = SCROLL_NO; pop_menu.mn_keystate = 0; menu_popup(&pop_menu, x, y, &me_data); diff --git a/atari/gemtk/guiwin.c b/atari/gemtk/guiwin.c index 2a3693b2d..666200bfc 100644 --- a/atari/gemtk/guiwin.c +++ b/atari/gemtk/guiwin.c @@ -543,7 +543,7 @@ short guiwin_init(void) { if(v_vdi_h == -1) { short dummy; - static short work_in[12] = {1,1,1,1,1,1,1,1,1,1,2,1}; + short work_in[12] = {Getrez()+2,1,1,1,1,1,1,1,1,1,2,1}; v_vdi_h=graf_handle(&dummy, &dummy, &dummy, &dummy); v_opnvwk(work_in, &v_vdi_h, work_out); } diff --git a/atari/gui.c b/atari/gui.c index 164ab312c..db5f94a90 100755 --- a/atari/gui.c +++ b/atari/gui.c @@ -999,10 +999,11 @@ void gui_options_init_defaults(void) { /* Set defaults for absent option strings */ nsoption_setnull_charp(cookie_file, strdup("cookies")); - if (nsoption_charp(cookie_file) == NULL) { die("Failed initialising string options"); } + + nsoption_set_int(min_reflow_period, 350); } static void gui_init(int argc, char** argv) diff --git a/atari/res/netsurf.c b/atari/res/netsurf.c new file mode 100644 index 000000000..d6ee900f1 --- /dev/null +++ b/atari/res/netsurf.c @@ -0,0 +1,4379 @@ +/* erzeugt mit RSM2CS V1.01 Beta von Armin Diedering aus "S:\Sources\netsurf.git\netsurf\atari\res\netsurf.rsc" */ +/* nach Sourcen von Holger Weets */ + +#include + +static char rs_s0[] = ""; +static char rs_s1[] = "-------------------------"; +static char rs_s2[] = "------------------------------"; +static char rs_s3[] = "-----------------------"; +static char rs_s4[] = "Abort"; +static char rs_s5[] = "X"; +static char rs_s7[] = "__"; +static char rs_s6[] = "n"; +static char rs_s8[] = "___"; +static char rs_s9[] = "____________________________________________"; + +static char rs_s10[] = ""; +static char rs_s11[] = ""; +static char rs_s12[] = ""; +static char rs_s13[] = ""; +static char rs_s14[] = ""; +static char rs_s15[] = ""; +static char rs_s16[] = ""; +static char rs_s17[] = ""; +static char rs_s18[] = ""; +static char rs_s19[] = ""; +static char rs_s20[] = ""; +static char rs_s21[] = ""; +static char rs_s22[] = ""; +static char rs_s23[] = ""; +static char rs_s24[] = ""; +static char rs_s25[] = ""; +static char rs_s26[] = ""; +static char rs_s27[] = ""; +static char rs_s28[] = ""; +static char rs_s29[] = ""; +static char rs_s30[] = ""; +static char rs_s31[] = ""; +static char rs_s32[] = ""; +static char rs_s33[] = ""; +static char rs_s34[] = ""; +static char rs_s35[] = ""; +static char rs_s36[] = ""; +static char rs_s37[] = ""; +static char rs_s38[] = ""; +static char rs_s39[] = ""; +static char rs_s40[] = ""; +static char rs_s41[] = ""; +static char rs_s42[] = ""; +static char rs_s43[] = ""; +static char rs_s44[] = ""; +static char rs_s45[] = "-------------------"; +static char rs_s46[] = "-------------------"; +static char rs_s51[] = "03"; +static char rs_s47[] = "_____"; +static char rs_s48[] = "_____"; +static char rs_s49[] = "_____________________________________"; +static char rs_s50[] = "_____________________________________"; +static char rs_s52[] = "03"; +static char rs_s53[] = "03"; +static char rs_s54[] = "03"; +static char rs_s55[] = "____________________________________________"; +static char rs_s56[] = "____________________________________________"; +static char rs_s57[] = "____________________________________________"; +static char rs_s58[] = "____________________________________________"; +static char rs_s59[] = "____________________________________________"; + +#define FLAGS11 0x0800 +#define FLAGS12 0x1000 +#define FLAGS13 0x2000 +#define FLAGS14 0x4000 +#define FLAGS15 0x8000 +#define STATE8 0x0100 +#define STATE9 0x0200 +#define STATE10 0x0400 +#define STATE11 0x0800 +#define STATE12 0x1000 +#define STATE13 0x2000 +#define STATE14 0x4000 +#define STATE15 0x8000 + +#define RS_NTED 43 + +static TEDINFO rs_tedinfo[] = { + "NetSurf", + rs_s0, + rs_s0, + SMALL, 6, TE_LEFT, 4352, 0, 0, 8, 1, + + rs_s45, + "User: ___________________", + rs_s5, + IBM, 6, TE_CNTR, 4480, 0, -2, 20, 30, + + rs_s46, + "Password: ___________________", + rs_s5, + IBM, 6, TE_CNTR, 4480, 0, -2, 20, 30, + + "SSL Verify failed!", + rs_s0, + rs_s0, + IBM, 1, TE_LEFT, 4480, 10, -1, 19, 1, + + "XY", + rs_s0, + rs_s0, + IBM, 6, TE_LEFT, 4480, 0, -1, 3, 1, + + "Text\0@@@@@@@@@@@@@@@@@@@@", + "Search : _________________________", + rs_s5, + IBM, 0, TE_LEFT, 4480, 0, -2, 26, 37, + + "File", + rs_s0, + rs_s0, + SMALL, 6, TE_LEFT, 4352, 0, -1, 5, 1, + + "100000 MB / 100000 MB", + rs_s0, + rs_s0, + IBM, 6, TE_LEFT, 4352, 0, -1, 22, 1, + + "100%", + rs_s0, + rs_s0, + IBM, 6, TE_RIGHT, 4352, 0, -1, 5, 1, + + "99999 KB/s ", + rs_s0, + rs_s0, + IBM, 6, TE_RIGHT, 4352, 0, -1, 12, 1, + + " Cut", + rs_s0, + rs_s0, + IBM, 6, TE_LEFT, 4480, 0, -1, 6, 1, + + " Copy", + rs_s0, + rs_s0, + IBM, 6, TE_LEFT, 4480, 0, -1, 7, 1, + + " Paste", + rs_s0, + rs_s0, + IBM, 6, TE_LEFT, 4480, 0, -1, 8, 1, + + " Select All", + rs_s0, + rs_s0, + IBM, 6, TE_LEFT, 4480, 0, -1, 13, 1, + + "---------------------", + rs_s0, + rs_s0, + IBM, 6, TE_CNTR, 4480, 0, -1, 22, 1, + + " Open in new Window", + rs_s0, + rs_s0, + IBM, 6, TE_LEFT, 4480, 0, -1, 21, 1, + + " Copy Link", + rs_s0, + rs_s0, + IBM, 6, TE_LEFT, 4480, 0, -1, 12, 1, + + " Copy URL", + rs_s0, + rs_s0, + IBM, 6, TE_LEFT, 4480, 0, -1, 11, 1, + + " Save as...", + rs_s0, + rs_s0, + IBM, 6, TE_LEFT, 4480, 0, -1, 13, 1, + + " View source...", + rs_s0, + rs_s0, + IBM, 6, TE_LEFT, 4480, 0, -1, 17, 1, + + " Save link as...", + rs_s0, + rs_s0, + IBM, 6, TE_LEFT, 4480, 0, -1, 18, 1, + + "\0@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", + "Homepage: ____________________________________________", + rs_s5, + IBM, 0, TE_LEFT, 4480, 10, -2, 45, 55, + + rs_s51, + rs_s7, + rs_s6, + IBM, 0, TE_CNTR, 4480, 0, -2, 3, 3, + + "Browser", + "_______", + rs_s5, + SMALL, 1, TE_CNTR, 4480, 9, 1, 8, 8, + + "_______________________________", + "Proxy Host: _______________________________", + rs_s5, + IBM, 0, TE_LEFT, 4480, 0, -2, 32, 44, + + rs_s47, + rs_s48, + rs_s6, + IBM, 0, TE_LEFT, 4480, 0, -2, 6, 6, + + rs_s49, + "Username: _____________________________________", + rs_s5, + IBM, 0, TE_LEFT, 4480, 0, -2, 38, 50, + + rs_s50, + "Password: _____________________________________", + rs_s5, + IBM, 0, TE_LEFT, 4480, 0, -2, 38, 50, + + rs_s52, + rs_s7, + rs_s6, + IBM, 0, TE_LEFT, 4352, 0, -2, 3, 3, + + rs_s53, + rs_s7, + rs_s6, + IBM, 0, TE_LEFT, 4352, 0, -2, 3, 3, + + rs_s54, + rs_s7, + rs_s6, + IBM, 0, TE_LEFT, 4352, 0, -2, 3, 3, + + "Network", + rs_s0, + rs_s0, + SMALL, 1, TE_CNTR, 4480, 9, -1, 8, 1, + + "130", + rs_s8, + rs_s6, + IBM, 0, TE_LEFT, 4352, 0, -2, 4, 4, + + "100", + rs_s8, + rs_s6, + IBM, 0, TE_LEFT, 4352, 0, -2, 4, 4, + + "0.5", + rs_s8, + rs_s6, + IBM, 0, TE_LEFT, 4352, 0, -2, 4, 4, + + "0350", + "____", + rs_s6, + IBM, 0, TE_LEFT, 4352, 0, -2, 5, 5, + + "Rendering", + rs_s0, + rs_s0, + SMALL, 1, TE_CNTR, 4480, 9, -1, 10, 1, + + rs_s55, + rs_s9, + rs_s5, + IBM, 6, TE_LEFT, 4480, 0, -1, 45, 45, + + rs_s56, + rs_s9, + rs_s5, + IBM, 6, TE_LEFT, 4480, 0, -1, 45, 45, + + rs_s57, + rs_s9, + rs_s5, + IBM, 6, TE_LEFT, 4480, 0, -1, 45, 45, + + rs_s58, + rs_s9, + rs_s5, + IBM, 6, TE_LEFT, 4480, 0, -1, 45, 45, + + rs_s59, + rs_s9, + rs_s5, + IBM, 6, TE_LEFT, 4480, 0, -1, 45, 45, + + "Directories", + rs_s0, + rs_s0, + SMALL, 1, TE_CNTR, 4480, 9, -1, 12, 1 +}; + +static int rs_b222img[] = { + 0x07ff,0xffff,0xff80,0x0c00,0x0000,0x00c0,0x183f,0xf03f, + 0xf060,0x187f,0xf860,0x1860,0x187f,0xf860,0x1860,0x187f, + 0xf860,0x1860,0x187f,0xf860,0x1860,0x187f,0xf860,0x1860, + 0x187f,0xf860,0x1860,0x187f,0xf860,0x1860,0x187f,0xf860, + 0x1860,0x187f,0xf860,0x1860,0x187f,0xf860,0x1860,0x187f, + 0xf860,0x1860,0x183f,0xf03f,0xf060,0x0c00,0x0000,0x00c0, + 0x07ff,0xffff,0xff80,0x0000,0x0000,0x0000,0x3f30,0xc787, + 0x8fe0,0x0c39,0xcccc,0xcc00,0x0c36,0xcfcc,0x0f80,0x0c30, + 0xcccd,0xcc00,0x3f30,0xccc7,0xcfe0,0x0000,0x0000,0x0000 +}; + +static int rs_b221img[] = { + 0x0000,0x0180,0x03c0,0x03c0,0x07e0,0x07e0,0x0ff0,0x0ff0, + 0x1ff8,0x1ff8,0x3ffc,0x3ffc,0x7ffe,0x7ffe,0x0000,0x0000 +}; + +static int rs_b220img[] = { + 0x0000,0x0180,0x03c0,0x03c0,0x07e0,0x07e0,0x0ff0,0x0ff0, + 0x1ff8,0x1ff8,0x3ffc,0x3ffc,0x7ffe,0x7ffe,0x0000,0x0000, + 0x0000,0x0180,0x03c0,0x03c0,0x07e0,0x07e0,0x0ff0,0x0ff0, + 0x1ff8,0x1ff8,0x3ffc,0x3ffc,0x7ffe,0x7ffe,0x0000,0x0000, + 0x0000,0x0180,0x03c0,0x03c0,0x07e0,0x07e0,0x0ff0,0x0ff0, + 0x1ff8,0x1ff8,0x3ffc,0x3ffc,0x7ffe,0x7ffe,0x0000,0x0000, + 0x0000,0x0180,0x03c0,0x03c0,0x07e0,0x07e0,0x0ff0,0x0ff0, + 0x1ff8,0x1ff8,0x3ffc,0x3ffc,0x7ffe,0x7ffe,0x0000,0x0000 +}; + +static int rs_b219img[] = { + 0x0000,0x0180,0x03c0,0x03c0,0x07e0,0x07e0,0x0ff0,0x0ff0, + 0x1ff8,0x1ff8,0x3ffc,0x3ffc,0x7ffe,0x7ffe,0x0000,0x0000 +}; + +static int rs_b218img[] = { + 0x0000,0x0180,0x0340,0x02c0,0x0560,0x06a0,0x0d50,0x0ab0, + 0x1558,0x1aa8,0x3554,0x2aac,0x5556,0x7ffe,0x0000,0x0000, + 0x0000,0x0180,0x0340,0x02c0,0x0560,0x06a0,0x0d50,0x0ab0, + 0x1558,0x1aa8,0x3554,0x2aac,0x5556,0x7ffe,0x0000,0x0000, + 0x0000,0x0180,0x0340,0x02c0,0x0560,0x06a0,0x0d50,0x0ab0, + 0x1558,0x1aa8,0x3554,0x2aac,0x5556,0x7ffe,0x0000,0x0000, + 0x0000,0x0180,0x0340,0x02c0,0x0560,0x06a0,0x0d50,0x0ab0, + 0x1558,0x1aa8,0x3554,0x2aac,0x5556,0x7ffe,0x0000,0x0000 +}; + +static int rs_b217img[] = { + 0x0000,0x0180,0x03c0,0x03c0,0x07e0,0x07e0,0x0ff0,0x0ff0, + 0x1ff8,0x1ff8,0x3ffc,0x3ffc,0x7ffe,0x7ffe,0x0000,0x0000 +}; + +static int rs_b216img[] = { + 0x0000,0x0180,0x03c0,0x03c0,0x07e0,0x07e0,0x0ff0,0x0ff0, + 0x1ff8,0x1ff8,0x3ffc,0x3ffc,0x7ffe,0x7ffe,0x0000,0x0000 +}; + +static int rs_b215img[] = { + 0x0000,0x0180,0x03c0,0x03c0,0x07e0,0x07e0,0x0ff0,0x0ff0, + 0x1ff8,0x1ff8,0x3ffc,0x3ffc,0x7ffe,0x7ffe,0x0000,0x0000 +}; + +static int rs_b214img[] = { + 0x0000,0x0180,0x0340,0x02c0,0x0560,0x06a0,0x0d50,0x0ab0, + 0x1558,0x1aa8,0x3554,0x2aac,0x5556,0x7ffe,0x0000,0x0000 +}; + +static int rs_b213img[] = { + 0x0000,0x0180,0x0340,0x02c0,0x0560,0x06a0,0x0d50,0x0ab0, + 0x1558,0x1aa8,0x3554,0x2aac,0x5556,0x7ffe,0x0000,0x0000 +}; + +static int rs_b212img[] = { + 0x0000,0x0180,0x03c0,0x03c0,0x07e0,0x07e0,0x0ff0,0x0ff0, + 0x1ff8,0x1ff8,0x3ffc,0x3ffc,0x7ffe,0x7ffe,0x0000,0x0000 +}; + +static int rs_b211img[] = { + 0x0000,0x0000,0x7ffe,0x7ffe,0x3ffc,0x3ffc,0x1ff8,0x1ff8, + 0x0ff0,0x0ff0,0x07e0,0x07e0,0x03c0,0x03c0,0x0180,0x0000 +}; + +static int rs_b210img[] = { + 0x0000,0x0000,0x7ffe,0x7ffe,0x3ffc,0x3ffc,0x1ff8,0x1ff8, + 0x0ff0,0x0ff0,0x07e0,0x07e0,0x03c0,0x03c0,0x0180,0x0000, + 0x0000,0x0000,0x7ffe,0x7ffe,0x3ffc,0x3ffc,0x1ff8,0x1ff8, + 0x0ff0,0x0ff0,0x07e0,0x07e0,0x03c0,0x03c0,0x0180,0x0000, + 0x0000,0x0000,0x7ffe,0x7ffe,0x3ffc,0x3ffc,0x1ff8,0x1ff8, + 0x0ff0,0x0ff0,0x07e0,0x07e0,0x03c0,0x03c0,0x0180,0x0000, + 0x0000,0x0000,0x7ffe,0x7ffe,0x3ffc,0x3ffc,0x1ff8,0x1ff8, + 0x0ff0,0x0ff0,0x07e0,0x07e0,0x03c0,0x03c0,0x0180,0x0000 +}; + +static int rs_b209img[] = { + 0x0000,0x0000,0x7ffe,0x7ffe,0x3ffc,0x3ffc,0x1ff8,0x1ff8, + 0x0ff0,0x0ff0,0x07e0,0x07e0,0x03c0,0x03c0,0x0180,0x0000 +}; + +static int rs_b208img[] = { + 0x0000,0x0000,0x7ffe,0x5556,0x2aac,0x3554,0x1aa8,0x1558, + 0x0ab0,0x0d50,0x06a0,0x0560,0x02c0,0x0340,0x0180,0x0000, + 0x0000,0x0000,0x7ffe,0x5556,0x2aac,0x3554,0x1aa8,0x1558, + 0x0ab0,0x0d50,0x06a0,0x0560,0x02c0,0x0340,0x0180,0x0000, + 0x0000,0x0000,0x7ffe,0x5556,0x2aac,0x3554,0x1aa8,0x1558, + 0x0ab0,0x0d50,0x06a0,0x0560,0x02c0,0x0340,0x0180,0x0000, + 0x0000,0x0000,0x7ffe,0x5556,0x2aac,0x3554,0x1aa8,0x1558, + 0x0ab0,0x0d50,0x06a0,0x0560,0x02c0,0x0340,0x0180,0x0000 +}; + +static int rs_b207img[] = { + 0x0000,0x0000,0x7ffe,0x7ffe,0x3ffc,0x3ffc,0x1ff8,0x1ff8, + 0x0ff0,0x0ff0,0x07e0,0x07e0,0x03c0,0x03c0,0x0180,0x0000 +}; + +static int rs_b206img[] = { + 0x0000,0x0000,0x7ffe,0x7ffe,0x3ffc,0x3ffc,0x1ff8,0x1ff8, + 0x0ff0,0x0ff0,0x07e0,0x07e0,0x03c0,0x03c0,0x0180,0x0000 +}; + +static int rs_b205img[] = { + 0x0000,0x0000,0x7ffe,0x7ffe,0x3ffc,0x3ffc,0x1ff8,0x1ff8, + 0x0ff0,0x0ff0,0x07e0,0x07e0,0x03c0,0x03c0,0x0180,0x0000 +}; + +static int rs_b204img[] = { + 0x0000,0x0000,0x7ffe,0x5556,0x2aac,0x3554,0x1aa8,0x1558, + 0x0ab0,0x0d50,0x06a0,0x0560,0x02c0,0x0340,0x0180,0x0000 +}; + +static int rs_b203img[] = { + 0x0000,0x0000,0x7ffe,0x5556,0x2aac,0x3554,0x1aa8,0x1558, + 0x0ab0,0x0d50,0x06a0,0x0560,0x02c0,0x0340,0x0180,0x0000 +}; + +static int rs_b202img[] = { + 0x0000,0x0000,0x7ffe,0x7ffe,0x3ffc,0x3ffc,0x1ff8,0x1ff8, + 0x0ff0,0x0ff0,0x07e0,0x07e0,0x03c0,0x03c0,0x0180,0x0000 +}; + +static int rs_b201img[] = { + 0x0000,0x3fe0,0x3ff0,0x3ff8,0x3ffc,0x3ffc,0x3ffc,0x3ffc, + 0x3ffc,0x3ffc,0x3ffc,0x3ffc,0x3ffc,0x3ffc,0x3ffc,0x0000 +}; + +static int rs_b200img[] = { + 0x0000,0x3fe0,0x2050,0x2048,0x2044,0x207c,0x2104,0x2104, + 0x27c4,0x2104,0x2104,0x2004,0x2004,0x2004,0x3ffc,0x0000, + 0x0000,0x3fe0,0x2050,0x2048,0x2044,0x207c,0x2104,0x2104, + 0x27c4,0x2104,0x2104,0x2004,0x2004,0x2004,0x3ffc,0x0000, + 0x0000,0x3fe0,0x2050,0x2048,0x2044,0x207c,0x2104,0x2104, + 0x27c4,0x2104,0x2104,0x2004,0x2004,0x2004,0x3ffc,0x0000, + 0x0000,0x3fe0,0x2050,0x2048,0x2044,0x207c,0x2104,0x2104, + 0x27c4,0x2104,0x2104,0x2004,0x2004,0x2004,0x3ffc,0x0000, + 0x0000,0x3fe0,0x2050,0x2048,0x2044,0x207c,0x2104,0x2104, + 0x27c4,0x2104,0x2104,0x2004,0x2004,0x2004,0x3ffc,0x0000, + 0x0000,0x3fe0,0x2050,0x2048,0x2044,0x207c,0x2104,0x2104, + 0x27c4,0x2104,0x2104,0x2004,0x2004,0x2004,0x3ffc,0x0000, + 0x0000,0x3fe0,0x2050,0x2048,0x2044,0x207c,0x2104,0x2104, + 0x27c4,0x2104,0x2104,0x2004,0x2004,0x2004,0x3ffc,0x0000, + 0x0000,0x3fe0,0x2050,0x2048,0x2044,0x207c,0x2104,0x2104, + 0x27c4,0x2104,0x2104,0x2004,0x2004,0x2004,0x3ffc,0x0000 +}; + +static int rs_b199img[] = { + 0x7fe0,0x7ff0,0x7ff8,0x7ffc,0x7ffe,0x7ffe,0x7ffe,0x7ffe, + 0x7ffe,0x7ffe,0x7ffe,0x7ffe,0x7ffe,0x7ffe,0x7ffe,0x7ffe +}; + +static int rs_b198img[] = { + 0x7fe0,0x7ff0,0x6028,0x6024,0x603e,0x6086,0x6146,0x6246, + 0x6286,0x6486,0x6706,0x6606,0x6406,0x6006,0x7ffe,0x7ffe, + 0x7fe0,0x7ff0,0x6028,0x6024,0x603e,0x6086,0x6146,0x6246, + 0x6286,0x6486,0x6706,0x6606,0x6406,0x6006,0x7ffe,0x7ffe, + 0x7fe0,0x7ff0,0x6028,0x6024,0x603e,0x6086,0x6146,0x6246, + 0x6286,0x6486,0x6706,0x6606,0x6406,0x6006,0x7ffe,0x7ffe, + 0x7fe0,0x7ff0,0x6028,0x6024,0x603e,0x6086,0x6146,0x6246, + 0x6286,0x6486,0x6706,0x6606,0x6406,0x6006,0x7ffe,0x7ffe, + 0x7fe0,0x7ff0,0x6028,0x6024,0x603e,0x6086,0x6146,0x6246, + 0x6286,0x6486,0x6706,0x6606,0x6406,0x6006,0x7ffe,0x7ffe, + 0x7fe0,0x7ff0,0x6028,0x6024,0x603e,0x6086,0x6146,0x6246, + 0x6286,0x6486,0x6706,0x6606,0x6406,0x6006,0x7ffe,0x7ffe, + 0x7fe0,0x7ff0,0x6028,0x6024,0x603e,0x6086,0x6146,0x6246, + 0x6286,0x6486,0x6706,0x6606,0x6406,0x6006,0x7ffe,0x7ffe, + 0x7fe0,0x7ff0,0x6028,0x6024,0x603e,0x6086,0x6146,0x6246, + 0x6286,0x6486,0x6706,0x6606,0x6406,0x6006,0x7ffe,0x7ffe +}; + +static int rs_b197img[] = { + 0x0000,0x3fe0,0x3ff0,0x3ff8,0x3ffc,0x3ffc,0x3ffc,0x3ffc, + 0x3ffc,0x3ffc,0x3ffc,0x3ffc,0x3ffc,0x3ffc,0x3ffc,0x0000 +}; + +static int rs_b196img[] = { + 0x0000,0x3fe0,0x2050,0x2048,0x2044,0x207c,0x2104,0x2104, + 0x27c4,0x2104,0x2104,0x2004,0x2004,0x2004,0x3ffc,0x0000, + 0x0000,0x3fe0,0x2050,0x2048,0x2044,0x207c,0x2104,0x2104, + 0x27c4,0x2104,0x2104,0x2004,0x2004,0x2004,0x3ffc,0x0000, + 0x0000,0x3fe0,0x2050,0x2048,0x2044,0x207c,0x2104,0x2104, + 0x27c4,0x2104,0x2104,0x2004,0x2004,0x2004,0x3ffc,0x0000, + 0x0000,0x3fe0,0x2050,0x2048,0x2044,0x207c,0x2104,0x2104, + 0x27c4,0x2104,0x2104,0x2004,0x2004,0x2004,0x3ffc,0x0000 +}; + +static int rs_b195img[] = { + 0x7fe0,0x7ff0,0x7ff8,0x7ffc,0x7ffe,0x7ffe,0x7ffe,0x7ffe, + 0x7ffe,0x7ffe,0x7ffe,0x7ffe,0x7ffe,0x7ffe,0x7ffe,0x7ffe +}; + +static int rs_b194img[] = { + 0x7fe0,0x7ff0,0x6028,0x6024,0x603e,0x6086,0x6146,0x6246, + 0x6286,0x6486,0x6706,0x6606,0x6406,0x6006,0x7ffe,0x7ffe, + 0x7fe0,0x7ff0,0x6028,0x6024,0x603e,0x6086,0x6146,0x6246, + 0x6286,0x6486,0x6706,0x6606,0x6406,0x6006,0x7ffe,0x7ffe, + 0x7fe0,0x7ff0,0x6028,0x6024,0x603e,0x6086,0x6146,0x6246, + 0x6286,0x6486,0x6706,0x6606,0x6406,0x6006,0x7ffe,0x7ffe, + 0x7fe0,0x7ff0,0x6028,0x6024,0x603e,0x6086,0x6146,0x6246, + 0x6286,0x6486,0x6706,0x6606,0x6406,0x6006,0x7ffe,0x7ffe +}; + +static int rs_b193img[] = { + 0x0000,0x3fe0,0x3ff0,0x3ff8,0x3ffc,0x3ffc,0x3ffc,0x3ffc, + 0x3ffc,0x3ffc,0x3ffc,0x3ffc,0x3ffc,0x3ffc,0x3ffc,0x0000 +}; + +static int rs_b192img[] = { + 0x0000,0x3fe0,0x2050,0x2048,0x2044,0x207c,0x2104,0x2104, + 0x27c4,0x2104,0x2104,0x2004,0x2004,0x2004,0x3ffc,0x0000 +}; + +static int rs_b191img[] = { + 0x7fe0,0x7ff0,0x7ff8,0x7ffc,0x7ffe,0x7ffe,0x7ffe,0x7ffe, + 0x7ffe,0x7ffe,0x7ffe,0x7ffe,0x7ffe,0x7ffe,0x7ffe,0x7ffe +}; + +static int rs_b190img[] = { + 0x7fe0,0x7ff0,0x6028,0x6024,0x603e,0x6086,0x6146,0x6246, + 0x6286,0x6486,0x6706,0x6606,0x6406,0x6006,0x7ffe,0x7ffe +}; + +static int rs_b189img[] = { + 0x7fe0,0x7ff0,0x6028,0x6024,0x603e,0x6086,0x6146,0x6246, + 0x6286,0x6486,0x6706,0x6606,0x6406,0x6006,0x7ffe,0x7ffe +}; + +static int rs_b188img[] = { + 0x7fe0,0x7ff0,0x7ff8,0x7ffc,0x7ffe,0x7ffe,0x7ffe,0x7ffe, + 0x7ffe,0x7ffe,0x7ffe,0x7ffe,0x7ffe,0x7ffe,0x7ffe,0x7ffe +}; + +static int rs_b187img[] = { + 0x0000,0x0380,0x0440,0x3ff8,0x1ff0,0x1ff0,0x1ff0,0x1ff0, + 0x1ff0,0x1ff0,0x1ff0,0x1ff0,0x1ff0,0x1ff0,0x1ff0,0x0000 +}; + +static int rs_b186img[] = { + 0x0000,0x0380,0x0440,0x3ff8,0x1010,0x1550,0x1550,0x1550, + 0x1550,0x1550,0x1550,0x1550,0x1550,0x1010,0x1ff0,0x0000, + 0x0000,0x0380,0x0440,0x3ff8,0x1ff0,0x1ff0,0x1ff0,0x1ff0, + 0x1ff0,0x1ff0,0x1ff0,0x1ff0,0x1ff0,0x1ff0,0x1ff0,0x0000, + 0x0000,0x0380,0x0440,0x3ff8,0x1ff0,0x1ff0,0x1ff0,0x1ff0, + 0x1ff0,0x1ff0,0x1ff0,0x1ff0,0x1ff0,0x1ff0,0x1ff0,0x0000, + 0x0000,0x0380,0x0440,0x3ff8,0x1ff0,0x1ff0,0x1ff0,0x1ff0, + 0x1ff0,0x1ff0,0x1ff0,0x1ff0,0x1ff0,0x1ff0,0x1ff0,0x0000, + 0x0000,0x0380,0x0440,0x3ff8,0x1010,0x1550,0x1550,0x1550, + 0x1550,0x1550,0x1550,0x1550,0x1550,0x1010,0x1ff0,0x0000, + 0x0000,0x0380,0x0440,0x3ff8,0x1010,0x1550,0x1550,0x1550, + 0x1550,0x1550,0x1550,0x1550,0x1550,0x1010,0x1ff0,0x0000, + 0x0000,0x0380,0x0440,0x3ff8,0x1010,0x1550,0x1550,0x1550, + 0x1550,0x1550,0x1550,0x1550,0x1550,0x1010,0x1ff0,0x0000, + 0x0000,0x0380,0x0440,0x3ff8,0x1010,0x1550,0x1550,0x1550, + 0x1550,0x1550,0x1550,0x1550,0x1550,0x1010,0x1ff0,0x0000 +}; + +static int rs_b185img[] = { + 0x0380,0x0440,0x7ffc,0x7ffc,0x3ff8,0x3ff8,0x3ff8,0x3ff8, + 0x3ff8,0x3ff8,0x3ff8,0x3ff8,0x3ff8,0x3ff8,0x3ff8,0x3ff8 +}; + +static int rs_b184img[] = { + 0x0380,0x0440,0x7ffc,0x7ffc,0x3018,0x3558,0x3558,0x3558, + 0x3558,0x3558,0x3558,0x3558,0x3558,0x3018,0x3ff8,0x3ff8, + 0x0380,0x0440,0x7ffc,0x7ffc,0x3ff8,0x3ff8,0x3ff8,0x3ff8, + 0x3ff8,0x3ff8,0x3ff8,0x3ff8,0x3ff8,0x3ff8,0x3ff8,0x3ff8, + 0x0380,0x0440,0x7ffc,0x7ffc,0x3ff8,0x3ff8,0x3ff8,0x3ff8, + 0x3ff8,0x3ff8,0x3ff8,0x3ff8,0x3ff8,0x3ff8,0x3ff8,0x3ff8, + 0x0380,0x0440,0x7ffc,0x7ffc,0x3ff8,0x3ff8,0x3ff8,0x3ff8, + 0x3ff8,0x3ff8,0x3ff8,0x3ff8,0x3ff8,0x3ff8,0x3ff8,0x3ff8, + 0x0380,0x0440,0x7ffc,0x7ffc,0x3018,0x3558,0x3558,0x3558, + 0x3558,0x3558,0x3558,0x3558,0x3558,0x3018,0x3ff8,0x3ff8, + 0x0380,0x0440,0x7ffc,0x7ffc,0x3018,0x3558,0x3558,0x3558, + 0x3558,0x3558,0x3558,0x3558,0x3558,0x3018,0x3ff8,0x3ff8, + 0x0380,0x0440,0x7ffc,0x7ffc,0x3018,0x3558,0x3558,0x3558, + 0x3558,0x3558,0x3558,0x3558,0x3558,0x3018,0x3ff8,0x3ff8, + 0x0380,0x0440,0x7ffc,0x7ffc,0x3018,0x3558,0x3558,0x3558, + 0x3558,0x3558,0x3558,0x3558,0x3558,0x3018,0x3ff8,0x3ff8 +}; + +static int rs_b183img[] = { + 0x0000,0x0380,0x0440,0x3ff8,0x1ff0,0x1ff0,0x1ff0,0x1ff0, + 0x1ff0,0x1ff0,0x1ff0,0x1ff0,0x1ff0,0x1ff0,0x1ff0,0x0000 +}; + +static int rs_b182img[] = { + 0x0000,0x0380,0x0440,0x3ff8,0x1010,0x1550,0x1550,0x1550, + 0x1550,0x1550,0x1550,0x1550,0x1550,0x1010,0x1ff0,0x0000, + 0x0000,0x0380,0x0440,0x3ff8,0x1ff0,0x1ff0,0x1ff0,0x1ff0, + 0x1ff0,0x1ff0,0x1ff0,0x1ff0,0x1ff0,0x1ff0,0x1ff0,0x0000, + 0x0000,0x0380,0x0440,0x3ff8,0x1ff0,0x1ff0,0x1ff0,0x1ff0, + 0x1ff0,0x1ff0,0x1ff0,0x1ff0,0x1ff0,0x1ff0,0x1ff0,0x0000, + 0x0000,0x0380,0x0440,0x3ff8,0x1ff0,0x1ff0,0x1ff0,0x1ff0, + 0x1ff0,0x1ff0,0x1ff0,0x1ff0,0x1ff0,0x1ff0,0x1ff0,0x0000 +}; + +static int rs_b181img[] = { + 0x0380,0x0440,0x7ffc,0x7ffc,0x3ff8,0x3ff8,0x3ff8,0x3ff8, + 0x3ff8,0x3ff8,0x3ff8,0x3ff8,0x3ff8,0x3ff8,0x3ff8,0x3ff8 +}; + +static int rs_b180img[] = { + 0x0380,0x0440,0x7ffc,0x7ffc,0x3018,0x3558,0x3558,0x3558, + 0x3558,0x3558,0x3558,0x3558,0x3558,0x3018,0x3ff8,0x3ff8, + 0x0380,0x0440,0x7ffc,0x7ffc,0x3ff8,0x3ff8,0x3ff8,0x3ff8, + 0x3ff8,0x3ff8,0x3ff8,0x3ff8,0x3ff8,0x3ff8,0x3ff8,0x3ff8, + 0x0380,0x0440,0x7ffc,0x7ffc,0x3ff8,0x3ff8,0x3ff8,0x3ff8, + 0x3ff8,0x3ff8,0x3ff8,0x3ff8,0x3ff8,0x3ff8,0x3ff8,0x3ff8, + 0x0380,0x0440,0x7ffc,0x7ffc,0x3ff8,0x3ff8,0x3ff8,0x3ff8, + 0x3ff8,0x3ff8,0x3ff8,0x3ff8,0x3ff8,0x3ff8,0x3ff8,0x3ff8 +}; + +static int rs_b179img[] = { + 0x0000,0x0380,0x0440,0x3ff8,0x1ff0,0x1ff0,0x1ff0,0x1ff0, + 0x1ff0,0x1ff0,0x1ff0,0x1ff0,0x1ff0,0x1ff0,0x1ff0,0x0000 +}; + +static int rs_b178img[] = { + 0x0000,0x0380,0x0440,0x3ff8,0x1010,0x1550,0x1550,0x1550, + 0x1550,0x1550,0x1550,0x1550,0x1550,0x1010,0x1ff0,0x0000 +}; + +static int rs_b177img[] = { + 0x0380,0x0440,0x7ffc,0x7ffc,0x3ff8,0x3ff8,0x3ff8,0x3ff8, + 0x3ff8,0x3ff8,0x3ff8,0x3ff8,0x3ff8,0x3ff8,0x3ff8,0x3ff8 +}; + +static int rs_b176img[] = { + 0x0380,0x0440,0x7ffc,0x7ffc,0x3018,0x3558,0x3558,0x3558, + 0x3558,0x3558,0x3558,0x3558,0x3558,0x3018,0x3ff8,0x3ff8 +}; + +static int rs_b175img[] = { + 0x0380,0x0440,0x7ffc,0x7ffc,0x3018,0x3558,0x3558,0x3558, + 0x3558,0x3558,0x3558,0x3558,0x3558,0x3018,0x3ff8,0x3ff8 +}; + +static int rs_b174img[] = { + 0x0380,0x0440,0x7ffc,0x7ffc,0x3ff8,0x3ff8,0x3ff8,0x3ff8, + 0x3ff8,0x3ff8,0x3ff8,0x3ff8,0x3ff8,0x3ff8,0x3ff8,0x3ff8 +}; + +static int rs_b173img[] = { + 0x0000,0x0000,0x1c00,0x3e00,0x7ffe,0x7ffe,0x7ffe,0x7ffe, + 0x7ffe,0x7ffe,0x7ffe,0x7ffe,0x7ffe,0x7ffe,0x7ffe,0x0000 +}; + +static int rs_b172img[] = { + 0x0000,0x0000,0x1c00,0x2200,0x41fe,0x4002,0x4002,0x4102, + 0x4102,0x47c2,0x4102,0x4102,0x4002,0x4002,0x7ffe,0x0000, + 0x0000,0x0000,0x1c00,0x2200,0x41fe,0x4002,0x4002,0x4102, + 0x4102,0x47c2,0x4102,0x4102,0x4002,0x4002,0x7ffe,0x0000, + 0x0000,0x0000,0x1c00,0x2200,0x41fe,0x4002,0x4002,0x4102, + 0x4102,0x47c2,0x4102,0x4102,0x4002,0x4002,0x7ffe,0x0000, + 0x0000,0x0000,0x1c00,0x2200,0x41fe,0x4002,0x4002,0x4102, + 0x4102,0x47c2,0x4102,0x4102,0x4002,0x4002,0x7ffe,0x0000, + 0x0000,0x0000,0x1c00,0x2200,0x41fe,0x4002,0x4002,0x4102, + 0x4102,0x47c2,0x4102,0x4102,0x4002,0x4002,0x7ffe,0x0000, + 0x0000,0x0000,0x1c00,0x2200,0x41fe,0x4002,0x4002,0x4102, + 0x4102,0x47c2,0x4102,0x4102,0x4002,0x4002,0x7ffe,0x0000, + 0x0000,0x0000,0x1c00,0x2200,0x41fe,0x4002,0x4002,0x4102, + 0x4102,0x47c2,0x4102,0x4102,0x4002,0x4002,0x7ffe,0x0000, + 0x0000,0x0000,0x1c00,0x2200,0x41fe,0x4002,0x4002,0x4102, + 0x4102,0x47c2,0x4102,0x4102,0x4002,0x4002,0x7ffe,0x0000 +}; + +static int rs_b171img[] = { + 0x0000,0x3800,0x7c00,0xffff,0xffff,0xffff,0xffff,0xffff, + 0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff +}; + +static int rs_b170img[] = { + 0x0000,0x3800,0x7c00,0xc7ff,0xc3ff,0xc003,0xc003,0xc103, + 0xc103,0xc7c3,0xc103,0xc103,0xc003,0xc003,0xffff,0xffff, + 0x0000,0x3800,0x7c00,0xc7ff,0xc3ff,0xc003,0xc003,0xc103, + 0xc103,0xc7c3,0xc103,0xc103,0xc003,0xc003,0xffff,0xffff, + 0x0000,0x3800,0x7c00,0xc7ff,0xc3ff,0xc003,0xc003,0xc103, + 0xc103,0xc7c3,0xc103,0xc103,0xc003,0xc003,0xffff,0xffff, + 0x0000,0x3800,0x7c00,0xc7ff,0xc3ff,0xc003,0xc003,0xc103, + 0xc103,0xc7c3,0xc103,0xc103,0xc003,0xc003,0xffff,0xffff, + 0x0000,0x3800,0x7c00,0xc7ff,0xc3ff,0xc003,0xc003,0xc103, + 0xc103,0xc7c3,0xc103,0xc103,0xc003,0xc003,0xffff,0xffff, + 0x0000,0x3800,0x7c00,0xc7ff,0xc3ff,0xc003,0xc003,0xc103, + 0xc103,0xc7c3,0xc103,0xc103,0xc003,0xc003,0xffff,0xffff, + 0x0000,0x3800,0x7c00,0xc7ff,0xc3ff,0xc003,0xc003,0xc103, + 0xc103,0xc7c3,0xc103,0xc103,0xc003,0xc003,0xffff,0xffff, + 0x0000,0x3800,0x7c00,0xc7ff,0xc3ff,0xc003,0xc003,0xc103, + 0xc103,0xc7c3,0xc103,0xc103,0xc003,0xc003,0xffff,0xffff +}; + +static int rs_b169img[] = { + 0x0000,0x0000,0x1c00,0x3e00,0x7ffe,0x7ffe,0x7ffe,0x7ffe, + 0x7ffe,0x7ffe,0x7ffe,0x7ffe,0x7ffe,0x7ffe,0x7ffe,0x0000 +}; + +static int rs_b168img[] = { + 0x0000,0x0000,0x1c00,0x2200,0x41fe,0x4002,0x4002,0x4102, + 0x4102,0x47c2,0x4102,0x4102,0x4002,0x4002,0x7ffe,0x0000, + 0x0000,0x0000,0x1c00,0x2200,0x41fe,0x4002,0x4002,0x4102, + 0x4102,0x47c2,0x4102,0x4102,0x4002,0x4002,0x7ffe,0x0000, + 0x0000,0x0000,0x1c00,0x2200,0x41fe,0x4002,0x4002,0x4102, + 0x4102,0x47c2,0x4102,0x4102,0x4002,0x4002,0x7ffe,0x0000, + 0x0000,0x0000,0x1c00,0x2200,0x41fe,0x4002,0x4002,0x4102, + 0x4102,0x47c2,0x4102,0x4102,0x4002,0x4002,0x7ffe,0x0000 +}; + +static int rs_b167img[] = { + 0x0000,0x3800,0x7c00,0xffff,0xffff,0xffff,0xffff,0xffff, + 0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff +}; + +static int rs_b166img[] = { + 0x0000,0x3800,0x7c00,0xc7ff,0xc3ff,0xc003,0xc003,0xc103, + 0xc103,0xc7c3,0xc103,0xc103,0xc003,0xc003,0xffff,0xffff, + 0x0000,0x3800,0x7c00,0xc7ff,0xc3ff,0xc003,0xc003,0xc103, + 0xc103,0xc7c3,0xc103,0xc103,0xc003,0xc003,0xffff,0xffff, + 0x0000,0x3800,0x7c00,0xc7ff,0xc3ff,0xc003,0xc003,0xc103, + 0xc103,0xc7c3,0xc103,0xc103,0xc003,0xc003,0xffff,0xffff, + 0x0000,0x3800,0x7c00,0xc7ff,0xc3ff,0xc003,0xc003,0xc103, + 0xc103,0xc7c3,0xc103,0xc103,0xc003,0xc003,0xffff,0xffff +}; + +static int rs_b165img[] = { + 0x0000,0x0000,0x1c00,0x3e00,0x7ffe,0x7ffe,0x7ffe,0x7ffe, + 0x7ffe,0x7ffe,0x7ffe,0x7ffe,0x7ffe,0x7ffe,0x7ffe,0x0000 +}; + +static int rs_b164img[] = { + 0x0000,0x0000,0x1c00,0x2200,0x41fe,0x4002,0x4002,0x4102, + 0x4102,0x47c2,0x4102,0x4102,0x4002,0x4002,0x7ffe,0x0000 +}; + +static int rs_b163img[] = { + 0x0000,0x3800,0x7c00,0xffff,0xffff,0xffff,0xffff,0xffff, + 0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff +}; + +static int rs_b162img[] = { + 0x0000,0x3800,0x7c00,0xc7ff,0xc3ff,0xc003,0xc003,0xc103, + 0xc103,0xc7c3,0xc103,0xc103,0xc003,0xc003,0xffff,0xffff +}; + +static int rs_b161img[] = { + 0x0000,0x3800,0x7c00,0xc7ff,0xc3ff,0xc003,0xc003,0xc103, + 0xc103,0xc7c3,0xc103,0xc103,0xc003,0xc003,0xffff,0xffff +}; + +static int rs_b160img[] = { + 0x0000,0x3800,0x7c00,0xffff,0xffff,0xffff,0xffff,0xffff, + 0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff +}; + +static int rs_b159img[] = { + 0x0000,0x3fe0,0x3ff0,0x3ff8,0x3ffc,0x3ffc,0x3ffc,0x3ffc, + 0x3ffc,0x3ffc,0x3ffc,0x3ffc,0x3ffc,0x3ffc,0x3ffc,0x0000 +}; + +static int rs_b158img[] = { + 0x0000,0x3fe0,0x2050,0x2048,0x2044,0x207c,0x2104,0x2104, + 0x27c4,0x2104,0x2104,0x2004,0x2004,0x2004,0x3ffc,0x0000, + 0x0000,0x3fe0,0x2050,0x2048,0x2044,0x207c,0x2104,0x2104, + 0x27c4,0x2104,0x2104,0x2004,0x2004,0x2004,0x3ffc,0x0000, + 0x0000,0x3fe0,0x2050,0x2048,0x2044,0x207c,0x2104,0x2104, + 0x27c4,0x2104,0x2104,0x2004,0x2004,0x2004,0x3ffc,0x0000, + 0x0000,0x3fe0,0x2050,0x2048,0x2044,0x207c,0x2104,0x2104, + 0x27c4,0x2104,0x2104,0x2004,0x2004,0x2004,0x3ffc,0x0000, + 0x0000,0x3fe0,0x2050,0x2048,0x2044,0x207c,0x2104,0x2104, + 0x27c4,0x2104,0x2104,0x2004,0x2004,0x2004,0x3ffc,0x0000, + 0x0000,0x3fe0,0x2050,0x2048,0x2044,0x207c,0x2104,0x2104, + 0x27c4,0x2104,0x2104,0x2004,0x2004,0x2004,0x3ffc,0x0000, + 0x0000,0x3fe0,0x2050,0x2048,0x2044,0x207c,0x2104,0x2104, + 0x27c4,0x2104,0x2104,0x2004,0x2004,0x2004,0x3ffc,0x0000, + 0x0000,0x3fe0,0x2050,0x2048,0x2044,0x207c,0x2104,0x2104, + 0x27c4,0x2104,0x2104,0x2004,0x2004,0x2004,0x3ffc,0x0000 +}; + +static int rs_b157img[] = { + 0x7fe0,0x7ff0,0x7ff8,0x7ffc,0x7ffe,0x7ffe,0x7ffe,0x7ffe, + 0x7ffe,0x7ffe,0x7ffe,0x7ffe,0x7ffe,0x7ffe,0x7ffe,0x7ffe +}; + +static int rs_b156img[] = { + 0x7fe0,0x7ff0,0x6068,0x6064,0x607e,0x607e,0x6106,0x6106, + 0x67c6,0x6106,0x6106,0x6006,0x6006,0x6006,0x7ffe,0x7ffe, + 0x7fe0,0x7ff0,0x6068,0x6064,0x607e,0x607e,0x6106,0x6106, + 0x67c6,0x6106,0x6106,0x6006,0x6006,0x6006,0x7ffe,0x7ffe, + 0x7fe0,0x7ff0,0x6068,0x6064,0x607e,0x607e,0x6106,0x6106, + 0x67c6,0x6106,0x6106,0x6006,0x6006,0x6006,0x7ffe,0x7ffe, + 0x7fe0,0x7ff0,0x6068,0x6064,0x607e,0x607e,0x6106,0x6106, + 0x67c6,0x6106,0x6106,0x6006,0x6006,0x6006,0x7ffe,0x7ffe, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000 +}; + +static int rs_b155img[] = { + 0x0000,0x3fe0,0x3ff0,0x3ff8,0x3ffc,0x3ffc,0x3ffc,0x3ffc, + 0x3ffc,0x3ffc,0x3ffc,0x3ffc,0x3ffc,0x3ffc,0x3ffc,0x0000 +}; + +static int rs_b154img[] = { + 0x0000,0x3fe0,0x2050,0x2048,0x2044,0x207c,0x2104,0x2104, + 0x27c4,0x2104,0x2104,0x2004,0x2004,0x2004,0x3ffc,0x0000, + 0x0000,0x3fe0,0x2050,0x2048,0x2044,0x207c,0x2104,0x2104, + 0x27c4,0x2104,0x2104,0x2004,0x2004,0x2004,0x3ffc,0x0000, + 0x0000,0x3fe0,0x2050,0x2048,0x2044,0x207c,0x2104,0x2104, + 0x27c4,0x2104,0x2104,0x2004,0x2004,0x2004,0x3ffc,0x0000, + 0x0000,0x3fe0,0x2050,0x2048,0x2044,0x207c,0x2104,0x2104, + 0x27c4,0x2104,0x2104,0x2004,0x2004,0x2004,0x3ffc,0x0000 +}; + +static int rs_b153img[] = { + 0x7fe0,0x7ff0,0x7ff8,0x7ffc,0x7ffe,0x7ffe,0x7ffe,0x7ffe, + 0x7ffe,0x7ffe,0x7ffe,0x7ffe,0x7ffe,0x7ffe,0x7ffe,0x7ffe +}; + +static int rs_b152img[] = { + 0x7fe0,0x7ff0,0x6028,0x6024,0x603e,0x6006,0x6106,0x6106, + 0x67c6,0x6106,0x6106,0x6006,0x6006,0x6006,0x7ffe,0x7ffe, + 0x7fe0,0x7ff0,0x6028,0x6024,0x603e,0x6006,0x6106,0x6106, + 0x67c6,0x6106,0x6106,0x6006,0x6006,0x6006,0x7ffe,0x7ffe, + 0x7fe0,0x7ff0,0x6028,0x6024,0x603e,0x6006,0x6106,0x6106, + 0x67c6,0x6106,0x6106,0x6006,0x6006,0x6006,0x7ffe,0x7ffe, + 0x7fe0,0x7ff0,0x6028,0x6024,0x603e,0x6006,0x6106,0x6106, + 0x67c6,0x6106,0x6106,0x6006,0x6006,0x6006,0x7ffe,0x7ffe +}; + +static int rs_b151img[] = { + 0x0000,0x3fe0,0x3ff0,0x3ff8,0x3ffc,0x3ffc,0x3ffc,0x3ffc, + 0x3ffc,0x3ffc,0x3ffc,0x3ffc,0x3ffc,0x3ffc,0x3ffc,0x0000 +}; + +static int rs_b150img[] = { + 0x0000,0x3fe0,0x2050,0x2048,0x2044,0x207c,0x2104,0x2104, + 0x27c4,0x2104,0x2104,0x2004,0x2004,0x2004,0x3ffc,0x0000 +}; + +static int rs_b149img[] = { + 0x7fe0,0x7ff0,0x7ff8,0x7ffc,0x7ffe,0x7ffe,0x7ffe,0x7ffe, + 0x7ffe,0x7ffe,0x7ffe,0x7ffe,0x7ffe,0x7ffe,0x7ffe,0x7ffe +}; + +static int rs_b148img[] = { + 0x7fe0,0x7ff0,0x6068,0x6064,0x607e,0x607e,0x6106,0x6106, + 0x67c6,0x6106,0x6106,0x6006,0x6006,0x6006,0x7ffe,0x7ffe +}; + +static int rs_b147img[] = { + 0x7fe0,0x7ff0,0x6068,0x6064,0x607e,0x607e,0x6106,0x6106, + 0x67c6,0x6106,0x6106,0x6006,0x6006,0x6006,0x7ffe,0x7ffe +}; + +static int rs_b146img[] = { + 0x7fe0,0x7ff0,0x7ff8,0x7ffc,0x7ffe,0x7ffe,0x7ffe,0x7ffe, + 0x7ffe,0x7ffe,0x7ffe,0x7ffe,0x7ffe,0x7ffe,0x7ffe,0x7ffe +}; + +static int rs_b145img[] = { + 0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000,0x781e,0x781e, + 0x781e,0x781e,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000 +}; + +static int rs_b144img[] = { + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000,0x781e,0x781e, + 0x781e,0x781e,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000, + 0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000,0x781e,0x781e, + 0x781e,0x781e,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000, + 0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000,0x781e,0x781e, + 0x781e,0x781e,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000 +}; + +static int rs_b143img[] = { + 0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000,0x781e,0x781e, + 0x781e,0x781e,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000 +}; + +static int rs_b142img[] = { + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000,0x781e,0x781e, + 0x781e,0x781e,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000 +}; + +static int rs_b141img[] = { + 0x0000,0x1e78,0x1278,0x1278,0x1e78,0x0000,0x781e,0x781e, + 0x781e,0x781e,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000 +}; + +static int rs_b140img[] = { + 0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000,0x781e,0x781e, + 0x781e,0x781e,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000 +}; + +static int rs_b139img[] = { + 0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000,0x781e,0x781e, + 0x781e,0x781e,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000 +}; + +static int rs_b138img[] = { + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x1e00,0x1e00,0x1e00,0x1e00,0x0000,0x001e,0x001e, + 0x001e,0x001e,0x0000,0x1e00,0x1e00,0x1e00,0x1e00,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x001e,0x001e, + 0x001e,0x001e,0x0000,0x0078,0x0078,0x0078,0x0078,0x0000, + 0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000,0x781e,0x781e, + 0x781e,0x781e,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000 +}; + +static int rs_b137img[] = { + 0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000,0x781e,0x781e, + 0x781e,0x781e,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000 +}; + +static int rs_b136img[] = { + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000,0x781e,0x781e, + 0x781e,0x781e,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000 +}; + +static int rs_b135img[] = { + 0x0000,0x1e78,0x1278,0x1278,0x1e78,0x0000,0x781e,0x781e, + 0x781e,0x781e,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000 +}; + +static int rs_b134img[] = { + 0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000,0x781e,0x781e, + 0x781e,0x781e,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000 +}; + +static int rs_b133img[] = { + 0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000,0x781e,0x781e, + 0x781e,0x781e,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000 +}; + +static int rs_b132img[] = { + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0078,0x0078,0x0078,0x0078,0x0000,0x7800,0x7800, + 0x7800,0x7800,0x0000,0x0078,0x0078,0x0078,0x0078,0x0000, + 0x0000,0x0078,0x0078,0x0078,0x0078,0x0000,0x001e,0x001e, + 0x001e,0x001e,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x1e00,0x1e00,0x1e00,0x1e00,0x0000,0x7800,0x7800, + 0x7800,0x7800,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000,0x781e,0x781e, + 0x781e,0x781e,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000 +}; + +static int rs_b131img[] = { + 0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000,0x781e,0x781e, + 0x781e,0x781e,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000 +}; + +static int rs_b130img[] = { + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x1e78,0x1278,0x1278,0x1e78,0x0000,0x781e,0x781e, + 0x781e,0x781e,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000 +}; + +static int rs_b129img[] = { + 0x0000,0x1e78,0x1278,0x1278,0x1e78,0x0000,0x781e,0x481e, + 0x481e,0x781e,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000 +}; + +static int rs_b128img[] = { + 0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000,0x781e,0x781e, + 0x781e,0x781e,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000 +}; + +static int rs_b127img[] = { + 0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000,0x781e,0x781e, + 0x781e,0x781e,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000 +}; + +static int rs_b126img[] = { + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x1e00,0x1e00,0x1e00,0x1e00,0x0000,0x001e,0x001e, + 0x001e,0x001e,0x0000,0x1e00,0x1e00,0x1e00,0x1e00,0x0000, + 0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x7800,0x7800, + 0x7800,0x7800,0x0000,0x1e00,0x1e00,0x1e00,0x1e00,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000,0x781e,0x781e, + 0x781e,0x781e,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000 +}; + +static int rs_b125img[] = { + 0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000,0x781e,0x781e, + 0x781e,0x781e,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000 +}; + +static int rs_b124img[] = { + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x1e78,0x1278,0x1278,0x1e78,0x0000,0x781e,0x481e, + 0x481e,0x781e,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000 +}; + +static int rs_b123img[] = { + 0x0000,0x1e78,0x1278,0x1278,0x1e78,0x0000,0x781e,0x481e, + 0x481e,0x781e,0x0000,0x1e78,0x1278,0x1278,0x1e78,0x0000 +}; + +static int rs_b122img[] = { + 0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000,0x781e,0x781e, + 0x781e,0x781e,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000 +}; + +static int rs_b121img[] = { + 0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000,0x781e,0x781e, + 0x781e,0x781e,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000 +}; + +static int rs_b120img[] = { + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0078,0x0078,0x0078,0x0078,0x0000,0x7800,0x7800, + 0x7800,0x7800,0x0000,0x0078,0x0078,0x0078,0x0078,0x0000, + 0x0000,0x1e00,0x1e00,0x1e00,0x1e00,0x0000,0x7800,0x7800, + 0x7800,0x7800,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000,0x781e,0x781e, + 0x781e,0x781e,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000 +}; + +static int rs_b119img[] = { + 0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000,0x781e,0x781e, + 0x781e,0x781e,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000 +}; + +static int rs_b118img[] = { + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x1e78,0x1278,0x1278,0x1e78,0x0000,0x781e,0x481e, + 0x481e,0x781e,0x0000,0x1e78,0x1278,0x1278,0x1e78,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000 +}; + +static int rs_b117img[] = { + 0x0000,0x1e78,0x1278,0x1278,0x1e78,0x0000,0x781e,0x481e, + 0x481e,0x781e,0x0000,0x1e78,0x1248,0x1248,0x1e78,0x0000 +}; + +static int rs_b116img[] = { + 0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000,0x781e,0x781e, + 0x781e,0x781e,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000 +}; + +static int rs_b115img[] = { + 0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000,0x781e,0x781e, + 0x781e,0x781e,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000 +}; + +static int rs_b114img[] = { + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x1e00,0x1e00,0x1e00,0x1e00,0x0000,0x001e,0x001e, + 0x001e,0x001e,0x0000,0x1e00,0x1e00,0x1e00,0x1e00,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x7800,0x7800, + 0x7800,0x7800,0x0000,0x1e00,0x1e00,0x1e00,0x1e00,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x001e,0x001e, + 0x001e,0x001e,0x0000,0x0078,0x0078,0x0078,0x0078,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000,0x781e,0x781e, + 0x781e,0x781e,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000 +}; + +static int rs_b113img[] = { + 0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000,0x781e,0x781e, + 0x781e,0x781e,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000 +}; + +static int rs_b112img[] = { + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x1e78,0x1278,0x1278,0x1e78,0x0000,0x781e,0x481e, + 0x481e,0x781e,0x0000,0x1e78,0x1248,0x1248,0x1e78,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000 +}; + +static int rs_b111img[] = { + 0x0000,0x1e78,0x1278,0x1278,0x1e78,0x0000,0x781e,0x4812, + 0x4812,0x781e,0x0000,0x1e78,0x1248,0x1248,0x1e78,0x0000 +}; + +static int rs_b110img[] = { + 0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000,0x781e,0x781e, + 0x781e,0x781e,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000 +}; + +static int rs_b109img[] = { + 0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000,0x781e,0x781e, + 0x781e,0x781e,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000 +}; + +static int rs_b108img[] = { + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0078,0x0078,0x0078,0x0078,0x0000,0x7800,0x7800, + 0x7800,0x7800,0x0000,0x0078,0x0078,0x0078,0x0078,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000, + 0x0000,0x0078,0x0078,0x0078,0x0078,0x0000,0x001e,0x001e, + 0x001e,0x001e,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000,0x781e,0x781e, + 0x781e,0x781e,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000 +}; + +static int rs_b107img[] = { + 0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000,0x781e,0x781e, + 0x781e,0x781e,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000 +}; + +static int rs_b106img[] = { + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x1e78,0x1278,0x1278,0x1e78,0x0000,0x781e,0x4812, + 0x4812,0x781e,0x0000,0x1e78,0x1248,0x1248,0x1e78,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000 +}; + +static int rs_b105img[] = { + 0x0000,0x1e78,0x1248,0x1248,0x1e78,0x0000,0x781e,0x4812, + 0x4812,0x781e,0x0000,0x1e78,0x1248,0x1248,0x1e78,0x0000 +}; + +static int rs_b104img[] = { + 0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000,0x781e,0x781e, + 0x781e,0x781e,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000 +}; + +static int rs_b103img[] = { + 0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000,0x781e,0x781e, + 0x781e,0x781e,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000 +}; + +static int rs_b102img[] = { + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x1e00,0x1e00,0x1e00,0x1e00,0x0000,0x001e,0x001e, + 0x001e,0x001e,0x0000,0x1e00,0x1e00,0x1e00,0x1e00,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x001e,0x001e, + 0x001e,0x001e,0x0000,0x0078,0x0078,0x0078,0x0078,0x0000, + 0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000,0x781e,0x781e, + 0x781e,0x781e,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000 +}; + +static int rs_b101img[] = { + 0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000,0x781e,0x781e, + 0x781e,0x781e,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000 +}; + +static int rs_b100img[] = { + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x1e78,0x1e48,0x1e48,0x1e78,0x0000,0x781e,0x4812, + 0x4812,0x781e,0x0000,0x1e78,0x1248,0x1248,0x1e78,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000 +}; + +static int rs_b99img[] = { + 0x0000,0x1e78,0x1e48,0x1e48,0x1e78,0x0000,0x781e,0x4812, + 0x4812,0x781e,0x0000,0x1e78,0x1248,0x1248,0x1e78,0x0000 +}; + +static int rs_b98img[] = { + 0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000,0x781e,0x781e, + 0x781e,0x781e,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000 +}; + +static int rs_b97img[] = { + 0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000,0x781e,0x781e, + 0x781e,0x781e,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000 +}; + +static int rs_b96img[] = { + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0078,0x0078,0x0078,0x0078,0x0000,0x7800,0x7800, + 0x7800,0x7800,0x0000,0x0078,0x0078,0x0078,0x0078,0x0000, + 0x0000,0x0078,0x0078,0x0078,0x0078,0x0000,0x001e,0x001e, + 0x001e,0x001e,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x1e00,0x1e00,0x1e00,0x1e00,0x0000,0x7800,0x7800, + 0x7800,0x7800,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000,0x781e,0x781e, + 0x781e,0x781e,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000 +}; + +static int rs_b95img[] = { + 0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000,0x781e,0x781e, + 0x781e,0x781e,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000 +}; + +static int rs_b94img[] = { + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x1e78,0x1e48,0x1e48,0x1e78,0x0000,0x781e,0x7812, + 0x7812,0x781e,0x0000,0x1e78,0x1248,0x1248,0x1e78,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000 +}; + +static int rs_b93img[] = { + 0x0000,0x1e78,0x1e48,0x1e48,0x1e78,0x0000,0x781e,0x7812, + 0x7812,0x781e,0x0000,0x1e78,0x1248,0x1248,0x1e78,0x0000 +}; + +static int rs_b92img[] = { + 0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000,0x781e,0x781e, + 0x781e,0x781e,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000 +}; + +static int rs_b91img[] = { + 0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000,0x781e,0x781e, + 0x781e,0x781e,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000 +}; + +static int rs_b90img[] = { + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x1e00,0x1e00,0x1e00,0x1e00,0x0000,0x001e,0x001e, + 0x001e,0x001e,0x0000,0x1e00,0x1e00,0x1e00,0x1e00,0x0000, + 0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x7800,0x7800, + 0x7800,0x7800,0x0000,0x1e00,0x1e00,0x1e00,0x1e00,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000,0x781e,0x781e, + 0x781e,0x781e,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000 +}; + +static int rs_b89img[] = { + 0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000,0x781e,0x781e, + 0x781e,0x781e,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000 +}; + +static int rs_b88img[] = { + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x1e78,0x1e48,0x1e48,0x1e78,0x0000,0x781e,0x7812, + 0x7812,0x781e,0x0000,0x1e78,0x1e48,0x1e48,0x1e78,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000 +}; + +static int rs_b87img[] = { + 0x0000,0x1e78,0x1e48,0x1e48,0x1e78,0x0000,0x781e,0x7812, + 0x7812,0x781e,0x0000,0x1e78,0x1e48,0x1e48,0x1e78,0x0000 +}; + +static int rs_b86img[] = { + 0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000,0x781e,0x781e, + 0x781e,0x781e,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000 +}; + +static int rs_b85img[] = { + 0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000,0x781e,0x781e, + 0x781e,0x781e,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000 +}; + +static int rs_b84img[] = { + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0078,0x0078,0x0078,0x0078,0x0000,0x7800,0x7800, + 0x7800,0x7800,0x0000,0x0078,0x0078,0x0078,0x0078,0x0000, + 0x0000,0x1e00,0x1e00,0x1e00,0x1e00,0x0000,0x7800,0x7800, + 0x7800,0x7800,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000,0x781e,0x781e, + 0x781e,0x781e,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000 +}; + +static int rs_b83img[] = { + 0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000,0x781e,0x781e, + 0x781e,0x781e,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000 +}; + +static int rs_b82img[] = { + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x1e78,0x1e48,0x1e48,0x1e78,0x0000,0x781e,0x7812, + 0x7812,0x781e,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000 +}; + +static int rs_b81img[] = { + 0x0000,0x1e78,0x1e48,0x1e48,0x1e78,0x0000,0x781e,0x7812, + 0x7812,0x781e,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000 +}; + +static int rs_b80img[] = { + 0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000,0x781e,0x781e, + 0x781e,0x781e,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000 +}; + +static int rs_b79img[] = { + 0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000,0x781e,0x781e, + 0x781e,0x781e,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000 +}; + +static int rs_b78img[] = { + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x1e00,0x1e00,0x1e00,0x1e00,0x0000,0x001e,0x001e, + 0x001e,0x001e,0x0000,0x1e00,0x1e00,0x1e00,0x1e00,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x7800,0x7800, + 0x7800,0x7800,0x0000,0x1e00,0x1e00,0x1e00,0x1e00,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x001e,0x001e, + 0x001e,0x001e,0x0000,0x0078,0x0078,0x0078,0x0078,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000,0x781e,0x781e, + 0x781e,0x781e,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000 +}; + +static int rs_b77img[] = { + 0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000,0x781e,0x781e, + 0x781e,0x781e,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000 +}; + +static int rs_b76img[] = { + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x1e78,0x1e48,0x1e48,0x1e78,0x0000,0x781e,0x781e, + 0x781e,0x781e,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000 +}; + +static int rs_b75img[] = { + 0x0000,0x1e78,0x1e48,0x1e48,0x1e78,0x0000,0x781e,0x781e, + 0x781e,0x781e,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000 +}; + +static int rs_b74img[] = { + 0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000,0x781e,0x781e, + 0x781e,0x781e,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000 +}; + +static int rs_b73img[] = { + 0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000,0x781e,0x781e, + 0x781e,0x781e,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000 +}; + +static int rs_b72img[] = { + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0078,0x0078,0x0078,0x0078,0x0000,0x7800,0x7800, + 0x7800,0x7800,0x0000,0x0078,0x0078,0x0078,0x0078,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000, + 0x0000,0x0078,0x0078,0x0078,0x0078,0x0000,0x001e,0x001e, + 0x001e,0x001e,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000,0x781e,0x781e, + 0x781e,0x781e,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000 +}; + +static int rs_b71img[] = { + 0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000,0x781e,0x781e, + 0x781e,0x781e,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000 +}; + +static int rs_b70img[] = { + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000,0x781e,0x781e, + 0x781e,0x781e,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000 +}; + +static int rs_b69img[] = { + 0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000,0x781e,0x781e, + 0x781e,0x781e,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000 +}; + +static int rs_b68img[] = { + 0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000,0x781e,0x781e, + 0x781e,0x781e,0x0000,0x1e78,0x1e78,0x1e78,0x1e78,0x0000 +}; + +static int rs_b67img[] = { + 0xffff,0xfffe,0xffff,0xffff,0xc000,0x0003,0xc03f,0xe003, + 0xc03f,0xf003,0xc03f,0xf003,0xc03f,0xf003,0xc03f,0xf003, + 0xc03f,0xf003,0xc03f,0xf003,0xc03f,0xf003,0xc03f,0xf003, + 0xc03f,0xf003,0xc03f,0xf003,0xc03f,0xf003,0xc03f,0xf003, + 0xc03f,0xf003,0xc03f,0xf003,0xc03f,0xf003,0xc01f,0xf003, + 0xc000,0x0003,0xc03f,0xe003,0xc03f,0xf003,0xc03f,0xf003, + 0xc03f,0xf003,0xc03f,0xf003,0xc03f,0xf003,0xc01f,0xf003, + 0xc000,0x0003,0xc000,0x0003,0xffff,0xffff,0x7fff,0xffff +}; + +static int rs_b66img[] = { + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x001f,0xf000,0x001f,0xf000,0x001f,0xf000,0x001f,0xf000, + 0x001f,0xf000,0x001f,0xf000,0x001f,0xf000,0x001f,0xf000, + 0x001f,0xf000,0x001f,0xf000,0x001f,0xf000,0x001f,0xf000, + 0x001f,0xf000,0x001f,0xf000,0x001f,0xf000,0x001f,0xf000, + 0x0000,0x0000,0x0000,0x0000,0x001f,0xf000,0x001f,0xf000, + 0x001f,0xf000,0x001f,0xf000,0x001f,0xf000,0x001f,0xf000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0xffff,0xfffe,0x8000,0x0002,0x8000,0x0002,0x8000,0x0002, + 0x8000,0x0002,0x8000,0x0002,0x8000,0x0002,0x8000,0x0002, + 0x8000,0x0002,0x8000,0x0002,0x8000,0x0002,0x8000,0x0002, + 0x8000,0x0002,0x8000,0x0002,0x8000,0x0002,0x8000,0x0002, + 0x8000,0x0002,0x8000,0x0002,0x8000,0x0002,0x8000,0x0002, + 0x8000,0x0002,0x8000,0x0002,0x8000,0x0002,0x8000,0x0002, + 0x8000,0x0002,0x8000,0x0002,0x8000,0x0002,0x8000,0x0002, + 0x8000,0x0002,0x8000,0x0002,0xffff,0xfffe,0x0000,0x0000 +}; + +static int rs_b65img[] = { + 0x0000,0x0000,0x001f,0xf000,0x001f,0xf000,0x001f,0xf000, + 0x001f,0xf000,0x001f,0xf000,0x001f,0xf000,0x001f,0xf000, + 0x001f,0xf000,0x001f,0xf000,0x001f,0xf000,0x001f,0xf000, + 0x001f,0xf000,0x001f,0xf000,0x001f,0xf000,0x001f,0xf000, + 0x001f,0xf000,0x001f,0xf000,0x001f,0xf000,0x001f,0xf000, + 0x001f,0xf000,0x001f,0xf000,0x0000,0x0000,0x0000,0x0000, + 0x001f,0xf000,0x001f,0xf000,0x001f,0xf000,0x001f,0xf000, + 0x001f,0xf000,0x001f,0xf000,0x001f,0xf000,0x001f,0xf000 +}; + +static int rs_b64img[] = { + 0x0000,0x0000,0x001f,0xf000,0x001f,0xf000,0x001f,0xf000, + 0x001f,0xf000,0x001f,0xf000,0x001f,0xf000,0x001f,0xf000, + 0x001f,0xf000,0x001f,0xf000,0x001f,0xf000,0x001f,0xf000, + 0x001f,0xf000,0x001f,0xf000,0x001f,0xf000,0x001f,0xf000, + 0x001f,0xf000,0x001f,0xf000,0x001f,0xf000,0x001f,0xf000, + 0x001f,0xf000,0x001f,0xf000,0x0000,0x0000,0x0000,0x0000, + 0x001f,0xf000,0x001f,0xf000,0x001f,0xf000,0x001f,0xf000, + 0x001f,0xf000,0x001f,0xf000,0x001f,0xf000,0x001f,0xf000 +}; + +static int rs_b63img[] = { + 0x0000,0x0000,0x0000,0x0038,0x007c,0x00fe,0x7ffe,0xfffe, + 0x7ffe,0x7ffe,0x2bfe,0x007c,0x0038,0x0000,0x0000,0x0000 +}; + +static int rs_b62img[] = { + 0x0000,0x0000,0x0000,0x0038,0x004c,0x00be,0x7f3e,0xfffe, + 0x7ffe,0x7ffe,0x2bfe,0x007c,0x0038,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0038,0x004c,0x00be,0x7f3e,0xfffe, + 0x7ffe,0x7ffe,0x2bfe,0x007c,0x0038,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0038,0x0044,0x0082,0x7f12,0x8012, + 0x4012,0x5402,0x2b82,0x0044,0x0038,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0038,0x0044,0x0082,0x7f16,0x8016, + 0x47d6,0x7fd6,0x2bfe,0x007c,0x0038,0x0000,0x0000,0x0000 +}; + +static int rs_b61img[] = { + 0x0000,0x0000,0x0000,0x0038,0x0044,0x0082,0x7f12,0x8012, + 0x4012,0x5412,0x2b82,0x0044,0x0038,0x0000,0x0000,0x0000 +}; + +static int rs_b60img[] = { + 0x0000,0x0000,0x0000,0x0038,0x007c,0x00fe,0x7ffe,0xfffe, + 0x7ffe,0x7ffe,0x2bfe,0x007c,0x0038,0x0000,0x0000,0x0000 +}; + +static int rs_b59img[] = { + 0x0000,0x0380,0x07c0,0x0fe0,0x0fe0,0x0fe0,0x07c0,0x0380, + 0x07c0,0x0fe0,0x1ff0,0x1ff0,0x1ff0,0x1ff0,0x0000,0x0000 +}; + +static int rs_b58img[] = { + 0x0000,0x0380,0x04c0,0x09a0,0x0ba0,0x0b20,0x0640,0x0380, + 0x0440,0x0820,0x1010,0x1010,0x1010,0x1ff0,0x0000,0x0000, + 0x0000,0x0380,0x04c0,0x09a0,0x0ba0,0x0b20,0x0640,0x0380, + 0x05c0,0x0be0,0x17f0,0x17f0,0x1ff0,0x1ff0,0x0000,0x0000, + 0x0000,0x0380,0x04c0,0x09a0,0x0ba0,0x0b20,0x0640,0x0380, + 0x05c0,0x0be0,0x17f0,0x17f0,0x1ff0,0x1ff0,0x0000,0x0000, + 0x0000,0x0380,0x0440,0x0860,0x0860,0x08e0,0x05c0,0x0380, + 0x0440,0x0860,0x1030,0x1070,0x17f0,0x1ff0,0x0000,0x0000 +}; + +static int rs_b57img[] = { + 0x0000,0x0380,0x0440,0x0820,0x0860,0x08a0,0x0540,0x0380, + 0x0540,0x0aa0,0x1570,0x1ab0,0x15f0,0x1ff0,0x0000,0x0000 +}; + +static int rs_b56img[] = { + 0x0000,0x0380,0x07c0,0x0fe0,0x0fe0,0x0fe0,0x07c0,0x0380, + 0x07c0,0x0fe0,0x1ff0,0x1ff0,0x1ff0,0x1ff0,0x0000,0x0000 +}; + +static int rs_b55img[] = { + 0x03e0,0x0ff8,0x1ffc,0x3ffe,0x3ffe,0x7fff,0x7fff,0x7fff, + 0x7fff,0x7fff,0x3ffe,0x3ffe,0x1ffc,0x0ff8,0x03e0,0x0000 +}; + +static int rs_b54img[] = { + 0x03e0,0x0d18,0x1604,0x2d5a,0x3e4a,0x4c89,0x5679,0x4c01, + 0x6403,0x4009,0x2062,0x2702,0x1004,0x0c18,0x03e0,0x0000, + 0x03e0,0x0ff8,0x1ffc,0x3fde,0x3fce,0x7f8d,0x7ffd,0x7ffb, + 0x7fff,0x7fe9,0x2ef2,0x27a2,0x1144,0x0c18,0x03e0,0x0000, + 0x03e0,0x0ff8,0x1ffc,0x3fde,0x3fce,0x7f8d,0x7ffd,0x7ffb, + 0x7fff,0x7fe9,0x2ef2,0x27a2,0x1144,0x0c18,0x03e0,0x0000, + 0x03e0,0x0c18,0x1204,0x2002,0x2402,0x4403,0x4003,0x4405, + 0x4403,0x401f,0x316e,0x3f5e,0x1ebc,0x0ff8,0x03e0,0x0000 +}; + +static int rs_b53img[] = { + 0x03e0,0x0ff8,0x1ffc,0x3ffe,0x3ffe,0x7fff,0x7fff,0x7fff, + 0x7fff,0x7fff,0x3ffe,0x3ffe,0x1ffc,0x0ff8,0x03e0,0x0000 +}; + +static int rs_b52img[] = { + 0x0120,0x0838,0x100c,0x2006,0x2002,0x4001,0x0020,0x0001, + 0x4001,0x4005,0x310a,0x3a06,0x0a0c,0x0d18,0x0020,0x0000, + 0x03e0,0x0d18,0x1604,0x2d52,0x1e4a,0x4c8b,0x5673,0x4c05, + 0x6403,0x401b,0x2066,0x275a,0x04bc,0x0ef8,0x02e0,0x0000, + 0x0260,0x01c0,0x10d0,0x2908,0x1284,0x4080,0x5589,0x32e1, + 0x7380,0x7f03,0x0e8a,0x0004,0x1018,0x0550,0x03c0,0x0000, + 0x01a0,0x0730,0x1928,0x3b8c,0x1302,0x738a,0x3c2a,0x4114, + 0x2800,0x4015,0x1104,0x1858,0x0ea8,0x02a0,0x0000,0x0000, + 0x03c0,0x0fd8,0x09f4,0x1b8a,0x1386,0x338d,0x7dad,0x73fb, + 0x7bfd,0x3fe0,0x2e92,0x20a2,0x114c,0x0c18,0x03e0,0x0000, + 0x0180,0x0cd8,0x00d4,0x000a,0x0086,0x0009,0x01a8,0x72e0, + 0x1381,0x3f02,0x2e88,0x2006,0x1014,0x0948,0x0120,0x0000, + 0x0000,0x08e8,0x06dc,0x0456,0x2ccc,0x0c0f,0x03f6,0x3eee, + 0x17ff,0x3ffc,0x3ff4,0x3ffa,0x1fe4,0x0aa8,0x0120,0x0000, + 0x0000,0x0b08,0x0d24,0x1fda,0x1b48,0x3b89,0x3e78,0x0910, + 0x2801,0x0000,0x2000,0x2002,0x1004,0x0808,0x0120,0x0000 +}; + +static int rs_b51img[] = { + 0x03e0,0x0c18,0x1224,0x2052,0x244a,0x4485,0x4059,0x4421, + 0x4403,0x400d,0x3062,0x2702,0x1004,0x0d18,0x03e0,0x0000 +}; + +static int rs_b50img[] = { + 0x03e0,0x0ff8,0x1ffc,0x3ffe,0x3ffe,0x7fff,0x7fff,0x7fff, + 0x7fff,0x7fff,0x3ffe,0x3ffe,0x1ffc,0x0ff8,0x03e0,0x0000 +}; + +static int rs_b49img[] = { + 0x000f,0xe000,0x007f,0xfc00,0x01ff,0xff00,0x03ff,0xff80, + 0x07ff,0xffc0,0x0fff,0xffe0,0x1fff,0xfff0,0x3fff,0xfff8, + 0x3fff,0xfff8,0x7fff,0xfffc,0x7fff,0xfffc,0x7fff,0xfffc, + 0xffff,0xfffe,0xffff,0xfffe,0xffff,0xfffe,0xffff,0xfffe, + 0xffff,0xfffe,0xffff,0xfffe,0xffff,0xfffe,0x7fff,0xfffc, + 0x7fff,0xfffc,0x7fff,0xfffc,0x3fff,0xfff8,0x3fff,0xfff8, + 0x1fff,0xfff0,0x0fff,0xffe0,0x07ff,0xffc0,0x03ff,0xff80, + 0x01ff,0xff00,0x007f,0xfc00,0x000f,0xe000,0x0000,0x0000 +}; + +static int rs_b48img[] = { + 0x000f,0xe000,0x0070,0x1c00,0x0180,0x0300,0x0200,0x0080, + 0x0500,0x0040,0x0a00,0x0420,0x1000,0x2090,0x2000,0x0008, + 0x2600,0x0008,0x4600,0x0004,0x4400,0x8004,0x4000,0x0004, + 0x8000,0x0042,0x8000,0x0002,0x8600,0x0002,0x8200,0x0002, + 0x8000,0x0002,0x8000,0x0002,0x8000,0x0002,0x4000,0x0004, + 0x4300,0x0004,0x4300,0x00e4,0x2180,0x0108,0x3000,0x7808, + 0x151a,0x6810,0x0ef8,0x0020,0x0460,0x0040,0x0210,0x0080, + 0x0180,0x0300,0x007c,0x1c00,0x000f,0xe000,0x0000,0x0000, + 0x000f,0xe000,0x0074,0x1c00,0x01a9,0x0300,0x0224,0x4180, + 0x05d9,0x0840,0x0b54,0x04a0,0x1fe9,0x3090,0x2a94,0x40d8, + 0x3f69,0x40c8,0x6ed4,0xc00c,0x5552,0x8014,0x5548,0x002c, + 0x9551,0x014a,0xc888,0x6a36,0xa724,0x0496,0x8800,0x095a, + 0xa450,0x0456,0x8000,0x12be,0x8000,0x42aa,0x4000,0x156c, + 0x4200,0x92dc,0x4002,0x2b74,0x2148,0xa5d8,0x3405,0x3b78, + 0x13cf,0x32f0,0x0944,0xafa0,0x043b,0x5ac0,0x0365,0xbf80, + 0x01d5,0x7700,0x007b,0xbc00,0x000f,0xe000,0x0000,0x0000, + 0x000f,0xe000,0x0076,0xfc00,0x01ac,0x7f00,0x03a5,0x3f80, + 0x075b,0xb2c0,0x0f51,0x6260,0x1ca9,0x8030,0x2f96,0x8008, + 0x33e8,0x4008,0x6ed1,0x0014,0x5552,0x0004,0x5543,0x8044, + 0x955b,0xc042,0x98dd,0xc082,0xedaf,0xf102,0xa777,0xfe06, + 0xf7ff,0xe90a,0xfedf,0xea06,0xdbff,0xa812,0x7fff,0x520c, + 0x7efd,0xa80c,0x7df6,0x40ec,0x2a5a,0x91a8,0x3554,0xb858, + 0x1b2c,0x1150,0x08c0,0x00a0,0x0420,0x0b40,0x0220,0x2580, + 0x0180,0xab00,0x0074,0x5c00,0x000f,0xe000,0x0000,0x0000, + 0x000f,0xe000,0x007d,0x1c00,0x01fb,0x8300,0x03fe,0xc180, + 0x077d,0x4440,0x0dfe,0x9520,0x1cbf,0x2090,0x3ffd,0x0058, + 0x31ff,0xc0a8,0x7dfe,0x402c,0x7fff,0x8054,0x7ffc,0x402c, + 0xfff5,0x000a,0xefaa,0x7276,0xb574,0x0296,0xde88,0x095e, + 0xaa50,0x045e,0x8120,0x12ba,0xa400,0x42ba,0x4000,0x156c, + 0x4200,0x92d4,0x4302,0x2bfc,0x21c8,0xa438,0x3405,0x5328, + 0x1553,0x7bb0,0x0ef2,0xaf20,0x047b,0x51c0,0x0355,0x9a80, + 0x01d5,0xdf00,0x007f,0xfc00,0x000f,0xe000,0x0000,0x0000, + 0x000f,0xe000,0x007f,0xfc00,0x01ff,0xff00,0x037f,0xfe80, + 0x077f,0xf7c0,0x0fff,0xf760,0x1cbf,0xa0f0,0x3fff,0x8028, + 0x37ff,0xc0b8,0x7fff,0x4034,0x7fff,0x806c,0x7fff,0xc054, + 0xffff,0xc036,0xffff,0xf3ca,0xffff,0xfb6a,0xf9ff,0xf6a2, + 0xfdff,0xfba2,0xffff,0xed42,0xffff,0xbd46,0x7fff,0xea9c, + 0x7cff,0x6d24,0x7dfd,0xd4e4,0x3f37,0x5b88,0x3bfa,0xac88, + 0x1a2e,0xb410,0x0881,0x5060,0x0784,0xa440,0x02aa,0x4080, + 0x01aa,0x0300,0x007c,0x1c00,0x000f,0xe000,0x0000,0x0000, + 0x000f,0xe000,0x0072,0xfc00,0x0185,0x7f00,0x0381,0x7f80, + 0x0702,0xb2c0,0x0c05,0x6660,0x1000,0xa0b0,0x2502,0x8008, + 0x2481,0x0088,0x4405,0x4014,0x4400,0x8004,0x400b,0x8044, + 0x800a,0xc002,0xd055,0xa282,0xce8b,0xf102,0xaf77,0xfe06, + 0xd3af,0xe90a,0xfedf,0xea06,0xdbff,0xa812,0x7fff,0x5204, + 0x7cfd,0xa80c,0x7cf6,0x404c,0x2b5a,0x9028,0x3554,0x8058, + 0x1822,0x2150,0x0800,0x00a0,0x0400,0x0b40,0x0200,0x2580, + 0x0180,0xab00,0x0078,0x5c00,0x000f,0xe000,0x0000,0x0000, + 0x000f,0xe000,0x0072,0xfc00,0x0185,0x7f00,0x0281,0x7f80, + 0x0582,0xbbc0,0x0805,0x66e0,0x1340,0xb0f0,0x2002,0xc0f8, + 0x2c01,0x00d8,0x4405,0xc01c,0x4400,0x803c,0x400b,0x807c, + 0x800a,0xc13e,0xd055,0xabbe,0xce8b,0xfdfe,0xaf77,0xfffa, + 0xd3af,0xfff6,0xfedf,0xfffa,0xdbff,0xffea,0x7fff,0xfff4, + 0x7dff,0xfff4,0x7eff,0xff54,0x3eff,0xfe58,0x3fff,0xc7a8, + 0x1cf1,0xceb0,0x0f3f,0xff60,0x07df,0xf4c0,0x03df,0xda80, + 0x01ff,0x5700,0x0073,0xbc00,0x000f,0xe000,0x0000,0x0000, + 0x000f,0xe000,0x007d,0x1c00,0x01fa,0x8300,0x037e,0x8080, + 0x07fd,0x4c40,0x0ffa,0x95a0,0x1fff,0x3090,0x3ffd,0x4088, + 0x3ffe,0xc0e8,0x7ffa,0xc024,0x7fff,0x8044,0x7ff4,0x4004, + 0xfff5,0x0102,0xafaa,0x7a42,0xb574,0x0602,0xd488,0x0002, + 0xa850,0x0002,0x8120,0x0002,0xa400,0x0002,0x4000,0x0004, + 0x4000,0x0004,0x4000,0x0044,0x2000,0x0008,0x3000,0x0008, + 0x1000,0x0010,0x0800,0x0020,0x0400,0x0040,0x0200,0x0080, + 0x0180,0x0300,0x0070,0x1c00,0x000f,0xe000,0x0000,0x0000 +}; + +static int rs_b47img[] = { + 0x000f,0xe000,0x007f,0xfc00,0x01ff,0xff00,0x03ff,0xff80, + 0x07ff,0xffc0,0x0fff,0xffe0,0x1fff,0xfff0,0x3fff,0xfff8, + 0x3fff,0xfff8,0x7fff,0xfffc,0x7fff,0xfffc,0x7fff,0xfffc, + 0xffff,0xfffe,0xffff,0xfffe,0xffff,0xfffe,0xffff,0xfffe, + 0xffff,0xfffe,0xffff,0xfffe,0xffff,0xfffe,0x7fff,0xfffc, + 0x7fff,0xfffc,0x7fff,0xfffc,0x3fff,0xfff8,0x3fff,0xfff8, + 0x1fff,0xfff0,0x0fff,0xffe0,0x07ff,0xffc0,0x03ff,0xff80, + 0x01ff,0xff00,0x007f,0xfc00,0x000f,0xe000,0x0000,0x0000 +}; + +static int rs_b46img[] = { + 0x000f,0xe000,0x0074,0x1c00,0x01a9,0x0300,0x0324,0x4080, + 0x07d9,0x0840,0x0d54,0x04a0,0x1fe9,0x3090,0x2a94,0x4088, + 0x3d69,0x40c8,0x6cd4,0xc004,0x5552,0x8004,0x5540,0x0004, + 0x9551,0x0142,0xc888,0x6a02,0xa524,0x0402,0x8c00,0x0002, + 0xa450,0x0002,0x8000,0x0002,0x8000,0x0006,0x4000,0x0004, + 0x4200,0x0004,0x4100,0x0044,0x2100,0x0188,0x3000,0x3808, + 0x130e,0x2010,0x0840,0x0020,0x0420,0x0040,0x0220,0x0080, + 0x0180,0x0300,0x0070,0x1c00,0x000f,0xe000,0x0000,0x0000, + 0x000f,0xe000,0x007f,0xfc00,0x01ff,0xff00,0x037f,0xff80, + 0x07ff,0xffc0,0x0fff,0xf7e0,0x1fff,0xb0f0,0x3fff,0xc0a8, + 0x3fff,0xc0f8,0x7fff,0xc034,0x7fff,0x806c,0x7fff,0xc054, + 0xffff,0xc176,0xffff,0xfbca,0xffff,0xff6a,0xfdff,0xf6a6, + 0xfdff,0xfbaa,0xffff,0xed42,0xffff,0xbd56,0x7fff,0xea94, + 0x7eff,0x6d24,0x7dfd,0xd74c,0x3f37,0x5ba8,0x3bfa,0xbc88, + 0x1b2e,0xa510,0x0841,0x5060,0x07a4,0xa540,0x02aa,0x4080, + 0x01aa,0x8b00,0x0070,0x5c00,0x000f,0xe000,0x0000,0x0000, + 0x000f,0xe000,0x007f,0xfc00,0x01ff,0xff00,0x037f,0xff80, + 0x07ff,0xffc0,0x0fff,0xf7e0,0x1fff,0xb0f0,0x3fff,0xc0a8, + 0x3fff,0xc0f8,0x7fff,0xc034,0x7fff,0x806c,0x7fff,0xc054, + 0xffff,0xc176,0xffff,0xfbca,0xffff,0xff6a,0xfdff,0xf6a6, + 0xfdff,0xfbaa,0xffff,0xed42,0xffff,0xbd56,0x7fff,0xea94, + 0x7eff,0x6d24,0x7dfd,0xd74c,0x3f37,0x5ba8,0x3bfa,0xbc88, + 0x1b2e,0xa510,0x0841,0x5060,0x07a4,0xa540,0x02aa,0x4080, + 0x01aa,0x8b00,0x0070,0x5c00,0x000f,0xe000,0x0000,0x0000, + 0x000f,0xe000,0x0070,0x1c00,0x0180,0x0300,0x0280,0x0080, + 0x0500,0x0040,0x0800,0x0020,0x1000,0x0010,0x2000,0x0058, + 0x2400,0x0008,0x4400,0x000c,0x4400,0x0014,0x4000,0x002c, + 0x8000,0x000a,0x8000,0x0036,0x8400,0x0096,0x8600,0x095a, + 0x8600,0x0456,0x8000,0x12be,0x8000,0x42ae,0x4000,0x156c, + 0x4300,0x92dc,0x4302,0x28f4,0x21c8,0xa5d8,0x3405,0x7b78, + 0x17df,0x7af0,0x0ffe,0xafa0,0x047b,0x5ac0,0x0375,0xbf80, + 0x01d5,0x7700,0x007f,0xbc00,0x000f,0xe000,0x0000,0x0000 +}; + +static int rs_b45img[] = { + 0x000f,0xe000,0x0070,0x1c00,0x0180,0x0300,0x0280,0x0080, + 0x0500,0x0840,0x0800,0x08a0,0x1000,0x7790,0x2000,0x2088, + 0x2400,0x2048,0x4400,0xc064,0x4400,0x2084,0x4000,0x2084, + 0x8000,0x3bc2,0x8000,0x6402,0x8400,0x0402,0x8400,0x0002, + 0x8400,0x0002,0x8000,0x0002,0x8000,0x0006,0x4000,0x000c, + 0x4200,0x0004,0x4100,0x0044,0x2100,0x0188,0x3000,0x1808, + 0x130e,0x6010,0x0840,0x0020,0x0420,0x0040,0x0220,0x0080, + 0x0180,0x0300,0x0070,0x1c00,0x000f,0xe000,0x0000,0x0000 +}; + +static int rs_b44img[] = { + 0x000f,0xe000,0x007f,0xfc00,0x01ff,0xff00,0x03ff,0xff80, + 0x07ff,0xffc0,0x0fff,0xffe0,0x1fff,0xfff0,0x3fff,0xfff8, + 0x3fff,0xfff8,0x7fff,0xfffc,0x7fff,0xfffc,0x7fff,0xfffc, + 0xffff,0xfffe,0xffff,0xfffe,0xffff,0xfffe,0xffff,0xfffe, + 0xffff,0xfffe,0xffff,0xfffe,0xffff,0xfffe,0x7fff,0xfffc, + 0x7fff,0xfffc,0x7fff,0xfffc,0x3fff,0xfff8,0x3fff,0xfff8, + 0x1fff,0xfff0,0x0fff,0xffe0,0x07ff,0xffc0,0x03ff,0xff80, + 0x01ff,0xff00,0x007f,0xfc00,0x000f,0xe000,0x0000,0x0000 +}; + +static int rs_b43img[] = { + 0x7fff,0xfffe,0x4000,0x0003,0x4000,0x0003,0x4000,0x0003, + 0x4007,0xe003,0x4007,0xf203,0x4007,0xfe03,0x4000,0x7e03, + 0x4000,0x3e03,0x407e,0x3e03,0x407c,0x7e03,0x407c,0x0003, + 0x407e,0x0003,0x407f,0xc003,0x404f,0xc003,0x4007,0xc003, + 0x4000,0x0003,0x4000,0x0003,0x4000,0x0003,0x7fff,0xffff, + 0x3fff,0xffff +}; + +static int rs_b42img[] = { + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x7fff,0xfffe, + 0x4000,0x0002,0x4000,0x0002,0x4000,0x0002,0x4007,0xe002, + 0x4007,0xf202,0x4007,0xfe02,0x4000,0x7e02,0x4000,0x3e02, + 0x407e,0x3e02,0x407c,0x7e02,0x407c,0x0002,0x407e,0x0002, + 0x407f,0xc002,0x404f,0xc002,0x4007,0xc002,0x4000,0x0002, + 0x4000,0x0002,0x4000,0x0002,0x7fff,0xfffe,0x0000,0x0000 +}; + +static int rs_b41img[] = { + 0x7fff,0xfffe,0x4000,0x0003,0x4000,0x0003,0x4000,0x0003, + 0x4007,0xe003,0x4007,0xf303,0x4007,0xff03,0x4007,0xff03, + 0x4000,0x3f03,0x407f,0xbf03,0x407f,0x7f03,0x407e,0x7f03, + 0x407e,0x0003,0x407f,0xe003,0x407f,0xe003,0x4067,0xe003, + 0x4047,0xe003,0x4000,0x0003,0x4000,0x0003,0x7fff,0xffff, + 0x3fff,0xffff +}; + +static int rs_b40img[] = { + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0007,0xe000,0x0007,0xf200,0x0007,0xfe00,0x0000,0x7e00, + 0x0000,0x3e00,0x007e,0x3e00,0x007c,0x7e00,0x007c,0x0000, + 0x007e,0x0000,0x007f,0xc000,0x004f,0xc000,0x0007,0xc000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x7fff,0xfffe, + 0x4000,0x0002,0x4000,0x0002,0x4000,0x0002,0x4007,0xe002, + 0x4007,0xf202,0x4007,0xfe02,0x4000,0x7e02,0x4000,0x3e02, + 0x407e,0x3e02,0x407c,0x7e02,0x407c,0x0002,0x407e,0x0002, + 0x407f,0xc002,0x404f,0xc002,0x4007,0xc002,0x4000,0x0002, + 0x4000,0x0002,0x4000,0x0002,0x7fff,0xfffe,0x0000,0x0000 +}; + +static int rs_b39img[] = { + 0x7fff,0xfffe,0x4000,0x0002,0x4000,0x0002,0x4000,0x0002, + 0x4007,0xe002,0x4007,0xf202,0x4007,0xfe02,0x4000,0x7e02, + 0x4000,0x3e02,0x407e,0x3e02,0x407c,0x7e02,0x407c,0x0002, + 0x407e,0x0002,0x407f,0xc002,0x404f,0xc002,0x4007,0xc002, + 0x4000,0x0002,0x4000,0x0002,0x4000,0x0002,0x7fff,0xfffe, + 0x0000,0x0000 +}; + +static int rs_b38img[] = { + 0x7fff,0xfffe,0x7fff,0xffff,0x7fff,0xffff,0x7fff,0xffff, + 0x7fff,0xffff,0x7fff,0xffff,0x7fff,0xffff,0x7fff,0xffff, + 0x7fff,0xffff,0x7fff,0xffff,0x7fff,0xffff,0x7fff,0xffff, + 0x7fff,0xffff,0x7fff,0xffff,0x7fff,0xffff,0x7fff,0xffff, + 0x7fff,0xffff,0x7fff,0xffff,0x7fff,0xffff,0x7fff,0xffff, + 0x3fff,0xffff +}; + +static int rs_b37img[] = { + 0x7fff,0xfffe,0x4000,0x0003,0x4000,0x0003,0x4000,0x0003, + 0x4030,0x1803,0x4078,0x3c03,0x407c,0x7c03,0x403e,0xf803, + 0x401f,0xf003,0x400f,0xe003,0x4007,0xc003,0x400f,0xe003, + 0x401f,0xf003,0x403e,0xf803,0x407c,0x7c03,0x4078,0x3c03, + 0x4030,0x1803,0x4000,0x0003,0x4000,0x0003,0x7fff,0xffff, + 0x3fff,0xffff +}; + +static int rs_b36img[] = { + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x7fff,0xfffe, + 0x4000,0x0002,0x4000,0x0002,0x4000,0x0002,0x4030,0x1802, + 0x4078,0x3c02,0x407c,0x7c02,0x403e,0xf802,0x401f,0xf002, + 0x400f,0xe002,0x4007,0xc002,0x400f,0xe002,0x401f,0xf002, + 0x403e,0xf802,0x407c,0x7c02,0x4078,0x3c02,0x4030,0x1802, + 0x4000,0x0002,0x4000,0x0002,0x7fff,0xfffe,0x0000,0x0000 +}; + +static int rs_b35img[] = { + 0x7fff,0xfffe,0x4000,0x0003,0x4000,0x0003,0x4000,0x0003, + 0x4030,0x1803,0x4078,0x3e03,0x407c,0x7e03,0x403e,0xfe03, + 0x401f,0xfc03,0x400f,0xf803,0x4007,0xf003,0x400f,0xe003, + 0x401f,0xf003,0x403f,0xf803,0x407f,0x7c03,0x407e,0x3e03, + 0x403c,0x1e03,0x4038,0x1c03,0x4000,0x0003,0x7fff,0xffff, + 0x3fff,0xffff +}; + +static int rs_b34img[] = { + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0030,0x1800,0x0078,0x3c00,0x007c,0x7c00,0x003e,0xf800, + 0x001f,0xf000,0x000f,0xe000,0x0007,0xc000,0x000f,0xe000, + 0x001f,0xf000,0x003e,0xf800,0x007c,0x7c00,0x0078,0x3c00, + 0x0030,0x1800,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x7fff,0xfffe, + 0x4000,0x0002,0x4000,0x0002,0x4000,0x0002,0x4000,0x0002, + 0x4000,0x0002,0x4000,0x0002,0x4000,0x0002,0x4000,0x0002, + 0x4000,0x0002,0x4000,0x0002,0x4000,0x0002,0x4000,0x0002, + 0x4000,0x0002,0x4000,0x0002,0x4000,0x0002,0x4000,0x0002, + 0x4000,0x0002,0x4000,0x0002,0x7fff,0xfffe,0x0000,0x0000 +}; + +static int rs_b33img[] = { + 0x7fff,0xfffe,0x4000,0x0002,0x4000,0x0002,0x4000,0x0002, + 0x4030,0x1802,0x4078,0x3c02,0x407c,0x7c02,0x403e,0xf802, + 0x401f,0xf002,0x400f,0xe002,0x4007,0xc002,0x400f,0xe002, + 0x401f,0xf002,0x403e,0xf802,0x407c,0x7c02,0x4078,0x3c02, + 0x4030,0x1802,0x4000,0x0002,0x4000,0x0002,0x7fff,0xfffe, + 0x0000,0x0000 +}; + +static int rs_b32img[] = { + 0x7fff,0xfffe,0x7fff,0xffff,0x7fff,0xffff,0x7fff,0xffff, + 0x7fff,0xffff,0x7fff,0xffff,0x7fff,0xffff,0x7fff,0xffff, + 0x7fff,0xffff,0x7fff,0xffff,0x7fff,0xffff,0x7fff,0xffff, + 0x7fff,0xffff,0x7fff,0xffff,0x7fff,0xffff,0x7fff,0xffff, + 0x7fff,0xffff,0x7fff,0xffff,0x7fff,0xffff,0x7fff,0xffff, + 0x3fff,0xffff +}; + +static int rs_b31img[] = { + 0x7fff,0xfffe,0x4000,0x0003,0x4000,0x0003,0x4001,0x0003, + 0x4001,0x8003,0x4001,0xc003,0x4001,0xe003,0x4001,0xf003, + 0x407f,0xf803,0x407f,0xfc03,0x407f,0xfe03,0x407f,0xfc03, + 0x407f,0xf803,0x4001,0xf003,0x4001,0xe003,0x4001,0xc003, + 0x4001,0x8003,0x4001,0x0003,0x4000,0x0003,0x7fff,0xffff, + 0x3fff,0xffff +}; + +static int rs_b30img[] = { + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x7fff,0xfffe, + 0x4000,0x0002,0x4000,0x0002,0x4001,0x0002,0x4001,0x8002, + 0x4001,0xc002,0x4001,0xe002,0x4001,0xf002,0x407f,0xf802, + 0x407f,0xfc02,0x407f,0xfe02,0x407f,0xfc02,0x407f,0xf802, + 0x4001,0xf002,0x4001,0xe002,0x4001,0xc002,0x4001,0x8002, + 0x4001,0x0002,0x4000,0x0002,0x7fff,0xfffe,0x0000,0x0000 +}; + +static int rs_b29img[] = { + 0x7fff,0xfffe,0x4000,0x0003,0x4000,0x0003,0x4001,0x0003, + 0x4001,0x8003,0x4001,0xc003,0x4001,0xe003,0x4001,0xf003, + 0x407f,0xf803,0x407f,0xfc03,0x407f,0xfe03,0x407f,0xff03, + 0x407f,0xfe03,0x407f,0xfc03,0x4001,0xf803,0x4001,0xf003, + 0x4001,0xe003,0x4001,0xc003,0x4001,0x8003,0x7fff,0xffff, + 0x3fff,0xffff +}; + +static int rs_b28img[] = { + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0001,0x0000,0x0001,0x8000,0x0001,0xc000, + 0x0001,0xe000,0x0001,0xf000,0x007f,0xf800,0x007f,0xfc00, + 0x007f,0xfe00,0x007f,0xfc00,0x007f,0xf800,0x0001,0xf000, + 0x0001,0xe000,0x0001,0xc000,0x0001,0x8000,0x0001,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x7fff,0xfffe, + 0x4000,0x0002,0x4000,0x0002,0x4000,0x0002,0x4000,0x0002, + 0x4000,0x0002,0x4000,0x0002,0x4000,0x0002,0x4000,0x0002, + 0x4000,0x0002,0x4000,0x0002,0x4000,0x0002,0x4000,0x0002, + 0x4000,0x0002,0x4000,0x0002,0x4000,0x0002,0x4000,0x0002, + 0x4000,0x0002,0x4000,0x0002,0x7fff,0xfffe,0x0000,0x0000 +}; + +static int rs_b27img[] = { + 0x7fff,0xfffe,0x4000,0x0002,0x4000,0x0002,0x4001,0x0002, + 0x4001,0x8002,0x4001,0x4002,0x4001,0x2002,0x407f,0x1002, + 0x4040,0x0802,0x4040,0x0402,0x406a,0xaa02,0x4055,0x5402, + 0x406a,0xa802,0x407f,0x5002,0x4001,0xa002,0x4001,0x4002, + 0x4001,0x8002,0x4001,0x0002,0x4000,0x0002,0x7fff,0xfffe, + 0x0000,0x0000 +}; + +static int rs_b26img[] = { + 0x7fff,0xfffe,0x4000,0x0003,0x4000,0x0003,0x4001,0x0003, + 0x4001,0x8003,0x4001,0xc003,0x4001,0xe003,0x407f,0xf003, + 0x407f,0xf803,0x407f,0xfc03,0x407f,0xfe03,0x407f,0xfc03, + 0x407f,0xf803,0x407f,0xf003,0x4001,0xe003,0x4001,0xc003, + 0x4001,0x8003,0x4001,0x0003,0x4000,0x0003,0x7fff,0xffff, + 0x3fff,0xffff +}; + +static int rs_b25img[] = { + 0x7fff,0xfffe,0x4000,0x0003,0x4000,0x0003,0x4001,0x1c03, + 0x4003,0x9c03,0x4007,0xdc03,0x400f,0xfc03,0x401f,0xfc03, + 0x403f,0xfc03,0x407f,0xfc03,0x40ff,0xfe03,0x41ff,0xff03, + 0x41ff,0xff03,0x40ff,0xfe03,0x40ff,0xfe03,0x40ff,0xfe03, + 0x40ff,0xfe03,0x4000,0x0003,0x4000,0x0003,0x7fff,0xffff, + 0x3fff,0xffff +}; + +static int rs_b24img[] = { + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0001,0x0800,0x0003,0x8800,0x0006,0xc800,0x000d,0x6800, + 0x001b,0xb000,0x0037,0xd800,0x006f,0xec00,0x00d8,0x3600, + 0x003b,0xb800,0x007b,0xbc00,0x007b,0xbc00,0x007b,0xbc00, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0001,0x0800,0x0003,0x8800,0x0006,0xc800, + 0x000d,0x6800,0x001b,0xb000,0x0037,0xd800,0x006f,0xec00, + 0x00d8,0x3600,0x003b,0xb800,0x007b,0xbc00,0x007b,0xbc00, + 0x007b,0xbc00,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0001,0x0800,0x0003,0x8800, + 0x0006,0xc800,0x000d,0x6800,0x001b,0xb000,0x0037,0xd800, + 0x006f,0xec00,0x00d8,0x3600,0x003b,0xb800,0x007b,0xbc00, + 0x007b,0xbc00,0x007b,0xbc00,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x7fff,0xfffe, + 0x4000,0x0002,0x4000,0x0002,0x4001,0x1c02,0x4002,0x9402, + 0x4004,0x5402,0x4009,0x3402,0x4012,0x9402,0x4024,0x4c02, + 0x4048,0x2402,0x4090,0x1202,0x4127,0xc902,0x41c4,0x4702, + 0x4084,0x4202,0x4084,0x4202,0x4084,0x4202,0x40ff,0xfe02, + 0x4000,0x0002,0x4000,0x0002,0x7fff,0xfffe,0x0000,0x0000 +}; + +static int rs_b23img[] = { + 0x7fff,0xfffe,0x4000,0x0003,0x4000,0x0003,0x4001,0x1c03, + 0x4003,0x9e03,0x4007,0xde03,0x400f,0xfe03,0x401f,0xfe03, + 0x403f,0xfe03,0x407f,0xfe03,0x40ff,0xfe03,0x41ff,0xff03, + 0x41ff,0xff83,0x40ff,0xff83,0x40ff,0xff03,0x40ff,0xff03, + 0x40ff,0xff03,0x407f,0xff03,0x4000,0x0003,0x7fff,0xffff, + 0x3fff,0xffff +}; + +static int rs_b22img[] = { + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0001,0x1c00, + 0x0003,0x9c00,0x0007,0xdc00,0x000f,0xfc00,0x001e,0xfc00, + 0x003c,0x7c00,0x0078,0x3c00,0x00f0,0x1e00,0x01e7,0xcf00, + 0x01c7,0xc700,0x0087,0xc200,0x0087,0xc200,0x0087,0xc200, + 0x00ff,0xfe00,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0001,0x1c00,0x0003,0x9400,0x0007,0xd400,0x000f,0xf400, + 0x001e,0xf400,0x003c,0x7c00,0x0078,0x3c00,0x00f0,0x1e00, + 0x01e7,0xcf00,0x01c7,0xc700,0x0087,0xc200,0x0087,0xc200, + 0x0087,0xc200,0x00ff,0xfe00,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0001,0x1c00,0x0002,0x9400,0x0004,0x5400, + 0x0009,0x3400,0x0012,0x9400,0x0024,0x4c00,0x0048,0x2400, + 0x0090,0x1200,0x0127,0xc900,0x01c4,0x4700,0x0084,0x4200, + 0x0084,0x4200,0x0084,0x4200,0x00ff,0xfe00,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x7fff,0xfffe, + 0x4000,0x0002,0x4000,0x0002,0x4001,0x1c02,0x4002,0x9602, + 0x4004,0x5602,0x4009,0x3602,0x4013,0x9602,0x4026,0xce02, + 0x404c,0x6602,0x4098,0x3202,0x4137,0xd902,0x41e7,0xcf82, + 0x4087,0xc382,0x4087,0xc302,0x4087,0xc302,0x40ff,0xff02, + 0x407f,0xff02,0x4000,0x0002,0x7fff,0xfffe,0x0000,0x0000 +}; + +static int rs_b21img[] = { + 0x7fff,0xfffe,0x4000,0x0002,0x4000,0x0002,0x4001,0x1c02, + 0x4002,0x9c02,0x4004,0x5c02,0x4009,0x3c02,0x4012,0x9c02, + 0x4024,0x4c02,0x4048,0x2402,0x4090,0x1202,0x4120,0x0902, + 0x41c7,0xc702,0x4087,0xc202,0x4087,0xc202,0x4087,0xc202, + 0x4087,0xc202,0x40ff,0xfe02,0x4000,0x0002,0x7fff,0xfffe, + 0x0000,0x0000 +}; + +static int rs_b20img[] = { + 0x7fff,0xfffe,0x7fff,0xffff,0x7fff,0xffff,0x7fff,0xffff, + 0x7fff,0xffff,0x7fff,0xffff,0x7fff,0xffff,0x7fff,0xffff, + 0x7fff,0xffff,0x7fff,0xffff,0x7fff,0xffff,0x7fff,0xffff, + 0x7fff,0xffff,0x7fff,0xffff,0x7fff,0xffff,0x7fff,0xffff, + 0x7fff,0xffff,0x7fff,0xffff,0x7fff,0xffff,0x7fff,0xffff, + 0x3fff,0xffff +}; + +static int rs_b19img[] = { + 0x7fff,0xfffe,0x4000,0x0003,0x4000,0x0003,0x4000,0x8003, + 0x4001,0x8003,0x4003,0x8003,0x4007,0x8003,0x400f,0x8003, + 0x401f,0xfe03,0x403f,0xfe03,0x407f,0xfe03,0x403f,0xfe03, + 0x401f,0xfe03,0x400f,0x8003,0x4007,0x8003,0x4003,0x8003, + 0x4001,0x8003,0x4000,0x8003,0x4000,0x0003,0x7fff,0xffff, + 0x3fff,0xffff +}; + +static int rs_b18img[] = { + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x7fff,0xfffe, + 0x4000,0x0002,0x4000,0x0002,0x4000,0x8002,0x4001,0x8002, + 0x4003,0x8002,0x4007,0x8002,0x400f,0x8002,0x401f,0xfe02, + 0x403f,0xfe02,0x407f,0xfe02,0x403f,0xfe02,0x401f,0xfe02, + 0x400f,0x8002,0x4007,0x8002,0x4003,0x8002,0x4001,0x8002, + 0x4000,0x8002,0x4000,0x0002,0x7fff,0xfffe,0x0000,0x0000 +}; + +static int rs_b17img[] = { + 0x7fff,0xfffe,0x4000,0x0003,0x4000,0x0003,0x4000,0xc003, + 0x4001,0xc003,0x4003,0xc003,0x4007,0xc003,0x400f,0xc003, + 0x401f,0xff03,0x403f,0xff03,0x407f,0xff03,0x403f,0xff03, + 0x401f,0xff03,0x400f,0xff03,0x4007,0xc003,0x4003,0xc003, + 0x4001,0xc003,0x4000,0xc003,0x4000,0x4003,0x7fff,0xffff, + 0x3fff,0xffff +}; + +static int rs_b16img[] = { + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, + 0x0000,0x0000,0x0000,0x8000,0x0001,0x8000,0x0003,0x8000, + 0x0007,0x8000,0x000f,0x8000,0x001f,0xfe00,0x003f,0xfe00, + 0x007f,0xfe00,0x003f,0xfe00,0x001f,0xfe00,0x000f,0x8000, + 0x0007,0x8000,0x0003,0x8000,0x0001,0x8000,0x0000,0x8000, + 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x7fff,0xfffe, + 0x4000,0x0002,0x4000,0x0002,0x4000,0x0002,0x4000,0x0002, + 0x4000,0x0002,0x4000,0x0002,0x4000,0x0002,0x4000,0x0002, + 0x4000,0x0002,0x4000,0x0002,0x4000,0x0002,0x4000,0x0002, + 0x4000,0x0002,0x4000,0x0002,0x4000,0x0002,0x4000,0x0002, + 0x4000,0x0002,0x4000,0x0002,0x7fff,0xfffe,0x0000,0x0000 +}; + +static int rs_b15img[] = { + 0x7fff,0xfffe,0x4000,0x0002,0x4000,0x0002,0x4001,0x0002, + 0x4003,0x0002,0x4005,0x0002,0x4009,0x0002,0x4011,0xfc02, + 0x4020,0x0402,0x4040,0x0402,0x40aa,0xac02,0x4055,0x5402, + 0x402a,0xac02,0x4015,0xfc02,0x400b,0x0002,0x4005,0x0002, + 0x4003,0x0002,0x4001,0x0002,0x4000,0x0002,0x7fff,0xfffe, + 0x0000,0x0000 +}; + +static int rs_b14img[] = { + 0x7fff,0xfffe,0x4000,0x0003,0x4000,0x0003,0x4001,0x0003, + 0x4003,0x0003,0x4007,0x0003,0x400f,0x0003,0x401f,0xfc03, + 0x403f,0xfc03,0x407f,0xfc03,0x40ff,0xfc03,0x407f,0xfc03, + 0x403f,0xfc03,0x401f,0xfc03,0x400f,0x0003,0x4007,0x0003, + 0x4003,0x0003,0x4001,0x0003,0x4000,0x0003,0x7fff,0xffff, + 0x3fff,0xffff +}; + +static int rs_b13img[] = { + 0x0000,0x3ffc,0x2004,0x2ff4,0x2004,0x3ffc,0x303c,0x3ffc, + 0x2004,0x2ff4,0x2004,0x2fe4,0x2004,0x2ff4,0x2004,0x3ffc +}; + +static int rs_b12img[] = { + 0x0000,0x3ffc,0x3ffc,0x3ffc,0x3ffc,0x3ffc,0x3ffc,0x3ffc, + 0x3ffc,0x3ffc,0x3ffc,0x3ffc,0x3ffc,0x3ffc,0x3ffc,0x3ffc +}; + +static int rs_b11img[] = { + 0x0000,0x0000,0x0180,0x03c0,0x07e0,0x0ff0,0x0180,0x0180, + 0x0180,0x0180,0x0180,0x0ff0,0x07e0,0x03c0,0x0180,0x0000 +}; + +static int rs_b10img[] = { + 0x0000,0x0180,0x03c0,0x07e0,0x0ff0,0x1ff8,0x0ff0,0x03c0, + 0x03c0,0x03c0,0x0ff0,0x1ff8,0x0ff0,0x07e0,0x03c0,0x0180 +}; + +static int rs_b9img[] = { + 0x0000,0x0000,0x0000,0x0000,0x0810,0x1818,0x381c,0x7ffe, + 0x7ffe,0x381c,0x1818,0x0810,0x0000,0x0000,0x0000,0x0000 +}; + +static int rs_b8img[] = { + 0x0000,0x0000,0x0000,0x0810,0x1c38,0x3c3c,0x7ffe,0xffff, + 0xffff,0x7ffe,0x3c3c,0x1c38,0x0810,0x0000,0x0000,0x0000 +}; + +static int rs_b7img[] = { + 0x0000,0x0000,0x1008,0x381c,0x1c38,0x0e70,0x07e0,0x03c0, + 0x03c0,0x07e0,0x0e70,0x1c38,0x381c,0x1008,0x0000,0x0000 +}; + +static int rs_b6img[] = { + 0x0000,0x1008,0x381c,0x7c3e,0x3e7c,0x1ff8,0x0ff0,0x07e0, + 0x07e0,0x0ff0,0x1ff8,0x3e3c,0x7c3e,0x381c,0x1008,0x0000 +}; + +static int rs_b5img[] = { + 0x0000,0x4000,0x60fe,0x7082,0x78c6,0x7c6c,0x7e38,0x7f38, + 0x7fc4,0x7c82,0x6cfe,0x46fe,0x0600,0x0300,0x0300,0x0000 +}; + +static int rs_b4img[] = { + 0xc000,0xe0fe,0xf1ff,0xf9ff,0xfdff,0xfefe,0xff7c,0xfffc, + 0xfffe,0xffff,0xffff,0xefff,0xcffe,0x8780,0x0780,0x0380 +}; + +static int rs_b3img[] = { + 0x0000,0x4000,0x60f0,0x71f8,0x7b1c,0x7e3e,0x7e76,0x7ee6, + 0x7fc6,0x7f8c,0x6df8,0x46f0,0x0600,0x0300,0x0300,0x0000 +}; + +static int rs_b2img[] = { + 0xc000,0xe0f0,0xf1f8,0xfbfc,0xfffe,0xffff,0xffff,0xffff, + 0xffff,0xfffe,0xfffc,0xeff8,0xcff0,0x8780,0x0780,0x0380 +}; + +static int rs_b1img[] = { + 0x0000,0x4000,0x603c,0x707e,0x786e,0x7c1c,0x7e38,0x7f76, + 0x7ffe,0x7c3c,0x6c00,0x4618,0x0618,0x0300,0x0300,0x0000 +}; + +static int rs_b0img[] = { + 0xc000,0xe03c,0xf03e,0xf8ff,0xfcff,0xfe7e,0xff7e,0xffff, + 0xffff,0xfffe,0xfe3c,0xff3c,0xcf3c,0x8798,0x0780,0x0380 +}; + +#define RS_NBITBLK 1 + +static BITBLK rs_bitblk[] = { + rs_b222img, 6, 24, 0, 0, 1 +}; + +#define RS_NICNBLK 7 + +static ICONBLK rs_icnblk[] = { + rs_b0img, rs_b1img, rs_s10, 4096, 0, 0, + 0, 0, 16, 16, 8, 2, 0, 0, + + rs_b2img, rs_b3img, rs_s11, 4096, 0, 0, + 0, 0, 16, 16, 8, 2, 0, 0, + + rs_b4img, rs_b5img, rs_s12, 4096, 0, 0, + 0, 0, 16, 16, 8, 2, 0, 0, + + rs_b6img, rs_b7img, rs_s13, 4096, 6, 6, + 0, 0, 16, 16, 7, 8, 0, 0, + + rs_b8img, rs_b9img, rs_s14, 4096, 8, 8, + 0, 0, 16, 16, 5, 5, 0, 0, + + rs_b10img, rs_b11img, rs_s15, 4096, 8, 8, + 0, 0, 16, 16, 5, 5, 0, 0, + + rs_b12img, rs_b13img, rs_s16, 4096, 7, 8, + 0, 0, 16, 16, 5, 5, 0, 0 +}; + +static CICON rs_cicon[] = { +#define CI0 0 +/* CICON 0 */ + 4, rs_b16img, rs_b17img, rs_b18img, rs_b19img, 0L, + +#define CI1 1 +/* CICON 1 */ + 4, rs_b22img, rs_b23img, rs_b24img, rs_b25img, 0L, + +#define CI2 2 +/* CICON 2 */ + 4, rs_b28img, rs_b29img, rs_b30img, rs_b31img, 0L, + +#define CI3 3 +/* CICON 3 */ + 4, rs_b34img, rs_b35img, rs_b36img, rs_b37img, 0L, + +#define CI4 4 +/* CICON 4 */ + 4, rs_b40img, rs_b41img, rs_b42img, rs_b43img, 0L, + +#define CI5 5 +/* CICON 5 */ + 4, rs_b46img, rs_b47img, 0L, 0L, &rs_cicon[6], + 8, rs_b48img, rs_b49img, 0L, 0L, 0L, + +#define CI6 7 +/* CICON 6 */ + 8, rs_b52img, rs_b53img, 0L, 0L, &rs_cicon[8], + 4, rs_b54img, rs_b55img, 0L, 0L, 0L, + +#define CI7 9 +/* CICON 7 */ + 4, rs_b58img, rs_b59img, 0L, 0L, 0L, + +#define CI8 10 +/* CICON 8 */ + 4, rs_b62img, rs_b63img, 0L, 0L, 0L, + +#define CI9 11 +/* CICON 9 */ + 4, rs_b66img, rs_b67img, 0L, 0L, 0L, + +#define CI10 12 +/* CICON 10 */ + 4, rs_b70img, rs_b71img, 0L, 0L, &rs_cicon[13], + 8, rs_b72img, rs_b73img, 0L, 0L, 0L, + +#define CI11 14 +/* CICON 11 */ + 4, rs_b76img, rs_b77img, 0L, 0L, &rs_cicon[15], + 8, rs_b78img, rs_b79img, 0L, 0L, 0L, + +#define CI12 16 +/* CICON 12 */ + 4, rs_b82img, rs_b83img, 0L, 0L, &rs_cicon[17], + 8, rs_b84img, rs_b85img, 0L, 0L, 0L, + +#define CI13 18 +/* CICON 13 */ + 4, rs_b88img, rs_b89img, 0L, 0L, &rs_cicon[19], + 8, rs_b90img, rs_b91img, 0L, 0L, 0L, + +#define CI14 20 +/* CICON 14 */ + 4, rs_b94img, rs_b95img, 0L, 0L, &rs_cicon[21], + 8, rs_b96img, rs_b97img, 0L, 0L, 0L, + +#define CI15 22 +/* CICON 15 */ + 4, rs_b100img, rs_b101img, 0L, 0L, &rs_cicon[23], + 8, rs_b102img, rs_b103img, 0L, 0L, 0L, + +#define CI16 24 +/* CICON 16 */ + 4, rs_b106img, rs_b107img, 0L, 0L, &rs_cicon[25], + 8, rs_b108img, rs_b109img, 0L, 0L, 0L, + +#define CI17 26 +/* CICON 17 */ + 4, rs_b112img, rs_b113img, 0L, 0L, &rs_cicon[27], + 8, rs_b114img, rs_b115img, 0L, 0L, 0L, + +#define CI18 28 +/* CICON 18 */ + 4, rs_b118img, rs_b119img, 0L, 0L, &rs_cicon[29], + 8, rs_b120img, rs_b121img, 0L, 0L, 0L, + +#define CI19 30 +/* CICON 19 */ + 4, rs_b124img, rs_b125img, 0L, 0L, &rs_cicon[31], + 8, rs_b126img, rs_b127img, 0L, 0L, 0L, + +#define CI20 32 +/* CICON 20 */ + 4, rs_b130img, rs_b131img, 0L, 0L, &rs_cicon[33], + 8, rs_b132img, rs_b133img, 0L, 0L, 0L, + +#define CI21 34 +/* CICON 21 */ + 4, rs_b136img, rs_b137img, 0L, 0L, &rs_cicon[35], + 8, rs_b138img, rs_b139img, 0L, 0L, 0L, + +#define CI22 36 +/* CICON 22 */ + 4, rs_b142img, rs_b143img, 0L, 0L, &rs_cicon[37], + 8, rs_b144img, rs_b145img, 0L, 0L, 0L, + +#define CI23 38 +/* CICON 23 */ + 1, rs_b148img, rs_b149img, rs_b150img, rs_b151img, &rs_cicon[39], + 4, rs_b152img, rs_b153img, rs_b154img, rs_b155img, &rs_cicon[40], + 8, rs_b156img, rs_b157img, rs_b158img, rs_b159img, 0L, + +#define CI24 41 +/* CICON 24 */ + 1, rs_b162img, rs_b163img, rs_b164img, rs_b165img, &rs_cicon[42], + 4, rs_b166img, rs_b167img, rs_b168img, rs_b169img, &rs_cicon[43], + 8, rs_b170img, rs_b171img, rs_b172img, rs_b173img, 0L, + +#define CI25 44 +/* CICON 25 */ + 1, rs_b176img, rs_b177img, rs_b178img, rs_b179img, &rs_cicon[45], + 4, rs_b180img, rs_b181img, rs_b182img, rs_b183img, &rs_cicon[46], + 8, rs_b184img, rs_b185img, rs_b186img, rs_b187img, 0L, + +#define CI26 47 +/* CICON 26 */ + 1, rs_b190img, rs_b191img, rs_b192img, rs_b193img, &rs_cicon[48], + 4, rs_b194img, rs_b195img, rs_b196img, rs_b197img, &rs_cicon[49], + 8, rs_b198img, rs_b199img, rs_b200img, rs_b201img, 0L, + +#define CI27 50 +/* CICON 27 */ + 1, rs_b204img, rs_b205img, rs_b206img, rs_b207img, &rs_cicon[51], + 4, rs_b208img, rs_b209img, rs_b210img, rs_b211img, 0L, + +#define CI28 52 +/* CICON 28 */ + 1, rs_b214img, rs_b215img, rs_b216img, rs_b217img, &rs_cicon[53], + 4, rs_b218img, rs_b219img, rs_b220img, rs_b221img, 0L +}; + +#define RS_NCICNBLK 29 + +static CICONBLK rs_ciconblk[] = { + rs_b14img, rs_b15img, rs_s17, 4096, 0, 0, + 0, 0, 32, 21, 12, 7, 0, 0, + &rs_cicon[CI0], + + rs_b20img, rs_b21img, rs_s18, 4096, 0, 0, + 0, 0, 32, 21, 13, 7, 0, 0, + &rs_cicon[CI1], + + rs_b26img, rs_b27img, rs_s19, 4096, 0, 0, + 0, 0, 32, 21, 14, 7, 0, 0, + &rs_cicon[CI2], + + rs_b32img, rs_b33img, rs_s20, 4096, 0, 0, + 0, 0, 32, 21, 13, 7, 0, 0, + &rs_cicon[CI3], + + rs_b38img, rs_b39img, rs_s21, 4096, 0, 0, + 0, 0, 32, 21, 13, 7, 0, 0, + &rs_cicon[CI4], + + rs_b44img, rs_b45img, rs_s22, 4096, 0, 0, + 0, 0, 32, 32, 13, 13, 0, 0, + &rs_cicon[CI5], + + rs_b50img, rs_b51img, "FAVICON", 4096, 0, 0, + 28, 0, 16, 16, 0, 16, 72, 8, + &rs_cicon[CI6], + + rs_b56img, rs_b57img, rs_s23, 4096, 5, 6, + 0, 0, 16, 16, 5, 5, 6, 8, + &rs_cicon[CI7], + + rs_b60img, rs_b61img, rs_s24, 4096, 5, 6, + 0, 0, 16, 16, 5, 5, 6, 8, + &rs_cicon[CI8], + + rs_b64img, rs_b65img, rs_s25, 4096, 14, 21, + 0, 0, 32, 32, 12, 13, 6, 8, + &rs_cicon[CI9], + + rs_b68img, rs_b69img, rs_s26, 4096, 0, 0, + 0, 0, 16, 16, 5, 5, 0, 0, + &rs_cicon[CI10], + + rs_b74img, rs_b75img, rs_s27, 4096, 0, 0, + 0, 0, 16, 16, 5, 5, 0, 0, + &rs_cicon[CI11], + + rs_b80img, rs_b81img, rs_s28, 4096, 0, 0, + 0, 0, 16, 16, 5, 5, 0, 0, + &rs_cicon[CI12], + + rs_b86img, rs_b87img, rs_s29, 4096, 0, 0, + 0, 0, 16, 16, 5, 5, 0, 0, + &rs_cicon[CI13], + + rs_b92img, rs_b93img, rs_s30, 4096, 0, 0, + 0, 0, 16, 16, 5, 5, 0, 0, + &rs_cicon[CI14], + + rs_b98img, rs_b99img, rs_s31, 4096, 0, 0, + 0, 0, 16, 16, 5, 5, 0, 0, + &rs_cicon[CI15], + + rs_b104img, rs_b105img, rs_s32, 4096, 0, 0, + 0, 0, 16, 16, 5, 5, 0, 0, + &rs_cicon[CI16], + + rs_b110img, rs_b111img, rs_s33, 4096, 0, 0, + 0, 0, 16, 16, 5, 5, 0, 0, + &rs_cicon[CI17], + + rs_b116img, rs_b117img, rs_s34, 4096, 0, 0, + 0, 0, 16, 16, 5, 5, 0, 0, + &rs_cicon[CI18], + + rs_b122img, rs_b123img, rs_s35, 4096, 0, 0, + 0, 0, 16, 16, 5, 5, 0, 0, + &rs_cicon[CI19], + + rs_b128img, rs_b129img, rs_s36, 4096, 0, 0, + 0, 0, 16, 16, 5, 5, 0, 0, + &rs_cicon[CI20], + + rs_b134img, rs_b135img, rs_s37, 4096, 0, 0, + 0, 0, 16, 16, 5, 5, 0, 0, + &rs_cicon[CI21], + + rs_b140img, rs_b141img, rs_s38, 4096, 0, 0, + 0, 0, 16, 16, 5, 5, 0, 0, + &rs_cicon[CI22], + + rs_b146img, rs_b147img, rs_s39, 4096, 7, 8, + 0, 0, 16, 16, 15, 8, 0, 0, + &rs_cicon[CI23], + + rs_b160img, rs_b161img, rs_s40, 4096, 0, 0, + 0, 0, 16, 16, 5, 5, 0, 0, + &rs_cicon[CI24], + + rs_b174img, rs_b175img, rs_s41, 4096, 0, 0, + 0, 0, 16, 16, 5, 5, 0, 0, + &rs_cicon[CI25], + + rs_b188img, rs_b189img, rs_s42, 4096, 7, 8, + 0, 0, 16, 16, 15, 8, 0, 0, + &rs_cicon[CI26], + + rs_b202img, rs_b203img, rs_s43, 4096, 16, 0, + 0, 0, 16, 16, 0, 0, 0, 0, + &rs_cicon[CI27], + + rs_b212img, rs_b213img, rs_s44, 4096, 16, 0, + 0, 0, 16, 16, 0, 0, 0, 0, + &rs_cicon[CI28] +}; + +#define RS_NOBS 280 + +static OBJECT rs_obj[] = { +#define TR0 0 +/* TREE 0 */ + -1, 1, 10, G_IBOX, /*** 0 ***/ + NONE, + NORMAL, + (long) 0L, + 0, 0, 80, 25, + + 10, 2, 2, G_BOX, /*** 1 ***/ + NONE, + NORMAL, + (long) 4352L, + 0, 0, 80, 513, + + 1, 3, 9, G_IBOX, /*** 2 ***/ + NONE, + NORMAL, + (long) 0L, + 2, 0, 65, 769, + + 4, -1, -1, G_TITLE, /*** 3 ***/ + NONE, + NORMAL, + (long) " NetSurf ", + 0, 0, 11, 769, + + 5, -1, -1, G_TITLE, /*** 4 ***/ + NONE, + NORMAL, + (long) " File ", + 11, 0, 7, 769, + + 6, -1, -1, G_TITLE, /*** 5 ***/ + NONE, + NORMAL, + (long) " Edit ", + 18, 0, 7, 769, + + 7, -1, -1, G_TITLE, /*** 6 ***/ + NONE, + NORMAL, + (long) " Display ", + 25, 0, 10, 769, + + 8, -1, -1, G_TITLE, /*** 7 ***/ + NONE, + NORMAL, + (long) " Navigate ", + 35, 0, 11, 769, + + 9, -1, -1, G_TITLE, /*** 8 ***/ + NONE, + NORMAL, + (long) " Utilities ", + 46, 0, 12, 769, + + 2, -1, -1, G_TITLE, /*** 9 ***/ + NONE, + NORMAL, + (long) " Help ", + 58, 0, 7, 769, + + 0, 11, 60, G_IBOX, /*** 10 ***/ + NONE, + NORMAL, + (long) 0L, + 0, 769, 79, 11, + + 20, 12, 19, G_BOX, /*** 11 ***/ + NONE, + NORMAL, + (long) 16716032L, + 2, 0, 22, 8, + + 13, -1, -1, G_STRING, /*** 12 ***/ + NONE, + NORMAL, + (long) " About... ", + 0, 0, 22, 1, + + 14, -1, -1, G_STRING, /*** 13 ***/ + NONE, + DISABLED, + (long) "----------------------", + 0, 1, 22, 1, + + 15, -1, -1, G_STRING, /*** 14 ***/ + NONE, + NORMAL, + (long) " Desk Accessory 1 ", + 0, 2, 22, 1, + + 16, -1, -1, G_STRING, /*** 15 ***/ + NONE, + NORMAL, + (long) " Desk Accessory 2", + 0, 3, 22, 1, + + 17, -1, -1, G_STRING, /*** 16 ***/ + NONE, + NORMAL, + (long) " Desk Accessory 3", + 0, 4, 22, 1, + + 18, -1, -1, G_STRING, /*** 17 ***/ + NONE, + NORMAL, + (long) " Desk Accessory 4", + 0, 5, 22, 1, + + 19, -1, -1, G_STRING, /*** 18 ***/ + NONE, + NORMAL, + (long) " Desk Accessory 5", + 0, 6, 22, 1, + + 11, -1, -1, G_STRING, /*** 19 ***/ + NONE, + NORMAL, + (long) " Desk Accessory 6", + 0, 7, 22, 1, + + 29, 21, 28, G_BOX, /*** 20 ***/ + NONE, + NORMAL, + (long) 16716032L, + 13, 0, 25, 8, + + 22, -1, -1, G_STRING, /*** 21 ***/ + NONE, + NORMAL, + (long) " New window [^N", + 0, 0, 25, 1, + + 23, -1, -1, G_STRING, /*** 22 ***/ + NONE, + NORMAL, + (long) " Open local file...[^O", + 0, 1, 25, 1, + + 24, -1, -1, G_STRING, /*** 23 ***/ + NONE, + NORMAL, + (long) " Open location [^G", + 0, 2, 25, 1, + + 25, -1, -1, G_STRING, /*** 24 ***/ + NONE, + NORMAL, + (long) " Close window", + 0, 3, 25, 1, + + 26, -1, -1, G_STRING, /*** 25 ***/ + NONE, + DISABLED, + (long) rs_s1, + 0, 4, 25, 1, + + 27, -1, -1, G_STRING, /*** 26 ***/ + NONE, + NORMAL, + (long) " Save page [^S", + 0, 5, 25, 1, + + 28, -1, -1, G_STRING, /*** 27 ***/ + NONE, + DISABLED, + (long) rs_s1, + 0, 6, 25, 1, + + 20, -1, -1, G_STRING, /*** 28 ***/ + NONE, + NORMAL, + (long) " Quit [^Q", + 0, 7, 25, 1, + + 35, 30, 34, G_BOX, /*** 29 ***/ + NONE, + NORMAL, + (long) 16716032L, + 20, 0, 28, 5, + + 31, -1, -1, G_STRING, /*** 30 ***/ + NONE, + NORMAL, + (long) " Cut to clipboard [^X", + 0, 0, 28, 1, + + 32, -1, -1, G_STRING, /*** 31 ***/ + NONE, + NORMAL, + (long) " Copy to clipboard [^C", + 0, 1, 28, 1, + + 33, -1, -1, G_STRING, /*** 32 ***/ + NONE, + NORMAL, + (long) " Paste from clipboard [^V", + 0, 2, 28, 1, + + 34, -1, -1, G_STRING, /*** 33 ***/ + NONE, + DISABLED, + (long) "----------------------------", + 0, 3, 28, 1, + + 29, -1, -1, G_STRING, /*** 34 ***/ + NONE, + NORMAL, + (long) " Find... [F4", + 0, 4, 28, 1, + + 47, 36, 46, G_BOX, /*** 35 ***/ + NONE, + NORMAL, + (long) 16716032L, + 27, 0, 30, 11, + + 37, -1, -1, G_STRING, /*** 36 ***/ + NONE, + NORMAL, + (long) " Stop loading this Page [^\033", + 0, 0, 30, 1, + + 38, -1, -1, G_STRING, /*** 37 ***/ + NONE, + NORMAL, + (long) " Reload [F5", + 0, 1, 30, 1, + + 39, -1, -1, G_STRING, /*** 38 ***/ + NONE, + DISABLED, + (long) rs_s2, + 0, 2, 30, 1, + + 40, -1, -1, G_STRING, /*** 39 ***/ + NONE, + NORMAL, + (long) " Scale View...", + 0, 3, 30, 1, + + 41, -1, -1, G_STRING, /*** 40 ***/ + NONE, + DISABLED, + (long) rs_s2, + 0, 4, 30, 1, + + 42, -1, -1, G_STRING, /*** 41 ***/ + NONE, + NORMAL, + (long) " Toolbars [^F1", + 0, 5, 30, 1, + + 43, -1, -1, G_STRING, /*** 42 ***/ + NONE, + DISABLED, + (long) rs_s2, + 0, 6, 30, 1, + + 44, -1, -1, G_STRING, /*** 43 ***/ + NONE, + NORMAL, + (long) " Save window size", + 0, 7, 30, 1, + + 45, -1, -1, G_STRING, /*** 44 ***/ + NONE, + NORMAL, + (long) " Debug rendering", + 0, 8, 30, 1, + + 46, -1, -1, G_STRING, /*** 45 ***/ + NONE, + NORMAL, + (long) " Background images", + 0, 9, 30, 1, + + 35, -1, -1, G_STRING, /*** 46 ***/ + NONE, + NORMAL, + (long) " Foreground images", + 0, 10, 30, 1, + + 51, 48, 50, G_BOX, /*** 47 ***/ + NONE, + NORMAL, + (long) 16716032L, + 37, 0, 24, 3, + + 49, -1, -1, G_STRING, /*** 48 ***/ + NONE, + NORMAL, + (long) " Back one page [@\004", + 0, 0, 24, 1, + + 50, -1, -1, G_STRING, /*** 49 ***/ + NONE, + NORMAL, + (long) " Forward one page [@\003", + 0, 1, 24, 1, + + 47, -1, -1, G_STRING, /*** 50 ***/ + NONE, + NORMAL, + (long) " Home", + 0, 2, 24, 1, + + 60, 52, 59, G_BOX, /*** 51 ***/ + NONE, + NORMAL, + (long) 16716032L, + 48, 0, 23, 8, + + 53, -1, -1, G_STRING, /*** 52 ***/ + NONE, + NORMAL, + (long) " Local History [F7", + 0, 0, 23, 1, + + 54, -1, -1, G_STRING, /*** 53 ***/ + NONE, + NORMAL, + (long) " Global History", + 0, 1, 23, 1, + + 55, -1, -1, G_STRING, /*** 54 ***/ + NONE, + DISABLED, + (long) rs_s3, + 0, 2, 23, 1, + + 56, -1, -1, G_STRING, /*** 55 ***/ + NONE, + NORMAL, + (long) " Add to bookmarks[^D", + 0, 3, 23, 1, + + 57, -1, -1, G_STRING, /*** 56 ***/ + NONE, + NORMAL, + (long) " Show bookmarks [F6", + 0, 4, 23, 1, + + 58, -1, -1, G_STRING, /*** 57 ***/ + NONE, + DISABLED, + (long) rs_s3, + 0, 5, 23, 1, + + 59, -1, -1, G_STRING, /*** 58 ***/ + NONE, + NORMAL, + (long) " Choices... ", + 0, 6, 23, 1, + + 51, -1, -1, G_STRING, /*** 59 ***/ + NONE, + NORMAL, + (long) " Verbose Log", + 0, 7, 23, 1, + + 10, 61, 61, G_BOX, /*** 60 ***/ + NONE, + NORMAL, + (long) 16716032L, + 60, 0, 19, 1, + + 60, -1, -1, G_STRING, /*** 61 ***/ + LASTOB, + NORMAL, + (long) " Help Content[F1", + 0, 0, 19, 1, + +#define TR1 62 +/* TREE 1 */ + -1, 1, 8, G_BOX, /*** 0 ***/ + FL3DBAK, + NORMAL, + (long) 4352L, + 0, 0, 48, 2049, + + 7, 2, 6, G_BOX, /*** 1 ***/ + FL3DBAK, + NORMAL, + (long) 4352L, + 0, 0, 21, 1793, + + 3, -1, -1, G_CICON, /*** 2 ***/ + TOUCHEXIT, + NORMAL, + (long) &rs_ciconblk[0], + 512, 256, 4, 1281, + + 4, -1, -1, G_CICON, /*** 3 ***/ + TOUCHEXIT, + NORMAL, + (long) &rs_ciconblk[1], + -1531, 256, 4, 1281, + + 5, -1, -1, G_CICON, /*** 4 ***/ + TOUCHEXIT, + NORMAL, + (long) &rs_ciconblk[2], + 520, 256, 4, 1281, + + 6, -1, -1, G_CICON, /*** 5 ***/ + TOUCHEXIT, + NORMAL, + (long) &rs_ciconblk[3], + 524, 256, 4, 1281, + + 1, -1, -1, G_CICON, /*** 6 ***/ + TOUCHEXIT, + NORMAL, + (long) &rs_ciconblk[4], + 23045, 256, 4, 1281, + + 8, -1, -1, G_BOX, /*** 7 ***/ + FL3DBAK, + NORMAL, + (long) 16720240L, + 21, 512, 22, 1025, + + 0, -1, -1, G_BOX, /*** 8 ***/ + LASTOB|FL3DBAK, + NORMAL, + (long) 4352L, + 45, 256, 1026, 1537, + +#define TR2 71 +/* TREE 2 */ + -1, 1, 2, G_BOX, /*** 0 ***/ + NONE, + NORMAL, + (long) 4352L, + 0, 0, 9, 4, + + 2, -1, -1, G_CICON, /*** 1 ***/ + NONE, + NORMAL, + (long) &rs_ciconblk[5], + 2, 1536, 4, 2, + + 0, -1, -1, G_TEXT, /*** 2 ***/ + LASTOB, + NORMAL, + (long) &rs_tedinfo[0], + -510, -2557, 517, 2048, + +#define TR3 74 +/* TREE 3 */ + -1, 1, 1, G_BOX, /*** 0 ***/ + NONE, + OUTLINED, + (long) 135424L, + 0, 0, 11, 4, + + 0, -1, -1, G_CICON, /*** 1 ***/ + LASTOB, + NORMAL, + (long) &rs_ciconblk[6], + 1, 1, 9, 2049, + +#define TR4 76 +/* TREE 4 */ + -1, 1, 7, G_BOX, /*** 0 ***/ + NONE, + OUTLINED, + (long) 135424L, + 0, 0, 42, 3, + + 2, -1, -1, G_ICON, /*** 1 ***/ + NONE, + NORMAL, + (long) &rs_icnblk[0], + 2, 1, 2, 1, + + 3, -1, -1, G_ICON, /*** 2 ***/ + NONE, + NORMAL, + (long) &rs_icnblk[1], + 5, 1, 2, 1, + + 4, -1, -1, G_ICON, /*** 3 ***/ + NONE, + NORMAL, + (long) &rs_icnblk[2], + 8, 1, 2, 1, + + 5, -1, -1, G_ICON, /*** 4 ***/ + NONE, + NORMAL, + (long) &rs_icnblk[3], + 11, 1, 2, 1, + + 6, -1, -1, G_ICON, /*** 5 ***/ + NONE, + NORMAL, + (long) &rs_icnblk[4], + 14, 1, 2, 1, + + 7, -1, -1, G_ICON, /*** 6 ***/ + NONE, + NORMAL, + (long) &rs_icnblk[5], + 17, 1, 2, 1, + + 0, -1, -1, G_ICON, /*** 7 ***/ + LASTOB, + NORMAL, + (long) &rs_icnblk[6], + 20, 1, 2, 1, + +#define TR5 84 +/* TREE 5 */ + -1, 1, 6, G_BOX, /*** 0 ***/ + FL3DBAK, + NORMAL, + (long) 135424L, + 0, 0, 1059, 7, + + 2, -1, -1, G_CICON, /*** 1 ***/ + NONE, + NORMAL, + (long) &rs_ciconblk[7], + 1025, 1, 2, 1, + + 3, -1, -1, G_FTEXT, /*** 2 ***/ + EDITABLE|FL3DBAK, + NORMAL, + (long) &rs_tedinfo[1], + 1028, 1, 29, 1, + + 4, -1, -1, G_CICON, /*** 3 ***/ + NONE, + NORMAL, + (long) &rs_ciconblk[8], + 1025, 3, 2, 1, + + 5, -1, -1, G_FTEXT, /*** 4 ***/ + EDITABLE|FL3DBAK, + NORMAL, + (long) &rs_tedinfo[2], + 1028, 3, 29, 1, + + 6, -1, -1, G_BUTTON, /*** 5 ***/ + SELECTABLE|DEFAULT|EXIT|FL3DIND|FL3DBAK, + NORMAL, + (long) "Login", + 15, 5, 8, 1, + + 0, -1, -1, G_BUTTON, /*** 6 ***/ + SELECTABLE|EXIT|LASTOB|FL3DIND|FL3DBAK, + NORMAL, + (long) rs_s4, + 25, 5, 8, 1, + +#define TR6 91 +/* TREE 6 */ + -1, 1, 16, G_BOX, /*** 0 ***/ + FL3DBAK, + NORMAL, + (long) 16650496L, + 0, 0, 38, 20, + + 2, -1, -1, G_CICON, /*** 1 ***/ + NONE, + NORMAL, + (long) &rs_ciconblk[9], + 1, 1, 4, 2, + + 3, -1, -1, G_TEXT, /*** 2 ***/ + FL3DBAK, + NORMAL, + (long) &rs_tedinfo[3], + 6, 1, 31, 1, + + 4, -1, -1, G_TEXT, /*** 3 ***/ + FL3DBAK, + NORMAL, + (long) &rs_tedinfo[4], + 13, 2, 24, 1, + + 5, -1, -1, G_BUTTON, /*** 4 ***/ + SELECTABLE|DEFAULT|EXIT|FL3DIND|FL3DBAK, + NORMAL, + (long) "Accept", + 1, 18, 7, 1, + + 6, -1, -1, G_BUTTON, /*** 5 ***/ + SELECTABLE|EXIT|FL3DIND|FL3DBAK, + NORMAL, + (long) "Reject", + 30, 18, 7, 1, + + 7, -1, -1, G_STRING, /*** 6 ***/ + FL3DBAK, + NORMAL, + (long) "Server:", + 2053, 2, 7, 1, + + 8, -1, -1, G_BUTTON, /*** 7 ***/ + SELECTABLE|TOUCHEXIT|FL3DIND, + NORMAL, + (long) "NEXT CERT INFO", + 513, -1276, 33, 1, + + 9, -1, -1, G_BOX, /*** 8 ***/ + FL3DBAK, + NORMAL, + (long) 16716128L, + 1, 5, 34, 11, + + 10, -1, -1, G_BOX, /*** 9 ***/ + TOUCHEXIT|FL3DBAK, + NORMAL, + (long) 16716049L, + 3, 272, -226, 1, + + 11, -1, -1, G_BOXCHAR, /*** 10 ***/ + TOUCHEXIT|FL3DBAK, + NORMAL, + (long) 67047680L, + 33, 272, 2, 1, + + 12, -1, -1, G_BOXCHAR, /*** 11 ***/ + TOUCHEXIT|FL3DBAK, + NORMAL, + (long) 83824896L, + 2048, 272, 2, 1, + + 13, -1, -1, G_BOX, /*** 12 ***/ + TOUCHEXIT|FL3DBAK, + NORMAL, + (long) 16716032L, + 3, 272, 26, 1, + + 14, -1, -1, G_BOXCHAR, /*** 13 ***/ + TOUCHEXIT|FL3DBAK, + NORMAL, + (long) 33493248L, + 291, 5, 2, 1, + + 15, -1, -1, G_BOXCHAR, /*** 14 ***/ + TOUCHEXIT|FL3DBAK, + NORMAL, + (long) 50270464L, + 291, 15, 2, 1, + + 16, -1, -1, G_BOX, /*** 15 ***/ + TOUCHEXIT|FL3DBAK, + NORMAL, + (long) 16716049L, + 291, 6, 2, -247, + + 0, -1, -1, G_BOX, /*** 16 ***/ + LASTOB|TOUCHEXIT|FL3DBAK, + NORMAL, + (long) 16716032L, + 291, 6, 2, 1030, + +#define TR7 108 +/* TREE 7 */ + -1, 1, 13, G_BOX, /*** 0 ***/ + FL3DBAK, + OUTLINED, + (long) 135424L, + 0, 0, 44, 3, + + 2, -1, -1, G_CICON|(119<<8), /*** 1 ***/ + NONE, + NORMAL, + (long) &rs_ciconblk[10], + 2, 1, 2, 1, + + 3, -1, -1, G_CICON|(119<<8), /*** 2 ***/ + NONE, + NORMAL, + (long) &rs_ciconblk[11], + 5, 1, 2, 1, + + 4, -1, -1, G_CICON|(119<<8), /*** 3 ***/ + NONE, + NORMAL, + (long) &rs_ciconblk[12], + 8, 1, 2, 1, + + 5, -1, -1, G_CICON|(119<<8), /*** 4 ***/ + NONE, + NORMAL, + (long) &rs_ciconblk[13], + 11, 1, 2, 1, + + 6, -1, -1, G_CICON|(119<<8), /*** 5 ***/ + NONE, + NORMAL, + (long) &rs_ciconblk[14], + 14, 1, 2, 1, + + 7, -1, -1, G_CICON|(119<<8), /*** 6 ***/ + NONE, + NORMAL, + (long) &rs_ciconblk[15], + 17, 1, 2, 1, + + 8, -1, -1, G_CICON|(119<<8), /*** 7 ***/ + NONE, + NORMAL, + (long) &rs_ciconblk[16], + 20, 1, 2, 1, + + 9, -1, -1, G_CICON|(119<<8), /*** 8 ***/ + NONE, + NORMAL, + (long) &rs_ciconblk[17], + 23, 1, 2, 1, + + 10, -1, -1, G_CICON|(119<<8), /*** 9 ***/ + NONE, + NORMAL, + (long) &rs_ciconblk[18], + 26, 1, 2, 1, + + 11, -1, -1, G_CICON|(119<<8), /*** 10 ***/ + NONE, + NORMAL, + (long) &rs_ciconblk[19], + 29, 1, 2, 1, + + 12, -1, -1, G_CICON|(119<<8), /*** 11 ***/ + NONE, + NORMAL, + (long) &rs_ciconblk[20], + 32, 1, 2, 1, + + 13, -1, -1, G_CICON|(119<<8), /*** 12 ***/ + NONE, + NORMAL, + (long) &rs_ciconblk[21], + 35, 1, 2, 1, + + 0, -1, -1, G_CICON|(119<<8), /*** 13 ***/ + LASTOB, + NORMAL, + (long) &rs_ciconblk[22], + 39, 1, 2, 1, + +#define TR8 122 +/* TREE 8 */ + -1, 1, 4, G_BOX, /*** 0 ***/ + TOUCHEXIT|FL3DBAK, + WHITEBAK, + (long) 4352L, + 0, 0, 10, 1025, + + 2, -1, -1, G_CICON, /*** 1 ***/ + SELECTABLE|TOUCHEXIT, + NORMAL, + (long) &rs_ciconblk[23], + 1024, 512, 2, 1, + + 3, -1, -1, G_CICON, /*** 2 ***/ + SELECTABLE|TOUCHEXIT, + NORMAL, + (long) &rs_ciconblk[24], + 3, 512, 2, 1, + + 4, -1, -1, G_CICON, /*** 3 ***/ + SELECTABLE|TOUCHEXIT, + NORMAL, + (long) &rs_ciconblk[25], + -504, 512, 2, 1, + + 0, -1, -1, G_CICON, /*** 4 ***/ + SELECTABLE|LASTOB|TOUCHEXIT, + NORMAL, + (long) &rs_ciconblk[26], + 1029, 512, 2, 1, + +#define TR9 127 +/* TREE 9 */ + -1, 1, 8, G_BOX, /*** 0 ***/ + FL3DBAK, + NORMAL, + (long) 4352L, + 1, 1, 49, 5, + + 2, -1, -1, G_FTEXT, /*** 1 ***/ + EDITABLE|FL3DBAK, + NORMAL, + (long) &rs_tedinfo[5], + 1, 1, 37, 1, + + 3, -1, -1, G_STRING, /*** 2 ***/ + NONE, + DRAW3D, + (long) "Show all", + 25, 3, 9, 1, + + 4, -1, -1, G_STRING, /*** 3 ***/ + NONE, + NORMAL, + (long) "Case sensitive", + 5, 3, 14, 1, + + 5, -1, -1, G_BUTTON, /*** 4 ***/ + SELECTABLE|DEFAULT|TOUCHEXIT|FL3DIND, + WHITEBAK|DRAW3D, + (long) "Search", + 39, 1, 8, 1, + + 6, -1, -1, G_STRING, /*** 5 ***/ + NONE, + DRAW3D, + (long) "Forward", + 39, 3, 9, 1, + + 7, -1, -1, G_BUTTON|(18<<8), /*** 6 ***/ + SELECTABLE|TOUCHEXIT|FL3DIND|FL3DBAK, + DRAW3D, + (long) rs_s0, + 2, 3, 2, 1, + + 8, -1, -1, G_BUTTON|(18<<8), /*** 7 ***/ + SELECTABLE|TOUCHEXIT|FL3DIND|FL3DBAK, + DRAW3D, + (long) rs_s0, + 22, 3, 2, 1, + + 0, -1, -1, G_BUTTON|(18<<8), /*** 8 ***/ + SELECTABLE|LASTOB|TOUCHEXIT|FL3DIND|FL3DBAK, + SELECTED|DRAW3D, + (long) rs_s0, + 36, 3, 2, 1, + +#define TR10 136 +/* TREE 10 */ + -1, 1, 9, G_BOX, /*** 0 ***/ + FL3DBAK, + NORMAL, + (long) 16650496L, + 0, 0, 40, 6, + + 3, 2, 2, G_BOX, /*** 1 ***/ + FL3DBAK, + NORMAL, + (long) 69953L, + 1, 1, 1061, 1, + + 1, -1, -1, G_BOX, /*** 2 ***/ + FL3DBAK, + NORMAL, + (long) 70003L, + 0, 0, 513, 1, + + 4, -1, -1, G_TEXT, /*** 3 ***/ + FL3DBAK, + NORMAL, + (long) &rs_tedinfo[6], + 1, 0, 38, 1, + + 5, -1, -1, G_BUTTON, /*** 4 ***/ + SELECTABLE|TOUCHEXIT|FL3DIND|FL3DBAK, + NORMAL, + (long) rs_s4, + 31, 4, 8, 1, + + 6, -1, -1, G_STRING, /*** 5 ***/ + NONE, + NORMAL, + (long) "Close dialog when finished", + 4, 4, 26, 1, + + 7, -1, -1, G_TEXT, /*** 6 ***/ + FL3DBAK, + NORMAL, + (long) &rs_tedinfo[7], + 1, 2, 21, 1, + + 8, -1, -1, G_TEXT, /*** 7 ***/ + FL3DBAK, + NORMAL, + (long) &rs_tedinfo[8], + 22, 2, 5, 1, + + 9, -1, -1, G_TEXT, /*** 8 ***/ + FL3DBAK, + NORMAL, + (long) &rs_tedinfo[9], + 29, 2, 11, 1, + + 0, -1, -1, G_BOXCHAR|(18<<8), /*** 9 ***/ + SELECTABLE|LASTOB|TOUCHEXIT|FL3DIND|FL3DBAK, + CROSSED|SHADOWED, + (long) 4096L, + 1025, 516, 1025, -1023, + +#define TR11 146 +/* TREE 11 */ + -1, 1, 1, G_BOX, /*** 0 ***/ + FL3DBAK, + OUTLINED, + (long) 135424L, + 1, 1, 52, 9, + + 0, -1, -1, G_IMAGE, /*** 1 ***/ + LASTOB|FL3DBAK, + NORMAL, + (long) &rs_bitblk[0], + 3, 1, 6, 2049, + +#define TR12 148 +/* TREE 12 */ + -1, 1, 11, G_BOX, /*** 0 ***/ + FL3DBAK, + NORMAL, + (long) 16650496L, + 0, 0, 22, 11, + + 2, -1, -1, G_TEXT, /*** 1 ***/ + SELECTABLE|FL3DBAK, + NORMAL, + (long) &rs_tedinfo[10], + 0, 0, 22, 1, + + 3, -1, -1, G_TEXT, /*** 2 ***/ + SELECTABLE|FL3DBAK, + NORMAL, + (long) &rs_tedinfo[11], + 0, 1, 22, 1, + + 4, -1, -1, G_TEXT, /*** 3 ***/ + SELECTABLE|FL3DBAK, + NORMAL, + (long) &rs_tedinfo[12], + 0, 2, 22, 1, + + 5, -1, -1, G_TEXT, /*** 4 ***/ + SELECTABLE|FL3DBAK, + NORMAL, + (long) &rs_tedinfo[13], + 0, 3, 22, 1, + + 6, -1, -1, G_TEXT, /*** 5 ***/ + SELECTABLE|FL3DBAK, + NORMAL, + (long) &rs_tedinfo[14], + 0, 4, 22, 1, + + 7, -1, -1, G_TEXT, /*** 6 ***/ + SELECTABLE|FL3DBAK, + NORMAL, + (long) &rs_tedinfo[15], + 0, 5, 22, 1, + + 8, -1, -1, G_TEXT, /*** 7 ***/ + SELECTABLE|FL3DBAK, + NORMAL, + (long) &rs_tedinfo[16], + 0, 6, 22, 1, + + 9, -1, -1, G_TEXT, /*** 8 ***/ + SELECTABLE|FL3DBAK, + NORMAL, + (long) &rs_tedinfo[17], + 0, 7, 22, 1, + + 10, -1, -1, G_TEXT, /*** 9 ***/ + SELECTABLE|FL3DBAK, + NORMAL, + (long) &rs_tedinfo[18], + 0, 8, 22, 1, + + 11, -1, -1, G_TEXT, /*** 10 ***/ + SELECTABLE|FL3DBAK, + NORMAL, + (long) &rs_tedinfo[19], + 0, 10, 22, 1, + + 0, -1, -1, G_TEXT, /*** 11 ***/ + SELECTABLE|LASTOB|FL3DBAK, + NORMAL, + (long) &rs_tedinfo[20], + 0, 9, 22, 1, + +#define TR13 160 +/* TREE 13 */ + -1, 1, 1, G_BOX, /*** 0 ***/ + FL3DBAK, + NORMAL, + (long) 4352L, + 1, 1, 11, 9, + + 0, 2, 4, G_BOX, /*** 1 ***/ + FL3DBAK, + NORMAL, + (long) 69888L, + 1, 1, -509, 7, + + 7, 3, 3, G_BUTTON, /*** 2 ***/ + SELECTABLE|FL3DIND|FL3DBAK, + SELECTED, + (long) rs_s0, + 768, 1537, 2, 3, + + 2, -1, -1, G_BUTTON, /*** 3 ***/ + SELECTABLE|FL3DBAK, + NORMAL, + (long) rs_s0, + 0, 0, 2, 2, + + 1, -1, -1, G_CICON, /*** 4 ***/ + SELECTABLE|TOUCHEXIT|FL3DBAK, + NORMAL, + (long) &rs_ciconblk[28], + 768, 512, 2, 1, + + 7, -1, -1, G_CICON, /*** 5 ***/ + SELECTABLE|FL3DBAK, + NORMAL, + (long) &rs_ciconblk[27], + 512, 256, 2, 1, + + 4, -1, -1, G_IBOX, /*** 6 ***/ + FL3DBAK, + NORMAL, + (long) 16716032L, + 256, 256, 1026, 513, + + 6, 5, 5, G_IBOX, /*** 7 ***/ + LASTOB|FL3DBAK, + NORMAL, + (long) 16716032L, + 256, -2298, 1026, 513, + +#define TR14 168 +/* TREE 14 */ + -1, 1, 86, G_BOX, /*** 0 ***/ + FL3DBAK, + NORMAL, + (long) 4352L, + 0, 0, 63, 2112, + + 2, -1, -1, G_BUTTON, /*** 1 ***/ + SELECTABLE|FL3DIND|FL3DBAK, + NORMAL, + (long) "Save", + 1077, 63, 8, 1, + + 3, -1, -1, G_BUTTON, /*** 2 ***/ + SELECTABLE|FL3DIND|FL3DBAK, + NORMAL, + (long) rs_s4, + 1067, 63, 8, 1, + + 32, 4, 31, G_IBOX, /*** 3 ***/ + FL3DBAK, + NORMAL, + (long) 4352L, + 0, 0, 63, 2062, + + 31, 5, 30, G_BOX, /*** 4 ***/ + FL3DBAK, + NORMAL, + (long) 16748800L, + 1, 1, 61, 13, + + 6, -1, -1, G_FTEXT, /*** 5 ***/ + EDITABLE|FL3DBAK, + NORMAL, + (long) &rs_tedinfo[21], + 1, 1, 54, 1, + + 7, -1, -1, G_STRING, /*** 6 ***/ + NONE, + NORMAL, + (long) "Hide advertisements", + 1028, 2050, 27, 1, + + 8, -1, -1, G_STRING|(18<<8), /*** 7 ***/ + NONE, + DRAW3D|STATE8, + (long) "Disable pop-up windows", + 1028, 4, 27, 1, + + 9, -1, -1, G_BOXCHAR|(101<<8), /*** 8 ***/ + SELECTABLE|FL3DIND|FL3DBAK, + SELECTED|CROSSED, + (long) 4352L, + 1025, 2050, 2, 1, + + 10, -1, -1, G_BOXCHAR|(101<<8), /*** 9 ***/ + SELECTABLE|FL3DIND|FL3DBAK, + SELECTED|CROSSED, + (long) 4352L, + 1025, 4, 2, 1, + + 11, -1, -1, G_STRING, /*** 10 ***/ + NONE, + NORMAL, + (long) "Send referrer", + 1063, 2050, 1044, 1, + + 12, -1, -1, G_BOXCHAR|(101<<8), /*** 11 ***/ + SELECTABLE|FL3DIND|FL3DBAK, + SELECTED|CROSSED, + (long) 4352L, + 1060, 2050, 2, 1, + + 13, -1, -1, G_STRING, /*** 12 ***/ + NONE, + NORMAL, + (long) "Send do not track", + 1063, 4, 1044, 1, + + 14, -1, -1, G_BOXCHAR|(101<<8), /*** 13 ***/ + SELECTABLE|FL3DIND|FL3DBAK, + SELECTED|CROSSED, + (long) 4352L, + 1060, 4, 2, 1, + + 15, -1, -1, G_STRING, /*** 14 ***/ + NONE, + NORMAL, + (long) "Keep history:", + 1026, 9, 13, 1, + + 16, -1, -1, G_BUTTON, /*** 15 ***/ + SELECTABLE|FL3DIND|FL3DBAK, + NORMAL, + (long) "Clear history", + 1060, 9, 13, 1, + + 17, -1, -1, G_STRING, /*** 16 ***/ + NONE, + NORMAL, + (long) "Request locale:", + 1, 6, 15, 1, + + 18, -1, -1, G_BUTTON, /*** 17 ***/ + SELECTABLE|TOUCHEXIT|FL3DBAK, + DRAW3D|STATE8, + (long) "______", + 1042, 6, 8, 1, + + 19, -1, -1, G_STRING, /*** 18 ***/ + NONE, + DISABLED, + (long) "GUI language:", + 1026, 2055, 13, 1, + + 20, -1, -1, G_BUTTON, /*** 19 ***/ + SELECTABLE|FL3DBAK, + DISABLED|DRAW3D|STATE8, + (long) "en", + 1042, 2055, 8, 1, + + 21, -1, -1, G_STRING, /*** 20 ***/ + NONE, + NORMAL, + (long) "Memory Cache:", + 1026, 2058, 13, 1, + + 26, 22, 25, G_IBOX, /*** 21 ***/ + FL3DBAK, + NORMAL, + (long) 4352L, + 1042, 2058, 15, 1, + + 23, -1, -1, G_BOXCHAR, /*** 22 ***/ + SELECTABLE|TOUCHEXIT|FL3DBAK, + NORMAL, + (long) 16847104L, + 7, 0, 2, 1, + + 24, -1, -1, G_BOXCHAR, /*** 23 ***/ + SELECTABLE|TOUCHEXIT|FL3DBAK, + NORMAL, + (long) 33624320L, + 0, 0, 2, 1, + + 25, -1, -1, G_STRING, /*** 24 ***/ + NONE, + DRAW3D, + (long) "999.5", + 2, 0, 5, 1, + + 21, -1, -1, G_STRING, /*** 25 ***/ + NONE, + NORMAL, + (long) "MB", + 1034, 0, 3, 1, + + 30, 27, 29, G_IBOX, /*** 26 ***/ + FL3DBAK, + NORMAL, + (long) 4352L, + 1042, 9, 15, 1, + + 28, -1, -1, G_BOXCHAR, /*** 27 ***/ + SELECTABLE|TOUCHEXIT|FL3DBAK, + NORMAL, + (long) 33624320L, + 0, 0, 2, 1, + + 29, -1, -1, G_FTEXT, /*** 28 ***/ + EDITABLE|FL3DBAK, + NORMAL, + (long) &rs_tedinfo[22], + 2, 0, 1028, 1, + + 26, -1, -1, G_BOXCHAR, /*** 29 ***/ + SELECTABLE|TOUCHEXIT|FL3DBAK, + NORMAL, + (long) 16847104L, + 7, 0, 2, 1, + + 4, -1, -1, G_STRING, /*** 30 ***/ + NONE, + NORMAL, + (long) "Days", + 29, 9, 1028, 1, + + 3, -1, -1, G_FTEXT, /*** 31 ***/ + FL3DBAK, + NORMAL, + (long) &rs_tedinfo[23], + 2, 2048, 8, 1, + + 59, 33, 58, G_IBOX, /*** 32 ***/ + FL3DBAK, + NORMAL, + (long) 4352L, + 0, 15, 63, 15, + + 58, 34, 54, G_BOX, /*** 33 ***/ + FL3DBAK, + NORMAL, + (long) 16748800L, + 1, 1, 61, 2061, + + 35, -1, -1, G_BOXCHAR|(101<<8), /*** 34 ***/ + SELECTABLE|FL3DIND|FL3DBAK, + SELECTED|CROSSED, + (long) 4352L, + 1025, 1, 2, 1, + + 36, -1, -1, G_STRING, /*** 35 ***/ + NONE, + NORMAL, + (long) "Enable Proxy", + 1028, 1, 13, 1, + + 37, -1, -1, G_FTEXT, /*** 36 ***/ + EDITABLE|FL3DBAK, + NORMAL, + (long) &rs_tedinfo[24], + 1, 2050, 43, 1, + + 38, -1, -1, G_STRING, /*** 37 ***/ + NONE, + NORMAL, + (long) ":", + 44, 2050, 1, 1, + + 39, -1, -1, G_FTEXT, /*** 38 ***/ + EDITABLE|FL3DBAK, + NORMAL, + (long) &rs_tedinfo[25], + 45, 2050, 5, 1, + + 40, -1, -1, G_BOXCHAR|(101<<8), /*** 39 ***/ + SELECTABLE|FL3DIND|FL3DBAK, + SELECTED|CROSSED, + (long) 4352L, + 1025, 4, 2, 1, + + 41, -1, -1, G_STRING, /*** 40 ***/ + NONE, + NORMAL, + (long) "Proxy Authentication", + 1028, 4, 20, 1, + + 42, -1, -1, G_FTEXT, /*** 41 ***/ + EDITABLE|FL3DBAK, + NORMAL, + (long) &rs_tedinfo[26], + 1, 2053, 49, 1, + + 43, -1, -1, G_FTEXT, /*** 42 ***/ + EDITABLE|FL3DBAK, + NORMAL, + (long) &rs_tedinfo[27], + 1, 7, 49, 1, + + 44, -1, -1, G_STRING, /*** 43 ***/ + EDITABLE|FL3DBAK, + DRAW3D, + (long) "Maximum fetchers:", + 1, 9, 21, 1, + + 45, -1, -1, G_STRING, /*** 44 ***/ + EDITABLE|FL3DBAK, + NORMAL, + (long) "Fetchers per Host:", + 1, 2058, 21, 1, + + 46, -1, -1, G_STRING, /*** 45 ***/ + EDITABLE|FL3DBAK, + NORMAL, + (long) "Cached connections:", + 1, 12, 21, 1, + + 50, 47, 49, G_IBOX, /*** 46 ***/ + FL3DBAK, + NORMAL, + (long) 4352L, + 36, 9, 8, 1, + + 48, -1, -1, G_FTEXT, /*** 47 ***/ + EDITABLE|FL3DBAK, + NORMAL, + (long) &rs_tedinfo[28], + 2, 0, 2, 1, + + 49, -1, -1, G_BOXCHAR, /*** 48 ***/ + SELECTABLE|TOUCHEXIT|FL3DBAK, + NORMAL, + (long) 16847104L, + 4, 0, 2, 1, + + 46, -1, -1, G_BOXCHAR, /*** 49 ***/ + SELECTABLE|TOUCHEXIT|FL3DBAK, + NORMAL, + (long) 33624320L, + 0, 0, 2, 1, + + 54, 51, 53, G_IBOX, /*** 50 ***/ + FL3DBAK, + NORMAL, + (long) 4352L, + 36, 2058, 8, 1, + + 52, -1, -1, G_BOXCHAR, /*** 51 ***/ + SELECTABLE|TOUCHEXIT|FL3DBAK, + NORMAL, + (long) 33624320L, + 0, 0, 2, 1, + + 53, -1, -1, G_FTEXT, /*** 52 ***/ + EDITABLE|FL3DBAK, + NORMAL, + (long) &rs_tedinfo[29], + 2, 0, 2, 1, + + 50, -1, -1, G_BOXCHAR, /*** 53 ***/ + SELECTABLE|TOUCHEXIT|FL3DBAK, + NORMAL, + (long) 16847104L, + 4, 0, 2, 1, + + 33, 55, 57, G_IBOX, /*** 54 ***/ + FL3DBAK, + NORMAL, + (long) 4352L, + 36, 12, 1032, 1, + + 56, -1, -1, G_BOXCHAR, /*** 55 ***/ + SELECTABLE|TOUCHEXIT|FL3DBAK, + NORMAL, + (long) 33624320L, + 0, 0, 2, 1, + + 57, -1, -1, G_FTEXT, /*** 56 ***/ + EDITABLE|FL3DBAK, + NORMAL, + (long) &rs_tedinfo[30], + 2, 0, 2, 1, + + 54, -1, -1, G_BOXCHAR, /*** 57 ***/ + SELECTABLE|TOUCHEXIT|FL3DBAK, + NORMAL, + (long) 16847104L, + 4, 0, 2, 1, + + 32, -1, -1, G_TEXT, /*** 58 ***/ + FL3DBAK, + NORMAL, + (long) &rs_tedinfo[31], + 3, 2048, 8, 1, + + 86, 60, 85, G_IBOX, /*** 59 ***/ + FL3DBAK, + NORMAL, + (long) 4352L, + 0, 2078, 63, 15, + + 85, 61, 108, G_BOX, /*** 60 ***/ + FL3DBAK, + NORMAL, + (long) 16748800L, + 1, 1, 61, 14, + + 62, -1, -1, G_STRING, /*** 61 ***/ + NONE, + NORMAL, + (long) "Font renderer:", + 1025, 1, 14, 1, + + 63, -1, -1, G_BUTTON, /*** 62 ***/ + SELECTABLE|TOUCHEXIT|FL3DBAK, + NORMAL, + (long) "_freetype_", + 1041, 1, 12, 1, + + 64, -1, -1, G_BOXCHAR|(101<<8), /*** 63 ***/ + SELECTABLE|FL3DIND|FL3DBAK, + SELECTED|CROSSED, + (long) 4352L, + 1060, 1, 2, 1, + + 65, -1, -1, G_STRING, /*** 64 ***/ + NONE, + NORMAL, + (long) "Anti Aliasing", + 1063, 1, 13, 1, + + 66, -1, -1, G_BOXCHAR|(101<<8), /*** 65 ***/ + SELECTABLE|FL3DIND|FL3DBAK, + SELECTED|CROSSED, + (long) 4352L, + 1025, 8, 2, 1, + + 75, -1, -1, G_STRING, /*** 66 ***/ + NONE, + NORMAL, + (long) "Transparent Images", + 1028, 8, 18, 1, + + 68, -1, -1, G_BOXCHAR|(101<<8), /*** 67 ***/ + SELECTABLE|FL3DIND|FL3DBAK, + SELECTED|CROSSED, + (long) 4352L, + 1025, 0, 2, 1, + + 100, -1, -1, G_STRING, /*** 68 ***/ + NONE, + NORMAL, + (long) "Enable Animations", + 1028, 0, 17, 1, + + 71, -1, -1, G_STRING, /*** 69 ***/ + NONE, + NORMAL, + (long) "Limit speed to", + 1024, 0, 15, 1, + + 99, -1, -1, G_STRING, /*** 70 ***/ + NONE, + NORMAL, + (long) "seconds between frames.", + 1048, 0, 24, 1, + + 70, 72, 74, G_IBOX, /*** 71 ***/ + FL3DBAK, + NORMAL, + (long) 4352L, + 16, 0, 1032, 1, + + 73, -1, -1, G_FTEXT, /*** 72 ***/ + EDITABLE|FL3DBAK, + NORMAL, + (long) &rs_tedinfo[34], + 2, 0, 3, 1, + + 74, -1, -1, G_BOXCHAR, /*** 73 ***/ + SELECTABLE|TOUCHEXIT|FL3DBAK, + NORMAL, + (long) 16847104L, + 5, 0, 2, 1, + + 71, -1, -1, G_BOXCHAR, /*** 74 ***/ + SELECTABLE|TOUCHEXIT|FL3DBAK, + NORMAL, + (long) 33624320L, + 0, 0, 2, 1, + + 76, -1, -1, G_STRING, /*** 75 ***/ + NONE, + NORMAL, + (long) "Default Font Size:", + 1025, 2050, 18, 1, + + 80, 77, 79, G_IBOX, /*** 76 ***/ + FL3DBAK, + NORMAL, + (long) 4352L, + 36, 2050, 10, 1, + + 78, -1, -1, G_FTEXT, /*** 77 ***/ + EDITABLE|FL3DBAK, + NORMAL, + (long) &rs_tedinfo[32], + 2, 0, 3, 1, + + 79, -1, -1, G_BOXCHAR, /*** 78 ***/ + SELECTABLE|TOUCHEXIT|FL3DBAK, + NORMAL, + (long) 33624320L, + 0, 0, 2, 1, + + 76, -1, -1, G_BOXCHAR, /*** 79 ***/ + SELECTABLE|TOUCHEXIT|FL3DBAK, + NORMAL, + (long) 16847104L, + 5, 0, 2, 1, + + 84, 81, 83, G_IBOX, /*** 80 ***/ + FL3DBAK, + NORMAL, + (long) 4352L, + 36, 4, 9, 1, + + 82, -1, -1, G_FTEXT, /*** 81 ***/ + EDITABLE|FL3DBAK, + NORMAL, + (long) &rs_tedinfo[33], + 2, 0, 3, 1, + + 83, -1, -1, G_BOXCHAR, /*** 82 ***/ + SELECTABLE|TOUCHEXIT|FL3DBAK, + NORMAL, + (long) 33624320L, + 0, 0, 2, 1, + + 80, -1, -1, G_BOXCHAR, /*** 83 ***/ + SELECTABLE|TOUCHEXIT|FL3DBAK, + NORMAL, + (long) 16847104L, + 5, 0, 2, 1, + + 99, -1, -1, G_STRING, /*** 84 ***/ + NONE, + NORMAL, + (long) "Minimum Font Size:", + 1025, 4, 18, 1, + + 59, -1, -1, G_TEXT, /*** 85 ***/ + FL3DBAK, + NORMAL, + (long) &rs_tedinfo[36], + 3, 2048, 9, 1, + + 0, 87, 88, G_IBOX, /*** 86 ***/ + FL3DBAK, + NORMAL, + (long) 4352L, + 0, 46, 63, 15, + + 88, 89, 98, G_BOX, /*** 87 ***/ + FL3DBAK, + NORMAL, + (long) 16748800L, + 1, 1, 61, 2061, + + 86, -1, -1, G_TEXT, /*** 88 ***/ + FL3DBAK, + NORMAL, + (long) &rs_tedinfo[42], + 1027, 2048, 11, 1, + + 90, -1, -1, G_STRING, /*** 89 ***/ + EDITABLE, + WHITEBAK|DRAW3D, + (long) "Downloads:", + 1, 2048, 11, 1, + + 91, -1, -1, G_FTEXT, /*** 90 ***/ + EDITABLE|FL3DBAK, + OUTLINED|DRAW3D, + (long) &rs_tedinfo[37], + 1039, 2048, 44, 1, + + 92, -1, -1, G_FTEXT, /*** 91 ***/ + EDITABLE|FL3DBAK, + OUTLINED, + (long) &rs_tedinfo[38], + 1039, 2, 44, 1, + + 93, -1, -1, G_FTEXT, /*** 92 ***/ + EDITABLE|FL3DBAK, + OUTLINED, + (long) &rs_tedinfo[39], + 1039, 2051, 44, 1, + + 94, -1, -1, G_FTEXT, /*** 93 ***/ + EDITABLE|FL3DBAK, + OUTLINED, + (long) &rs_tedinfo[40], + 1039, 5, 44, 1, + + 95, -1, -1, G_FTEXT, /*** 94 ***/ + EDITABLE|FL3DBAK, + OUTLINED, + (long) &rs_tedinfo[41], + 1039, 2054, 44, 1, + + 96, -1, -1, G_STRING, /*** 95 ***/ + EDITABLE, + WHITEBAK|DRAW3D, + (long) "Hotlist:", + 3, 2, 8, 1, + + 97, -1, -1, G_STRING, /*** 96 ***/ + EDITABLE, + WHITEBAK|DRAW3D, + (long) "CA Bundle:", + 1, 2051, 10, 1, + + 98, -1, -1, G_STRING, /*** 97 ***/ + EDITABLE, + WHITEBAK|DRAW3D, + (long) "CA Certs:", + 2, 5, 9, 1, + + 87, -1, -1, G_STRING, /*** 98 ***/ + EDITABLE, + WHITEBAK|DRAW3D, + (long) "Editor:", + 4, 2054, 7, 1, + + 100, 69, 70, G_IBOX, /*** 99 ***/ + FL3DBAK, + NORMAL, + (long) 4352L, + 4, 11, 1074, 1, + + 101, 67, 68, G_IBOX, /*** 100 ***/ + FL3DBAK, + NORMAL, + (long) 4352L, + 0, 2057, 1053, 1, + + 104, 102, 103, G_IBOX, /*** 101 ***/ + FL3DBAK, + NORMAL, + (long) 4352L, + 0, 2054, 1053, 1, + + 103, -1, -1, G_BOXCHAR|(101<<8), /*** 102 ***/ + SELECTABLE|FL3DIND|FL3DBAK, + SELECTED|CROSSED, + (long) 4352L, + 1025, 0, 2, 1, + + 101, -1, -1, G_STRING, /*** 103 ***/ + NONE, + NORMAL, + (long) "Background Images", + 1028, 0, 17, 1, + + 107, 105, 106, G_IBOX, /*** 104 ***/ + FL3DBAK, + NORMAL, + (long) 4352L, + 34, 2054, 1048, 1, + + 106, -1, -1, G_BOXCHAR|(101<<8), /*** 105 ***/ + SELECTABLE|FL3DIND|FL3DBAK, + SELECTED|CROSSED, + (long) 4352L, + 2, 0, 2, 1, + + 104, -1, -1, G_STRING, /*** 106 ***/ + NONE, + NORMAL, + (long) "Foreground Images", + 5, 0, 17, 1, + + 108, -1, -1, G_STRING, /*** 107 ***/ + NONE, + NORMAL, + (long) "Minimum reflow period (ms):", + 1028, 2060, 27, 1, + + 60, 109, 111, G_IBOX, /*** 108 ***/ + FL3DBAK, + NORMAL, + (long) 4352L, + 1059, 2060, 13, 1, + + 110, -1, -1, G_FTEXT, /*** 109 ***/ + EDITABLE|FL3DBAK, + NORMAL, + (long) &rs_tedinfo[35], + 2, 0, 4, 1, + + 111, -1, -1, G_BOXCHAR, /*** 110 ***/ + SELECTABLE|TOUCHEXIT|FL3DBAK, + NORMAL, + (long) 33624320L, + 0, 0, 2, 1, + + 108, -1, -1, G_BOXCHAR, /*** 111 ***/ + SELECTABLE|LASTOB|TOUCHEXIT|FL3DBAK, + NORMAL, + (long) 16847104L, + 6, 0, 2, 1 +}; + +OBJECT *MAINMENU = &rs_obj[TR0]; +OBJECT *TOOLBAR = &rs_obj[TR1]; +OBJECT *ICONIFY = &rs_obj[TR2]; +OBJECT *FAVICON = &rs_obj[TR3]; +OBJECT *CURSOR = &rs_obj[TR4]; +OBJECT *LOGIN = &rs_obj[TR5]; +OBJECT *VERIFY = &rs_obj[TR6]; +OBJECT *THROBBER = &rs_obj[TR7]; +OBJECT *TOOLBAR_HOTLIST = &rs_obj[TR8]; +OBJECT *SEARCH = &rs_obj[TR9]; +OBJECT *DOWNLOAD = &rs_obj[TR10]; +OBJECT *ABOUT = &rs_obj[TR11]; +OBJECT *POP_CTX = &rs_obj[TR12]; +OBJECT *VSCROLLER = &rs_obj[TR13]; +OBJECT *SETTINGS = &rs_obj[TR14]; + + +void rs_init(void); +void rs_exit(void); + +LONG rs_ciconinit(CICONBLK *ciconblks, WORD ncib, OBJECT *objects, WORD nobj); +void rs_ciconexit(LONG deskript); + +static LONG rs_cid; +void rs_init(void) +{ + register OBJECT *obj=rs_obj; + register WORD i=0; + + do + { + rsrc_obfix(obj, i); + } while (++i -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include "desktop/options.h" -#include "desktop/plot_style.h" -#include "atari/res/netsurf.rsh" -#include "atari/settings.h" -#include "atari/deskmenu.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include "desktop/options.h" +#include "desktop/plot_style.h" +#include "atari/res/netsurf.rsh" +#include "atari/settings.h" +#include "atari/deskmenu.h" #include "atari/misc.h" -#include "atari/plot/plot.h" -#include "atari/bitmap.h" +#include "atari/plot/plot.h" +#include "atari/bitmap.h" #include "atari/findfile.h" -#include "atari/gemtk/gemtk.h" +#include "atari/gemtk/gemtk.h" extern char options[PATH_MAX]; -extern GRECT desk_area; - -static float tmp_option_memory_cache_size; -static float tmp_option_minimum_gif_delay; -static unsigned int tmp_option_expire_url; -static unsigned int tmp_option_font_min_size; -static unsigned int tmp_option_font_size; -static unsigned int tmp_option_min_reflow_period; -static unsigned int tmp_option_max_fetchers; -static unsigned int tmp_option_max_fetchers_per_host; -static unsigned int tmp_option_max_cached_fetch_handles; +extern GRECT desk_area; + +static float tmp_option_memory_cache_size; +static float tmp_option_minimum_gif_delay; +static unsigned int tmp_option_expire_url; +static unsigned int tmp_option_font_min_size; +static unsigned int tmp_option_font_size; +static unsigned int tmp_option_min_reflow_period; +static unsigned int tmp_option_max_fetchers; +static unsigned int tmp_option_max_fetchers_per_host; +static unsigned int tmp_option_max_cached_fetch_handles; static colour tmp_option_atari_toolbar_bg; static short h_aes_win = 0; @@ -42,35 +41,35 @@ static GUIWIN * settings_guiwin = NULL; static OBJECT * dlgtree; #define OBJ_SELECTED(idx) ((bool)((dlgtree[idx].ob_state & OS_SELECTED)!=0)) - + #define OBJ_CHECK(idx) (dlgtree[idx].ob_state |= (OS_SELECTED | OS_CROSSED)); - + #define OBJ_UNCHECK(idx) (dlgtree[idx].ob_state &= ~(OS_SELECTED)); \ (dlgtree[idx].ob_state &= ~(OS_CROSSED)); - + #define OBJ_REDRAW(idx) guiwin_send_redraw(settings_guiwin, \ obj_screen_rect(dlgtree, idx)); - -#define DISABLE_OBJ(idx) (dlgtree[idx].ob_state |= OS_DISABLED); \ + +#define DISABLE_OBJ(idx) (dlgtree[idx].ob_state |= OS_DISABLED); \ guiwin_send_redraw(settings_guiwin, \ - obj_screen_rect(dlgtree, idx)); - -#define ENABLE_OBJ(idx) (dlgtree[idx].ob_state &= ~(OS_DISABLED)); \ + obj_screen_rect(dlgtree, idx)); + +#define ENABLE_OBJ(idx) (dlgtree[idx].ob_state &= ~(OS_DISABLED)); \ guiwin_send_redraw(settings_guiwin, \ obj_screen_rect(dlgtree, idx)); - + #define FORMEVENT(idx) form_event(idx, 0); -#define INPUT_HOMEPAGE_URL_MAX_LEN 44 -#define INPUT_LOCALE_MAX_LEN 6 -#define INPUT_PROXY_HOST_MAX_LEN 31 -#define INPUT_PROXY_USERNAME_MAX_LEN 36 -#define INPUT_PROXY_PASSWORD_MAX_LEN 36 -#define INPUT_PROXY_PORT_MAX_LEN 5 -#define INPUT_MIN_REFLOW_PERIOD_MAX_LEN 4 -#define LABEL_FONT_RENDERER_MAX_LEN 8 -#define LABEL_PATH_MAX_LEN 43 -#define LABEL_ICONSET_MAX_LEN 8 +#define INPUT_HOMEPAGE_URL_MAX_LEN 44 +#define INPUT_LOCALE_MAX_LEN 6 +#define INPUT_PROXY_HOST_MAX_LEN 31 +#define INPUT_PROXY_USERNAME_MAX_LEN 36 +#define INPUT_PROXY_PASSWORD_MAX_LEN 36 +#define INPUT_PROXY_PORT_MAX_LEN 5 +#define INPUT_MIN_REFLOW_PERIOD_MAX_LEN 4 +#define LABEL_FONT_RENDERER_MAX_LEN 8 +#define LABEL_PATH_MAX_LEN 43 +#define LABEL_ICONSET_MAX_LEN 8 #define INPUT_TOOLBAR_COLOR_MAX_LEN 6 static void on_close(void); @@ -80,549 +79,582 @@ static void apply_settings(void); static void save_settings(void); -static void set_text( short idx, char * text, int len ) -{ - char spare[255]; - - if( len > 254 ) - len = 254; - if( text != NULL ){ - strncpy( spare, text, 254); - } else { - strcpy(spare, ""); - } - - set_string( dlgtree, idx, spare); +static void set_text( short idx, char * text, int len ) +{ + char spare[255]; + + if( len > 254 ) + len = 254; + if( text != NULL ) { + strncpy( spare, text, 254); + } else { + strcpy(spare, ""); + } + + set_string( dlgtree, idx, spare); } - -/** - * Toogle all objects which are directly influenced by other GUI elements - * ( like checkbox ) - */ -static void toggle_objects(void) -{ - /* enable / disable (refresh) objects depending on radio button values: */ - FORMEVENT(SETTINGS_CB_USE_PROXY); - FORMEVENT(SETTINGS_CB_PROXY_AUTH); - FORMEVENT(SETTINGS_BT_SEL_FONT_RENDERER); + +/** + * Toogle all objects which are directly influenced by other GUI elements + * ( like checkbox ) + */ +static void toggle_objects(void) +{ + /* enable / disable (refresh) objects depending on radio button values: */ + FORMEVENT(SETTINGS_CB_USE_PROXY); + FORMEVENT(SETTINGS_CB_PROXY_AUTH); + FORMEVENT(SETTINGS_BT_SEL_FONT_RENDERER); } -static void save_settings(void) -{ - apply_settings(); - // Save settings - nsoption_write( (const char*)&options ); - nsoption_read( (const char*)&options ); - close_settings(); - form_alert(1, "[1][Some options require an netsurf restart!][OK]"); - deskmenu_update(); +static void save_settings(void) +{ + apply_settings(); + // Save settings + nsoption_write( (const char*)&options ); + nsoption_read( (const char*)&options ); + close_settings(); + form_alert(1, "[1][Some options require an netsurf restart!][OK]"); + deskmenu_update(); } - -/* this gets called each time the settings dialog is opened: */ -static void display_settings(void) -{ - char spare[255]; - // read current settings and display them - - - /* "Browser" tab: */ - set_text( SETTINGS_EDIT_HOMEPAGE, nsoption_charp(homepage_url), - INPUT_HOMEPAGE_URL_MAX_LEN ); - - if( nsoption_bool(block_ads) ){ - OBJ_CHECK( SETTINGS_CB_HIDE_ADVERTISEMENT ); - } else { - OBJ_UNCHECK( SETTINGS_CB_HIDE_ADVERTISEMENT ); - } - if( nsoption_bool(target_blank) ){ - OBJ_UNCHECK( SETTINGS_CB_DISABLE_POPUP_WINDOWS ); - } else { - OBJ_CHECK( SETTINGS_CB_DISABLE_POPUP_WINDOWS ); - } - if( nsoption_bool(send_referer) ){ - OBJ_CHECK( SETTINGS_CB_SEND_HTTP_REFERRER ); - } else { - OBJ_UNCHECK( SETTINGS_CB_SEND_HTTP_REFERRER ); - } - if( nsoption_bool(do_not_track) ){ - OBJ_CHECK( SETTINGS_CB_SEND_DO_NOT_TRACK ); - } else { - OBJ_UNCHECK( SETTINGS_CB_SEND_DO_NOT_TRACK ); - } - - set_text( SETTINGS_BT_SEL_LOCALE, - nsoption_charp(accept_language) ? nsoption_charp(accept_language) : (char*)"en", - INPUT_LOCALE_MAX_LEN ); - - tmp_option_expire_url = nsoption_int(expire_url); - snprintf( spare, 255, "%02d", nsoption_int(expire_url) ); - set_text( SETTINGS_EDIT_HISTORY_AGE, spare, 2 ); - - /* "Cache" tab: */ - tmp_option_memory_cache_size = nsoption_int(memory_cache_size) / 1000000; - snprintf( spare, 255, "%03.1f", tmp_option_memory_cache_size ); - set_text( SETTINGS_STR_MAX_MEM_CACHE, spare, 5 ); - - /* "Paths" tab: */ - set_text( SETTINGS_EDIT_DOWNLOAD_PATH, nsoption_charp(downloads_path), - LABEL_PATH_MAX_LEN ); - set_text( SETTINGS_EDIT_HOTLIST_FILE, nsoption_charp(hotlist_file), - LABEL_PATH_MAX_LEN ); - set_text( SETTINGS_EDIT_CA_BUNDLE, nsoption_charp(ca_bundle), - LABEL_PATH_MAX_LEN ); - set_text( SETTINGS_EDIT_CA_CERTS_PATH, nsoption_charp(ca_path), - LABEL_PATH_MAX_LEN ); - set_text( SETTINGS_EDIT_EDITOR, nsoption_charp(atari_editor), - LABEL_PATH_MAX_LEN ); - - /* "Rendering" tab: */ - set_text( SETTINGS_BT_SEL_FONT_RENDERER, nsoption_charp(atari_font_driver), - LABEL_FONT_RENDERER_MAX_LEN ); - SET_BIT(dlgtree[SETTINGS_CB_TRANSPARENCY].ob_state, - GW_CB_SELECTED, nsoption_int(atari_transparency) ? 1 : 0 ); - SET_BIT(dlgtree[SETTINGS_CB_ENABLE_ANIMATION].ob_state, - GW_CB_SELECTED, nsoption_bool(animate_images) ? 1 : 0 ); - SET_BIT(dlgtree[SETTINGS_CB_FG_IMAGES].ob_state, - GW_CB_SELECTED, nsoption_bool(foreground_images) ? 1 : 0 ); - SET_BIT(dlgtree[SETTINGS_CB_BG_IMAGES].ob_state, - GW_CB_SELECTED, nsoption_bool(background_images) ? 1 : 0 ); - -/* - TODO: enable this option? - SET_BIT(dlgtree[SETTINGS_CB_INCREMENTAL_REFLOW].ob_state, - GW_CB_SELECTED, nsoption_bool(incremental_reflow) ? 1 : 0 ); -*/ - SET_BIT(dlgtree[SETTINGS_CB_ANTI_ALIASING].ob_state, - GW_CB_SELECTED, nsoption_int(atari_font_monochrom) ? 0 : 1 ); - -/* - TODO: activate this option? - tmp_option_min_reflow_period = nsoption_int(min_reflow_period); - snprintf( spare, 255, "%04d", tmp_option_min_reflow_period ); - set_text( SETTINGS_EDIT_MIN_REFLOW_PERIOD, spare, - INPUT_MIN_REFLOW_PERIOD_MAX_LEN ); -*/ - - tmp_option_minimum_gif_delay = (float)nsoption_int(minimum_gif_delay) / (float)100; - snprintf( spare, 255, "%01.1f", tmp_option_minimum_gif_delay ); - set_text( SETTINGS_EDIT_MIN_GIF_DELAY, spare, 3 ); - - /* "Network" tab: */ - set_text( SETTINGS_EDIT_PROXY_HOST, nsoption_charp(http_proxy_host), - INPUT_PROXY_HOST_MAX_LEN ); - snprintf( spare, 255, "%5d", nsoption_int(http_proxy_port) ); - set_text( SETTINGS_EDIT_PROXY_PORT, spare, - INPUT_PROXY_PORT_MAX_LEN ); - - set_text( SETTINGS_EDIT_PROXY_USERNAME, nsoption_charp(http_proxy_auth_user), - INPUT_PROXY_USERNAME_MAX_LEN ); - set_text( SETTINGS_EDIT_PROXY_PASSWORD, nsoption_charp(http_proxy_auth_pass), - INPUT_PROXY_PASSWORD_MAX_LEN ); - SET_BIT(dlgtree[SETTINGS_CB_USE_PROXY].ob_state, - GW_CB_SELECTED, nsoption_bool(http_proxy) ? 1 : 0 ); - SET_BIT(dlgtree[SETTINGS_CB_PROXY_AUTH].ob_state, - GW_CB_SELECTED, nsoption_int(http_proxy_auth) ? 1 : 0 ); - - tmp_option_max_cached_fetch_handles = nsoption_int(max_cached_fetch_handles); - snprintf( spare, 255, "%2d", nsoption_int(max_cached_fetch_handles) ); - set_text( SETTINGS_EDIT_MAX_CACHED_CONNECTIONS, spare , 2 ); - - tmp_option_max_fetchers = nsoption_int(max_fetchers); - snprintf( spare, 255, "%2d", nsoption_int(max_fetchers) ); - set_text( SETTINGS_EDIT_MAX_FETCHERS, spare , 2 ); - - tmp_option_max_fetchers_per_host = nsoption_int(max_fetchers_per_host); - snprintf( spare, 255, "%2d", nsoption_int(max_fetchers_per_host) ); - set_text( SETTINGS_EDIT_MAX_FETCHERS_PER_HOST, spare , 2 ); - - - /* "Style" tab: */ - tmp_option_font_min_size = nsoption_int(font_min_size); - snprintf( spare, 255, "%3d", nsoption_int(font_min_size) ); - set_text( SETTINGS_EDIT_MIN_FONT_SIZE, spare , 3 ); - - tmp_option_font_size = nsoption_int(font_size); - snprintf( spare, 255, "%3d", nsoption_int(font_size) ); - set_text( SETTINGS_EDIT_DEF_FONT_SIZE, spare , 3 ); - - toggle_objects(); + +/* this gets called each time the settings dialog is opened: */ +static void display_settings(void) +{ + char spare[255]; + // read current settings and display them + + + /* "Browser" tab: */ + set_text( SETTINGS_EDIT_HOMEPAGE, nsoption_charp(homepage_url), + INPUT_HOMEPAGE_URL_MAX_LEN ); + + if( nsoption_bool(block_ads) ) { + OBJ_CHECK( SETTINGS_CB_HIDE_ADVERTISEMENT ); + } else { + OBJ_UNCHECK( SETTINGS_CB_HIDE_ADVERTISEMENT ); + } + if( nsoption_bool(target_blank) ) { + OBJ_UNCHECK( SETTINGS_CB_DISABLE_POPUP_WINDOWS ); + } else { + OBJ_CHECK( SETTINGS_CB_DISABLE_POPUP_WINDOWS ); + } + if( nsoption_bool(send_referer) ) { + OBJ_CHECK( SETTINGS_CB_SEND_HTTP_REFERRER ); + } else { + OBJ_UNCHECK( SETTINGS_CB_SEND_HTTP_REFERRER ); + } + if( nsoption_bool(do_not_track) ) { + OBJ_CHECK( SETTINGS_CB_SEND_DO_NOT_TRACK ); + } else { + OBJ_UNCHECK( SETTINGS_CB_SEND_DO_NOT_TRACK ); + } + + set_text( SETTINGS_BT_SEL_LOCALE, + nsoption_charp(accept_language) ? nsoption_charp(accept_language) : (char*)"en", + INPUT_LOCALE_MAX_LEN ); + + tmp_option_expire_url = nsoption_int(expire_url); + snprintf( spare, 255, "%02d", nsoption_int(expire_url) ); + set_text( SETTINGS_EDIT_HISTORY_AGE, spare, 2 ); + + /* "Cache" tab: */ + tmp_option_memory_cache_size = nsoption_int(memory_cache_size) / 1000000; + snprintf( spare, 255, "%03.1f", tmp_option_memory_cache_size ); + set_text( SETTINGS_STR_MAX_MEM_CACHE, spare, 5 ); + + /* "Paths" tab: */ + set_text( SETTINGS_EDIT_DOWNLOAD_PATH, nsoption_charp(downloads_path), + LABEL_PATH_MAX_LEN ); + set_text( SETTINGS_EDIT_HOTLIST_FILE, nsoption_charp(hotlist_file), + LABEL_PATH_MAX_LEN ); + set_text( SETTINGS_EDIT_CA_BUNDLE, nsoption_charp(ca_bundle), + LABEL_PATH_MAX_LEN ); + set_text( SETTINGS_EDIT_CA_CERTS_PATH, nsoption_charp(ca_path), + LABEL_PATH_MAX_LEN ); + set_text( SETTINGS_EDIT_EDITOR, nsoption_charp(atari_editor), + LABEL_PATH_MAX_LEN ); + + /* "Rendering" tab: */ + set_text( SETTINGS_BT_SEL_FONT_RENDERER, nsoption_charp(atari_font_driver), + LABEL_FONT_RENDERER_MAX_LEN ); + SET_BIT(dlgtree[SETTINGS_CB_TRANSPARENCY].ob_state, + GW_CB_SELECTED, nsoption_int(atari_transparency) ? 1 : 0 ); + SET_BIT(dlgtree[SETTINGS_CB_ENABLE_ANIMATION].ob_state, + GW_CB_SELECTED, nsoption_bool(animate_images) ? 1 : 0 ); + SET_BIT(dlgtree[SETTINGS_CB_FG_IMAGES].ob_state, + GW_CB_SELECTED, nsoption_bool(foreground_images) ? 1 : 0 ); + SET_BIT(dlgtree[SETTINGS_CB_BG_IMAGES].ob_state, + GW_CB_SELECTED, nsoption_bool(background_images) ? 1 : 0 ); + + + // TODO: enable this option? + /* SET_BIT(dlgtree[SETTINGS_CB_INCREMENTAL_REFLOW].ob_state, + GW_CB_SELECTED, nsoption_bool(incremental_reflow) ? 1 : 0 );*/ + + SET_BIT(dlgtree[SETTINGS_CB_ANTI_ALIASING].ob_state, + GW_CB_SELECTED, nsoption_int(atari_font_monochrom) ? 0 : 1 ); + + + // TODO: activate this option? + tmp_option_min_reflow_period = nsoption_int(min_reflow_period); + snprintf( spare, 255, "%04d", tmp_option_min_reflow_period ); + set_text( SETTINGS_EDIT_MIN_REFLOW_PERIOD, spare, + INPUT_MIN_REFLOW_PERIOD_MAX_LEN ); + + + tmp_option_minimum_gif_delay = (float)nsoption_int(minimum_gif_delay) / (float)100; + snprintf( spare, 255, "%01.1f", tmp_option_minimum_gif_delay ); + set_text( SETTINGS_EDIT_MIN_GIF_DELAY, spare, 3 ); + + /* "Network" tab: */ + set_text( SETTINGS_EDIT_PROXY_HOST, nsoption_charp(http_proxy_host), + INPUT_PROXY_HOST_MAX_LEN ); + snprintf( spare, 255, "%5d", nsoption_int(http_proxy_port) ); + set_text( SETTINGS_EDIT_PROXY_PORT, spare, + INPUT_PROXY_PORT_MAX_LEN ); + + set_text( SETTINGS_EDIT_PROXY_USERNAME, nsoption_charp(http_proxy_auth_user), + INPUT_PROXY_USERNAME_MAX_LEN ); + set_text( SETTINGS_EDIT_PROXY_PASSWORD, nsoption_charp(http_proxy_auth_pass), + INPUT_PROXY_PASSWORD_MAX_LEN ); + SET_BIT(dlgtree[SETTINGS_CB_USE_PROXY].ob_state, + GW_CB_SELECTED, nsoption_bool(http_proxy) ? 1 : 0 ); + SET_BIT(dlgtree[SETTINGS_CB_PROXY_AUTH].ob_state, + GW_CB_SELECTED, nsoption_int(http_proxy_auth) ? 1 : 0 ); + + tmp_option_max_cached_fetch_handles = nsoption_int(max_cached_fetch_handles); + snprintf( spare, 255, "%2d", nsoption_int(max_cached_fetch_handles) ); + set_text( SETTINGS_EDIT_MAX_CACHED_CONNECTIONS, spare , 2 ); + + tmp_option_max_fetchers = nsoption_int(max_fetchers); + snprintf( spare, 255, "%2d", nsoption_int(max_fetchers) ); + set_text( SETTINGS_EDIT_MAX_FETCHERS, spare , 2 ); + + tmp_option_max_fetchers_per_host = nsoption_int(max_fetchers_per_host); + snprintf( spare, 255, "%2d", nsoption_int(max_fetchers_per_host) ); + set_text( SETTINGS_EDIT_MAX_FETCHERS_PER_HOST, spare , 2 ); + + + /* "Style" tab: */ + tmp_option_font_min_size = nsoption_int(font_min_size); + snprintf( spare, 255, "%3d", nsoption_int(font_min_size) ); + set_text( SETTINGS_EDIT_MIN_FONT_SIZE, spare , 3 ); + + tmp_option_font_size = nsoption_int(font_size); + snprintf( spare, 255, "%3d", nsoption_int(font_size) ); + set_text( SETTINGS_EDIT_DEF_FONT_SIZE, spare , 3 ); + + toggle_objects(); } - -static void form_event(int index, int external) -{ - char spare[255]; - bool is_button = false; - bool checked = OBJ_SELECTED(index); - char * tmp; - - /* For font driver popup: */ - const char *font_driver_items[] = {"freetype", "internal" }; - int num_font_drivers = (sizeof(font_driver_items)/sizeof(char*)); - - /* - Just a small collection of locales, each country has at least one - ATARI-clone user! :) - */ - const char *locales[] = { - "cs", "de", "de-de" , "en", "en-gb", "en-us", "es", - "fr", "it", "nl", "no", "pl", "ru", "sk", "sv" - }; - - int num_locales = (sizeof(locales)/sizeof(char*)); - short x, y; - int choice; - - switch(index){ - - case SETTINGS_SAVE: - save_settings(); - break; - - case SETTINGS_ABORT: - close_settings(); - break; - - case SETTINGS_CB_USE_PROXY: - if( checked ){ - ENABLE_OBJ(SETTINGS_EDIT_PROXY_HOST); - ENABLE_OBJ(SETTINGS_EDIT_PROXY_PORT); - ENABLE_OBJ(SETTINGS_CB_PROXY_AUTH); - ENABLE_OBJ(SETTINGS_LBL_PROXY_AUTH); - } - else { - DISABLE_OBJ(SETTINGS_EDIT_PROXY_HOST); - DISABLE_OBJ(SETTINGS_EDIT_PROXY_PORT); - DISABLE_OBJ(SETTINGS_CB_PROXY_AUTH); - DISABLE_OBJ(SETTINGS_LBL_PROXY_AUTH); - } - FORMEVENT(SETTINGS_CB_PROXY_AUTH); - OBJ_REDRAW(SETTINGS_CB_USE_PROXY); - break; - - case SETTINGS_CB_PROXY_AUTH: - if( checked && OBJ_SELECTED( SETTINGS_CB_USE_PROXY ) ){ - ENABLE_OBJ(SETTINGS_EDIT_PROXY_USERNAME); - ENABLE_OBJ(SETTINGS_EDIT_PROXY_PASSWORD); - } - else { - DISABLE_OBJ(SETTINGS_EDIT_PROXY_USERNAME); - DISABLE_OBJ(SETTINGS_EDIT_PROXY_PASSWORD); - } - break; - - case SETTINGS_CB_ENABLE_ANIMATION: - if( checked ){ - ENABLE_OBJ( SETTINGS_EDIT_MIN_GIF_DELAY ); - } - else { - DISABLE_OBJ( SETTINGS_EDIT_MIN_GIF_DELAY ); - } - break; - - case SETTINGS_BT_SEL_FONT_RENDERER: - if( external ){ - objc_offset(dlgtree, SETTINGS_BT_SEL_FONT_RENDERER, &x, &y); - // TODO: add menu popup - /* - choice = MenuPopUp (font_driver_items, x, y, - num_font_drivers, - -1, -1, P_LIST + P_WNDW + P_CHCK); - if( choice > 0 && - choice <= num_font_drivers ){ - set_text(SETTINGS_BT_SEL_FONT_RENDERER, - (char*)font_driver_items[choice-1], - LABEL_FONT_RENDERER_MAX_LEN); - OBJ_REDRAW(SETTINGS_BT_SEL_FONT_RENDERER); - } - */ - } - tmp = get_text(dlgtree, SETTINGS_BT_SEL_FONT_RENDERER); - if( strcmp(tmp, "freetype") == 0 ){ - ENABLE_OBJ(SETTINGS_CB_ANTI_ALIASING); - } else { - DISABLE_OBJ(SETTINGS_CB_ANTI_ALIASING); - } - break; - - case SETTINGS_BT_SEL_LOCALE: - objc_offset(dlgtree, SETTINGS_BT_SEL_LOCALE, &x, &y); - // TODO: open locales popup - /* - choice = MenuPopUp ( locales, x, y, - num_locales, - -1, -1, P_LIST + P_WNDW + P_CHCK ); - if( choice > 0 && choice <= num_locales ){ - set_text(SETTINGS_BT_SEL_LOCALE, (char*)locales[choice-1], 5); - } - */ - OBJ_REDRAW(SETTINGS_BT_SEL_LOCALE); - break; - -/* - case SETTINGS_INPUT_TOOLBAR_BGCOLOR: - objc_offset( FORM(win), SETTINGS_INPUT_TOOLBAR_BGCOLOR, &x, &y ); - choice = color_popup(x, y, tmp_option_atari_toolbar_bg); - snprintf( spare, 255, "%06x", choice ); - tmp_option_atari_toolbar_bg = choice; - ObjcStrCpy( dlgtree, SETTINGS_INPUT_TOOLBAR_BGCOLOR, - spare ); - is_button = true; - OBJ_REDRAW(SETTINGS_INPUT_TOOLBAR_BGCOLOR); - break; -*/ -/* - case SETTINGS_BT_TOOLBAR_ICONSET: - objc_offset( FORM(win), SETTINGS_BT_TOOLBAR_ICONSET, &x, &y ); - tmp = toolbar_iconset_popup(x,y); - if( tmp != NULL ){ - ObjcStrCpy( dlgtree, SETTINGS_BT_TOOLBAR_ICONSET, tmp ); - } - is_button = true; - break; -*/ - case SETTINGS_INC_MEM_CACHE: - case SETTINGS_DEC_MEM_CACHE: - if( index == SETTINGS_DEC_MEM_CACHE ) - tmp_option_memory_cache_size -= 0.1; - else - tmp_option_memory_cache_size += 0.1; - - if( tmp_option_memory_cache_size < 0.5 ) - tmp_option_memory_cache_size = 0.5; - if( tmp_option_memory_cache_size > 999.9 ) - tmp_option_memory_cache_size = 999.9; - snprintf( spare, 255, "%03.1f", tmp_option_memory_cache_size ); - set_text( SETTINGS_STR_MAX_MEM_CACHE, spare, 5 ); - is_button = true; - OBJ_REDRAW(SETTINGS_STR_MAX_MEM_CACHE); - break; - - case SETTINGS_INC_CACHED_CONNECTIONS: - case SETTINGS_DEC_CACHED_CONNECTIONS: - if( index == SETTINGS_INC_CACHED_CONNECTIONS ) - tmp_option_max_cached_fetch_handles += 1; - else - tmp_option_max_cached_fetch_handles -= 1; - if( tmp_option_max_cached_fetch_handles > 31 ) - tmp_option_max_cached_fetch_handles = 31; - - snprintf( spare, 255, "%02d", tmp_option_max_cached_fetch_handles ); - set_text( SETTINGS_EDIT_MAX_CACHED_CONNECTIONS, spare, 2 ); - is_button = true; - OBJ_REDRAW(SETTINGS_EDIT_MAX_CACHED_CONNECTIONS); - break; - - case SETTINGS_INC_MAX_FETCHERS: - case SETTINGS_DEC_MAX_FETCHERS: - if( index == SETTINGS_INC_MAX_FETCHERS ) - tmp_option_max_fetchers += 1; - else - tmp_option_max_fetchers -= 1; - if( tmp_option_max_fetchers > 31 ) - tmp_option_max_fetchers = 31; - - snprintf( spare, 255, "%02d", tmp_option_max_fetchers ); - set_text( SETTINGS_EDIT_MAX_FETCHERS, spare, 2 ); - is_button = true; - OBJ_REDRAW(SETTINGS_EDIT_MAX_FETCHERS); - break; - - case SETTINGS_INC_MAX_FETCHERS_PER_HOST: - case SETTINGS_DEC_MAX_FETCHERS_PER_HOST: - if( index == SETTINGS_INC_MAX_FETCHERS_PER_HOST ) - tmp_option_max_fetchers_per_host += 1; - else - tmp_option_max_fetchers_per_host -= 1; - if( tmp_option_max_fetchers_per_host > 31 ) - tmp_option_max_fetchers_per_host = 31; - - snprintf( spare, 255, "%02d", tmp_option_max_fetchers_per_host ); - set_text( SETTINGS_EDIT_MAX_FETCHERS_PER_HOST, spare, 2 ); - is_button = true; - OBJ_REDRAW(SETTINGS_EDIT_MAX_FETCHERS_PER_HOST); - break; - - case SETTINGS_INC_HISTORY_AGE: - case SETTINGS_DEC_HISTORY_AGE: - if( index == SETTINGS_INC_HISTORY_AGE ) - tmp_option_expire_url += 1; - else - tmp_option_expire_url -= 1; - - if( tmp_option_expire_url > 99 ) - tmp_option_expire_url = 0; - - snprintf( spare, 255, "%02d", tmp_option_expire_url ); - set_text( SETTINGS_EDIT_HISTORY_AGE, spare, 2 ); - is_button = true; - OBJ_REDRAW(SETTINGS_EDIT_HISTORY_AGE); - break; - - case SETTINGS_INC_GIF_DELAY: - case SETTINGS_DEC_GIF_DELAY: - if( index == SETTINGS_INC_GIF_DELAY ) - tmp_option_minimum_gif_delay += 0.1; - else - tmp_option_minimum_gif_delay -= 0.1; - - if( tmp_option_minimum_gif_delay < 0.1 ) - tmp_option_minimum_gif_delay = 0.1; - if( tmp_option_minimum_gif_delay > 9.0 ) - tmp_option_minimum_gif_delay = 9.0; - snprintf( spare, 255, "%01.1f", tmp_option_minimum_gif_delay ); - set_text( SETTINGS_EDIT_MIN_GIF_DELAY, spare, 3 ); - is_button = true; - OBJ_REDRAW(SETTINGS_EDIT_MIN_GIF_DELAY); - break; - - case SETTINGS_INC_MIN_FONT_SIZE: - case SETTINGS_DEC_MIN_FONT_SIZE: - if( index == SETTINGS_INC_MIN_FONT_SIZE ) - tmp_option_font_min_size += 1; - else - tmp_option_font_min_size -= 1; - - if( tmp_option_font_min_size > 500 ) - tmp_option_font_min_size = 500; - if( tmp_option_font_min_size < 10 ) - tmp_option_font_min_size = 10; - - snprintf( spare, 255, "%03d", tmp_option_font_min_size ); - set_text( SETTINGS_EDIT_MIN_FONT_SIZE, spare, 3 ); - is_button = true; - OBJ_REDRAW(SETTINGS_EDIT_MIN_FONT_SIZE); - break; - - case SETTINGS_INC_DEF_FONT_SIZE: - case SETTINGS_DEC_DEF_FONT_SIZE: - if( index == SETTINGS_INC_DEF_FONT_SIZE ) - tmp_option_font_size += 1; - else - tmp_option_font_size -= 1; - - if( tmp_option_font_size > 999 ) - tmp_option_font_size = 999; - if( tmp_option_font_size < 50 ) - tmp_option_font_size = 50; - - snprintf( spare, 255, "%03d", tmp_option_font_size ); - set_text( SETTINGS_EDIT_DEF_FONT_SIZE, spare, 3 ); - is_button = true; - OBJ_REDRAW(SETTINGS_EDIT_DEF_FONT_SIZE); - break; -/* - case SETTINGS_INC_INCREMENTAL_REFLOW: - case SETTINGS_DEC_INCREMENTAL_REFLOW: - if( index == SETTINGS_INC_INCREMENTAL_REFLOW ) - tmp_option_min_reflow_period += 1; - else - tmp_option_min_reflow_period -= 1; - - if( tmp_option_min_reflow_period > 9999 ) - tmp_option_min_reflow_period = 10; - - snprintf( spare, 255, "%04d", tmp_option_min_reflow_period ); - set_text( SETTINGS_EDIT_MIN_REFLOW_PERIOD, spare, 4 ); - is_button = true; - OBJ_REDRAW(SETTINGS_EDIT_MIN_REFLOW_PERIOD); - break; -*/ - default: break; - } - - if( is_button ){ - // remove selection indicator from button element: - OBJ_UNCHECK(index); - OBJ_REDRAW(index); - } + +static void form_event(int index, int external) +{ + char spare[255]; + bool is_button = false; + bool checked = OBJ_SELECTED(index); + char * tmp; + MENU pop_menu, me_data; + + /* For font driver popup: */ + int num_font_drivers = 2; + + /* + Just a small collection of locales, each country has at least one + ATARI-clone user! :) + */ + int num_locales = 15; + short x, y; + int choice, i; + + switch(index) { + + case SETTINGS_SAVE: + save_settings(); + break; + + case SETTINGS_ABORT: + close_settings(); + break; + + case SETTINGS_CB_USE_PROXY: + if( checked ) { + ENABLE_OBJ(SETTINGS_EDIT_PROXY_HOST); + ENABLE_OBJ(SETTINGS_EDIT_PROXY_PORT); + ENABLE_OBJ(SETTINGS_CB_PROXY_AUTH); + ENABLE_OBJ(SETTINGS_LBL_PROXY_AUTH); + } else { + DISABLE_OBJ(SETTINGS_EDIT_PROXY_HOST); + DISABLE_OBJ(SETTINGS_EDIT_PROXY_PORT); + DISABLE_OBJ(SETTINGS_CB_PROXY_AUTH); + DISABLE_OBJ(SETTINGS_LBL_PROXY_AUTH); + } + FORMEVENT(SETTINGS_CB_PROXY_AUTH); + OBJ_REDRAW(SETTINGS_CB_USE_PROXY); + break; + + case SETTINGS_CB_PROXY_AUTH: + if( checked && OBJ_SELECTED( SETTINGS_CB_USE_PROXY ) ) { + ENABLE_OBJ(SETTINGS_EDIT_PROXY_USERNAME); + ENABLE_OBJ(SETTINGS_EDIT_PROXY_PASSWORD); + } else { + DISABLE_OBJ(SETTINGS_EDIT_PROXY_USERNAME); + DISABLE_OBJ(SETTINGS_EDIT_PROXY_PASSWORD); + } + break; + + case SETTINGS_CB_ENABLE_ANIMATION: + if( checked ) { + ENABLE_OBJ( SETTINGS_EDIT_MIN_GIF_DELAY ); + } else { + DISABLE_OBJ( SETTINGS_EDIT_MIN_GIF_DELAY ); + } + break; + + case SETTINGS_BT_SEL_FONT_RENDERER: + if( external ) { + objc_offset(dlgtree, SETTINGS_BT_SEL_FONT_RENDERER, &x, &y); + // point mn_tree tree to states popup: + pop_menu.mn_tree = get_tree(POP_FONT_RENDERER); + pop_menu.mn_menu = 0; + pop_menu.mn_item = POP_FONT_RENDERER_INTERNAL; + pop_menu.mn_scroll = SCROLL_NO; + pop_menu.mn_keystate = 0; + + // find the selected menu item and uncheck others: + for(i=pop_menu.mn_item; i<=num_font_drivers; i++) { + get_string(pop_menu.mn_tree, i, spare); + tmp = get_text(dlgtree, SETTINGS_BT_SEL_FONT_RENDERER); + if (strcasecmp(&spare[2], tmp)) { + menu_icheck(pop_menu.mn_tree, i, 0); + } else { + menu_icheck(pop_menu.mn_tree, i, 1); + } + set_string(pop_menu.mn_tree, i, spare); + } + + menu_popup(&pop_menu, x, y, &me_data); + choice = me_data.mn_item; + if( choice > 0 && choice <= num_font_drivers ) { + get_string(pop_menu.mn_tree, choice, spare); + for(i=2; i<(int)strlen(spare); i++) { + spare[i]= (char)tolower(spare[i]); + } + set_text(SETTINGS_BT_SEL_FONT_RENDERER, + (char*)&spare[2], + LABEL_FONT_RENDERER_MAX_LEN); + OBJ_REDRAW(SETTINGS_BT_SEL_FONT_RENDERER); + } + } + tmp = get_text(dlgtree, SETTINGS_BT_SEL_FONT_RENDERER); + if (strcasecmp(tmp, "freetype") == 0) { + ENABLE_OBJ(SETTINGS_CB_ANTI_ALIASING); + } else { + DISABLE_OBJ(SETTINGS_CB_ANTI_ALIASING); + } + break; + + case SETTINGS_BT_SEL_LOCALE: + objc_offset(dlgtree, SETTINGS_BT_SEL_LOCALE, &x, &y); + + // point mn_tree tree to states popup: + pop_menu.mn_tree = get_tree(POP_LANGUAGE); + pop_menu.mn_menu = 0; + pop_menu.mn_item = POP_LANGUAGE_CS; + pop_menu.mn_scroll = SCROLL_NO; + pop_menu.mn_keystate = 0; + + // find the selected menu item and uncheck others: + for(i=pop_menu.mn_item; i<=num_locales; i++) { + get_string(pop_menu.mn_tree, i, spare); + tmp = get_text(dlgtree, SETTINGS_BT_SEL_LOCALE); + if (strcasecmp(&spare[2], tmp)) { + menu_icheck(pop_menu.mn_tree, i, 0); + } else { + menu_icheck(pop_menu.mn_tree, i, 1); + } + set_string(pop_menu.mn_tree, i, spare); + } + + + menu_popup(&pop_menu, x, y, &me_data); + choice = me_data.mn_item; + if( choice > 0 && choice <= num_locales ) { + get_string(pop_menu.mn_tree, choice, spare); + for(i=2; i<(int)strlen(spare); i++) { + spare[i]= (char)tolower(spare[i]); + } + set_text(SETTINGS_BT_SEL_LOCALE, (char*)&spare[2], 5); + } + + OBJ_REDRAW(SETTINGS_BT_SEL_LOCALE); + break; + + /* + case SETTINGS_INPUT_TOOLBAR_BGCOLOR: + objc_offset( FORM(win), SETTINGS_INPUT_TOOLBAR_BGCOLOR, &x, &y ); + choice = color_popup(x, y, tmp_option_atari_toolbar_bg); + snprintf( spare, 255, "%06x", choice ); + tmp_option_atari_toolbar_bg = choice; + ObjcStrCpy( dlgtree, SETTINGS_INPUT_TOOLBAR_BGCOLOR, + spare ); + is_button = true; + OBJ_REDRAW(SETTINGS_INPUT_TOOLBAR_BGCOLOR); + break; + */ + /* + case SETTINGS_BT_TOOLBAR_ICONSET: + objc_offset( FORM(win), SETTINGS_BT_TOOLBAR_ICONSET, &x, &y ); + tmp = toolbar_iconset_popup(x,y); + if( tmp != NULL ){ + ObjcStrCpy( dlgtree, SETTINGS_BT_TOOLBAR_ICONSET, tmp ); + } + is_button = true; + break; + */ + case SETTINGS_INC_MEM_CACHE: + case SETTINGS_DEC_MEM_CACHE: + if( index == SETTINGS_DEC_MEM_CACHE ) + tmp_option_memory_cache_size -= 0.1; + else + tmp_option_memory_cache_size += 0.1; + + if( tmp_option_memory_cache_size < 0.5 ) + tmp_option_memory_cache_size = 0.5; + if( tmp_option_memory_cache_size > 999.9 ) + tmp_option_memory_cache_size = 999.9; + snprintf( spare, 255, "%03.1f", tmp_option_memory_cache_size ); + set_text( SETTINGS_STR_MAX_MEM_CACHE, spare, 5 ); + is_button = true; + OBJ_REDRAW(SETTINGS_STR_MAX_MEM_CACHE); + break; + + case SETTINGS_INC_CACHED_CONNECTIONS: + case SETTINGS_DEC_CACHED_CONNECTIONS: + if( index == SETTINGS_INC_CACHED_CONNECTIONS ) + tmp_option_max_cached_fetch_handles += 1; + else + tmp_option_max_cached_fetch_handles -= 1; + if( tmp_option_max_cached_fetch_handles > 31 ) + tmp_option_max_cached_fetch_handles = 31; + + snprintf( spare, 255, "%02d", tmp_option_max_cached_fetch_handles ); + set_text( SETTINGS_EDIT_MAX_CACHED_CONNECTIONS, spare, 2 ); + is_button = true; + OBJ_REDRAW(SETTINGS_EDIT_MAX_CACHED_CONNECTIONS); + break; + + case SETTINGS_INC_MAX_FETCHERS: + case SETTINGS_DEC_MAX_FETCHERS: + if( index == SETTINGS_INC_MAX_FETCHERS ) + tmp_option_max_fetchers += 1; + else + tmp_option_max_fetchers -= 1; + if( tmp_option_max_fetchers > 31 ) + tmp_option_max_fetchers = 31; + + snprintf( spare, 255, "%02d", tmp_option_max_fetchers ); + set_text( SETTINGS_EDIT_MAX_FETCHERS, spare, 2 ); + is_button = true; + OBJ_REDRAW(SETTINGS_EDIT_MAX_FETCHERS); + break; + + case SETTINGS_INC_MAX_FETCHERS_PER_HOST: + case SETTINGS_DEC_MAX_FETCHERS_PER_HOST: + if( index == SETTINGS_INC_MAX_FETCHERS_PER_HOST ) + tmp_option_max_fetchers_per_host += 1; + else + tmp_option_max_fetchers_per_host -= 1; + if( tmp_option_max_fetchers_per_host > 31 ) + tmp_option_max_fetchers_per_host = 31; + + snprintf( spare, 255, "%02d", tmp_option_max_fetchers_per_host ); + set_text( SETTINGS_EDIT_MAX_FETCHERS_PER_HOST, spare, 2 ); + is_button = true; + OBJ_REDRAW(SETTINGS_EDIT_MAX_FETCHERS_PER_HOST); + break; + + case SETTINGS_INC_HISTORY_AGE: + case SETTINGS_DEC_HISTORY_AGE: + if( index == SETTINGS_INC_HISTORY_AGE ) + tmp_option_expire_url += 1; + else + tmp_option_expire_url -= 1; + + if( tmp_option_expire_url > 99 ) + tmp_option_expire_url = 0; + + snprintf( spare, 255, "%02d", tmp_option_expire_url ); + set_text( SETTINGS_EDIT_HISTORY_AGE, spare, 2 ); + is_button = true; + OBJ_REDRAW(SETTINGS_EDIT_HISTORY_AGE); + break; + + case SETTINGS_INC_GIF_DELAY: + case SETTINGS_DEC_GIF_DELAY: + if( index == SETTINGS_INC_GIF_DELAY ) + tmp_option_minimum_gif_delay += 0.1; + else + tmp_option_minimum_gif_delay -= 0.1; + + if( tmp_option_minimum_gif_delay < 0.1 ) + tmp_option_minimum_gif_delay = 0.1; + if( tmp_option_minimum_gif_delay > 9.0 ) + tmp_option_minimum_gif_delay = 9.0; + snprintf( spare, 255, "%01.1f", tmp_option_minimum_gif_delay ); + set_text( SETTINGS_EDIT_MIN_GIF_DELAY, spare, 3 ); + is_button = true; + OBJ_REDRAW(SETTINGS_EDIT_MIN_GIF_DELAY); + break; + + case SETTINGS_INC_MIN_FONT_SIZE: + case SETTINGS_DEC_MIN_FONT_SIZE: + if( index == SETTINGS_INC_MIN_FONT_SIZE ) + tmp_option_font_min_size += 1; + else + tmp_option_font_min_size -= 1; + + if( tmp_option_font_min_size > 500 ) + tmp_option_font_min_size = 500; + if( tmp_option_font_min_size < 10 ) + tmp_option_font_min_size = 10; + + snprintf( spare, 255, "%03d", tmp_option_font_min_size ); + set_text( SETTINGS_EDIT_MIN_FONT_SIZE, spare, 3 ); + is_button = true; + OBJ_REDRAW(SETTINGS_EDIT_MIN_FONT_SIZE); + break; + + case SETTINGS_INC_DEF_FONT_SIZE: + case SETTINGS_DEC_DEF_FONT_SIZE: + if( index == SETTINGS_INC_DEF_FONT_SIZE ) + tmp_option_font_size += 1; + else + tmp_option_font_size -= 1; + + if( tmp_option_font_size > 999 ) + tmp_option_font_size = 999; + if( tmp_option_font_size < 50 ) + tmp_option_font_size = 50; + + snprintf( spare, 255, "%03d", tmp_option_font_size ); + set_text( SETTINGS_EDIT_DEF_FONT_SIZE, spare, 3 ); + is_button = true; + OBJ_REDRAW(SETTINGS_EDIT_DEF_FONT_SIZE); + break; + + case SETTINGS_INC_INCREMENTAL_REFLOW: + case SETTINGS_DEC_INCREMENTAL_REFLOW: + if( index == SETTINGS_INC_INCREMENTAL_REFLOW ) + tmp_option_min_reflow_period += 1; + else + tmp_option_min_reflow_period -= 1; + + if( tmp_option_min_reflow_period > 9999 ) + tmp_option_min_reflow_period = 10; + + snprintf( spare, 255, "%04d", tmp_option_min_reflow_period ); + set_text( SETTINGS_EDIT_MIN_REFLOW_PERIOD, spare, 4 ); + is_button = true; + OBJ_REDRAW(SETTINGS_EDIT_MIN_REFLOW_PERIOD); + break; + + default: + break; + } + + if( is_button ) { + // remove selection indicator from button element: + OBJ_UNCHECK(index); + OBJ_REDRAW(index); + } } - -static void apply_settings(void) -{ - /* "Network" tab: */ - nsoption_set_bool(http_proxy, OBJ_SELECTED(SETTINGS_CB_USE_PROXY)); - if ( OBJ_SELECTED(SETTINGS_CB_PROXY_AUTH) ) { - nsoption_set_int(http_proxy_auth, OPTION_HTTP_PROXY_AUTH_BASIC); - } else { - nsoption_set_int(http_proxy_auth, OPTION_HTTP_PROXY_AUTH_NONE); - } - nsoption_set_charp(http_proxy_auth_pass, - get_text(dlgtree, SETTINGS_EDIT_PROXY_PASSWORD)); - nsoption_set_charp(http_proxy_auth_user, - get_text(dlgtree, SETTINGS_EDIT_PROXY_USERNAME)); - nsoption_set_charp(http_proxy_host, - get_text(dlgtree, SETTINGS_EDIT_PROXY_HOST)); - nsoption_set_int(http_proxy_port, - atoi( get_text(dlgtree, SETTINGS_EDIT_PROXY_PORT) )); - nsoption_set_int(max_fetchers_per_host, - atoi( get_text(dlgtree, SETTINGS_EDIT_MAX_FETCHERS_PER_HOST))); - nsoption_set_int(max_cached_fetch_handles, - atoi( get_text(dlgtree, SETTINGS_EDIT_MAX_CACHED_CONNECTIONS))); - nsoption_set_int(max_fetchers, - atoi( get_text(dlgtree, SETTINGS_EDIT_MAX_FETCHERS) )); - nsoption_set_bool(foreground_images, - OBJ_SELECTED( SETTINGS_CB_FG_IMAGES )); - nsoption_set_bool(background_images, - OBJ_SELECTED( SETTINGS_CB_BG_IMAGES )); - - /* "Style" tab: */ - nsoption_set_int(font_min_size, tmp_option_font_min_size); - nsoption_set_int(font_size, tmp_option_font_size); - - /* "Rendering" tab: */ - nsoption_set_charp(atari_font_driver, - get_text(dlgtree, SETTINGS_BT_SEL_FONT_RENDERER)); - nsoption_set_bool(atari_transparency, - OBJ_SELECTED(SETTINGS_CB_TRANSPARENCY)); - nsoption_set_bool(animate_images, - OBJ_SELECTED(SETTINGS_CB_ENABLE_ANIMATION)); - nsoption_set_int(minimum_gif_delay, - (int)(tmp_option_minimum_gif_delay*100+0.5)); -/* nsoption_set_bool(incremental_reflow, - OBJ_SELECTED(SETTINGS_CB_INCREMENTAL_REFLOW));*/ - nsoption_set_int(min_reflow_period, tmp_option_min_reflow_period); - nsoption_set_int(atari_font_monochrom, - !OBJ_SELECTED( SETTINGS_CB_ANTI_ALIASING )); - - /* "Paths" tabs: */ - nsoption_set_charp(ca_bundle, - get_text(dlgtree, SETTINGS_EDIT_CA_BUNDLE)); - nsoption_set_charp(ca_path, - get_text(dlgtree, SETTINGS_EDIT_CA_CERTS_PATH)); - nsoption_set_charp(homepage_url, - get_text(dlgtree, SETTINGS_EDIT_CA_CERTS_PATH)); - nsoption_set_charp(hotlist_file, - get_text(dlgtree, SETTINGS_EDIT_HOTLIST_FILE)); - nsoption_set_charp(atari_editor, - get_text(dlgtree, SETTINGS_EDIT_EDITOR)); - nsoption_set_charp(downloads_path, - get_text(dlgtree, SETTINGS_EDIT_DOWNLOAD_PATH)); - - /* "Cache" tab: */ - nsoption_set_int(memory_cache_size, - tmp_option_memory_cache_size * 1000000); - - /* "Browser" tab: */ - nsoption_set_bool(target_blank, - !OBJ_SELECTED(SETTINGS_CB_DISABLE_POPUP_WINDOWS)); - nsoption_set_bool(block_ads, - OBJ_SELECTED(SETTINGS_CB_HIDE_ADVERTISEMENT)); - nsoption_set_charp(accept_language, - get_text(dlgtree, SETTINGS_BT_SEL_LOCALE)); - nsoption_set_int(expire_url, - atoi(get_text(dlgtree, SETTINGS_EDIT_HISTORY_AGE))); - nsoption_set_bool(send_referer, - OBJ_SELECTED(SETTINGS_CB_SEND_HTTP_REFERRER)); - nsoption_set_bool(do_not_track, - OBJ_SELECTED(SETTINGS_CB_SEND_DO_NOT_TRACK)); - nsoption_set_charp(homepage_url, - get_text(dlgtree, SETTINGS_EDIT_HOMEPAGE)); + +static void apply_settings(void) +{ + /* "Network" tab: */ + nsoption_set_bool(http_proxy, OBJ_SELECTED(SETTINGS_CB_USE_PROXY)); + if ( OBJ_SELECTED(SETTINGS_CB_PROXY_AUTH) ) { + nsoption_set_int(http_proxy_auth, OPTION_HTTP_PROXY_AUTH_BASIC); + } else { + nsoption_set_int(http_proxy_auth, OPTION_HTTP_PROXY_AUTH_NONE); + } + nsoption_set_charp(http_proxy_auth_pass, + get_text(dlgtree, SETTINGS_EDIT_PROXY_PASSWORD)); + nsoption_set_charp(http_proxy_auth_user, + get_text(dlgtree, SETTINGS_EDIT_PROXY_USERNAME)); + nsoption_set_charp(http_proxy_host, + get_text(dlgtree, SETTINGS_EDIT_PROXY_HOST)); + nsoption_set_int(http_proxy_port, + atoi( get_text(dlgtree, SETTINGS_EDIT_PROXY_PORT) )); + nsoption_set_int(max_fetchers_per_host, + atoi( get_text(dlgtree, SETTINGS_EDIT_MAX_FETCHERS_PER_HOST))); + nsoption_set_int(max_cached_fetch_handles, + atoi( get_text(dlgtree, SETTINGS_EDIT_MAX_CACHED_CONNECTIONS))); + nsoption_set_int(max_fetchers, + atoi( get_text(dlgtree, SETTINGS_EDIT_MAX_FETCHERS) )); + nsoption_set_bool(foreground_images, + OBJ_SELECTED( SETTINGS_CB_FG_IMAGES )); + nsoption_set_bool(background_images, + OBJ_SELECTED( SETTINGS_CB_BG_IMAGES )); + + /* "Style" tab: */ + nsoption_set_int(font_min_size, tmp_option_font_min_size); + nsoption_set_int(font_size, tmp_option_font_size); + + /* "Rendering" tab: */ + nsoption_set_charp(atari_font_driver, + get_text(dlgtree, SETTINGS_BT_SEL_FONT_RENDERER)); + nsoption_set_bool(atari_transparency, + OBJ_SELECTED(SETTINGS_CB_TRANSPARENCY)); + nsoption_set_bool(animate_images, + OBJ_SELECTED(SETTINGS_CB_ENABLE_ANIMATION)); + nsoption_set_int(minimum_gif_delay, + (int)(tmp_option_minimum_gif_delay*100+0.5)); + /* nsoption_set_bool(incremental_reflow, + OBJ_SELECTED(SETTINGS_CB_INCREMENTAL_REFLOW));*/ + nsoption_set_int(min_reflow_period, tmp_option_min_reflow_period); + nsoption_set_int(atari_font_monochrom, + !OBJ_SELECTED( SETTINGS_CB_ANTI_ALIASING )); + + /* "Paths" tabs: */ + nsoption_set_charp(ca_bundle, + get_text(dlgtree, SETTINGS_EDIT_CA_BUNDLE)); + nsoption_set_charp(ca_path, + get_text(dlgtree, SETTINGS_EDIT_CA_CERTS_PATH)); + nsoption_set_charp(homepage_url, + get_text(dlgtree, SETTINGS_EDIT_CA_CERTS_PATH)); + nsoption_set_charp(hotlist_file, + get_text(dlgtree, SETTINGS_EDIT_HOTLIST_FILE)); + nsoption_set_charp(atari_editor, + get_text(dlgtree, SETTINGS_EDIT_EDITOR)); + nsoption_set_charp(downloads_path, + get_text(dlgtree, SETTINGS_EDIT_DOWNLOAD_PATH)); + + /* "Cache" tab: */ + nsoption_set_int(memory_cache_size, + tmp_option_memory_cache_size * 1000000); + + /* "Browser" tab: */ + nsoption_set_bool(target_blank, + !OBJ_SELECTED(SETTINGS_CB_DISABLE_POPUP_WINDOWS)); + nsoption_set_bool(block_ads, + OBJ_SELECTED(SETTINGS_CB_HIDE_ADVERTISEMENT)); + nsoption_set_charp(accept_language, + get_text(dlgtree, SETTINGS_BT_SEL_LOCALE)); + nsoption_set_int(expire_url, + atoi(get_text(dlgtree, SETTINGS_EDIT_HISTORY_AGE))); + nsoption_set_bool(send_referer, + OBJ_SELECTED(SETTINGS_CB_SEND_HTTP_REFERRER)); + nsoption_set_bool(do_not_track, + OBJ_SELECTED(SETTINGS_CB_SEND_DO_NOT_TRACK)); + nsoption_set_charp(homepage_url, + get_text(dlgtree, SETTINGS_EDIT_HOMEPAGE)); } static short on_aes_event(GUIWIN *win, EVMULT_OUT *ev_out, short msg[8]) @@ -630,7 +662,7 @@ static short on_aes_event(GUIWIN *win, EVMULT_OUT *ev_out, short msg[8]) short retval = 0; GRECT clip, work; static short edit_idx = 0; - struct guiwin_scroll_info_s *slid; + struct guiwin_scroll_info_s *slid; if ((ev_out->emo_events & MU_MESAG) != 0) { // handle message @@ -638,28 +670,29 @@ static short on_aes_event(GUIWIN *win, EVMULT_OUT *ev_out, short msg[8]) switch (msg[0]) { - case WM_CLOSED: + case WM_CLOSED: // TODO: this needs to iterate through all gui windows and // check if the rootwin is this window... - close_settings(); + close_settings(); break; - case WM_SIZED: - guiwin_update_slider(win, GUIWIN_VH_SLIDER); - break; + case WM_SIZED: + guiwin_update_slider(win, GUIWIN_VH_SLIDER); + break; - case WM_MOVED: - break; + case WM_MOVED: + break; case WM_TOOLBAR: - switch(msg[4]){ - default: break; - } + switch(msg[4]) { + default: + break; + } break; - case GUIWIN_WM_FORM: - form_event(msg[4], 1); - break; + case GUIWIN_WM_FORM: + form_event(msg[4], 1); + break; default: break; @@ -677,57 +710,57 @@ static short on_aes_event(GUIWIN *win, EVMULT_OUT *ev_out, short msg[8]) void open_settings(void) { - if (h_aes_win == 0) { - - GRECT curr, area; - struct guiwin_scroll_info_s *slid; - uint32_t kind = CLOSER | NAME | MOVER | VSLIDE | HSLIDE | UPARROW - | DNARROW | LFARROW | RTARROW | SIZER | FULLER; - - dlgtree = get_tree(SETTINGS); - area.g_x = area.g_y = 0; - area.g_w = MIN(dlgtree->ob_width, desk_area.g_w); - area.g_h = MIN(dlgtree->ob_height, desk_area.g_h); - wind_calc_grect(WC_BORDER, kind, &area, &area); - h_aes_win = wind_create_grect(kind, &area); - wind_set_str(h_aes_win, WF_NAME, "Settings"); - settings_guiwin = guiwin_add(h_aes_win, GW_FLAG_DEFAULTS, - on_aes_event); - curr.g_w = MIN(dlgtree->ob_width, desk_area.g_w); - curr.g_h = MIN(dlgtree->ob_height, desk_area.g_h-64); - curr.g_x = 1; - curr.g_y = (desk_area.g_h / 2) - (curr.g_h / 2); - - wind_calc_grect(WC_BORDER, kind, &curr, &curr); - - dlgtree->ob_x = curr.g_x; - dlgtree->ob_y = curr.g_y; - - /* set current config values: */ - display_settings(); - - wind_open_grect(h_aes_win, &curr); - - guiwin_set_form(settings_guiwin, dlgtree, 0); - guiwin_set_scroll_grid(settings_guiwin, 32, 32); - guiwin_get_grect(settings_guiwin, GUIWIN_AREA_CONTENT, &area); - - slid = guiwin_get_scroll_info(settings_guiwin); - guiwin_set_content_units(settings_guiwin, - (dlgtree->ob_width/slid->x_unit_px), - (dlgtree->ob_height/slid->y_unit_px)); - guiwin_update_slider(settings_guiwin, GUIWIN_VH_SLIDER); - } + if (h_aes_win == 0) { + + GRECT curr, area; + struct guiwin_scroll_info_s *slid; + uint32_t kind = CLOSER | NAME | MOVER | VSLIDE | HSLIDE | UPARROW + | DNARROW | LFARROW | RTARROW | SIZER | FULLER; + + dlgtree = get_tree(SETTINGS); + area.g_x = area.g_y = 0; + area.g_w = MIN(dlgtree->ob_width, desk_area.g_w); + area.g_h = MIN(dlgtree->ob_height, desk_area.g_h); + wind_calc_grect(WC_BORDER, kind, &area, &area); + h_aes_win = wind_create_grect(kind, &area); + wind_set_str(h_aes_win, WF_NAME, "Settings"); + settings_guiwin = guiwin_add(h_aes_win, GW_FLAG_DEFAULTS, + on_aes_event); + curr.g_w = MIN(dlgtree->ob_width, desk_area.g_w); + curr.g_h = MIN(dlgtree->ob_height, desk_area.g_h-64); + curr.g_x = 1; + curr.g_y = (desk_area.g_h / 2) - (curr.g_h / 2); + + wind_calc_grect(WC_BORDER, kind, &curr, &curr); + + dlgtree->ob_x = curr.g_x; + dlgtree->ob_y = curr.g_y; + + /* set current config values: */ + display_settings(); + + wind_open_grect(h_aes_win, &curr); + + guiwin_set_form(settings_guiwin, dlgtree, 0); + guiwin_set_scroll_grid(settings_guiwin, 32, 32); + guiwin_get_grect(settings_guiwin, GUIWIN_AREA_CONTENT, &area); + + slid = guiwin_get_scroll_info(settings_guiwin); + guiwin_set_content_units(settings_guiwin, + (dlgtree->ob_width/slid->x_unit_px), + (dlgtree->ob_height/slid->y_unit_px)); + guiwin_update_slider(settings_guiwin, GUIWIN_VH_SLIDER); + } } void close_settings(void) { - LOG(("")); - guiwin_remove(settings_guiwin); - settings_guiwin = NULL; - wind_close(h_aes_win); - wind_delete(h_aes_win); - h_aes_win = 0; - LOG(("Done")); + LOG(("")); + guiwin_remove(settings_guiwin); + settings_guiwin = NULL; + wind_close(h_aes_win); + wind_delete(h_aes_win); + h_aes_win = 0; + LOG(("Done")); } -- cgit v1.2.3