mirror of https://github.com/cy384/ssheven.git
preferences dialog with color settings
This commit is contained in:
parent
e408ed54b0
commit
333367d4b4
|
@ -476,3 +476,19 @@ void console_setup(void)
|
|||
setup_key_translation();
|
||||
}
|
||||
|
||||
// TODO: make this update all the cells with the default colors
|
||||
void update_console_colors(void)
|
||||
{
|
||||
VTermState* vtermstate = vterm_obtain_state(con.vterm);
|
||||
|
||||
VTermColor fg = { .type = VTERM_COLOR_INDEXED };
|
||||
fg.indexed.idx = qd2idx(prefs.fg_color);
|
||||
|
||||
VTermColor bg = { .type = VTERM_COLOR_INDEXED };
|
||||
bg.indexed.idx = qd2idx(prefs.bg_color);
|
||||
|
||||
vterm_state_set_default_colors(vtermstate, &fg, &bg);
|
||||
|
||||
InvalRect(&(con.win->portRect));
|
||||
}
|
||||
|
||||
|
|
|
@ -33,3 +33,5 @@ Rect cell_rect(int x, int y, Rect bounds);
|
|||
|
||||
void toggle_cursor(void);
|
||||
void check_cursor(void);
|
||||
|
||||
void update_console_colors(void);
|
||||
|
|
|
@ -90,10 +90,21 @@
|
|||
#define ALRT_FILE_FAIL 139
|
||||
#define DITL_FILE_FAIL 139
|
||||
|
||||
/* dialog for preferences */
|
||||
#define DLOG_PREFERENCES 140
|
||||
#define DITL_PREFERENCES 140
|
||||
|
||||
/* controls for preferences dialog */
|
||||
#define CNTL_PREF_FG_COLOR 128
|
||||
#define CNTL_PREF_BG_COLOR 129
|
||||
#define CNTL_PREF_TERM_TYPE 130
|
||||
/* menus */
|
||||
#define MBAR_SSHEVEN 128
|
||||
|
||||
#define MENU_APPLE 128
|
||||
#define MENU_FILE 129
|
||||
#define MENU_EDIT 130
|
||||
#define MENU_COLOR 131
|
||||
#define MENU_TERM_TYPE 132
|
||||
|
||||
#endif
|
||||
|
|
|
@ -0,0 +1,490 @@
|
|||
#include "Icons.r"
|
||||
|
||||
/* use this regex to get rid of data comments: " \/\*[^\*]*\*\/" */
|
||||
|
||||
data 'ICN#' (SSHEVEN_APPLICATION_ICON) {
|
||||
$"1FFF FFF8 0FFF FFF0 07FF FFF0 03FF FFE0"
|
||||
$"0000 03E0 0000 07C0 0000 07C0 0000 0F80"
|
||||
$"0000 0F80 0000 1F00 0000 1F00 0000 3E00"
|
||||
$"0180 3E00 0240 7C00 0420 7C00 099F FFE0"
|
||||
$"0A40 0010 0A40 0010 099F FEA0 0423 E2A0"
|
||||
$"0243 E140 0187 C000 0007 C000 000F 8000"
|
||||
$"000F 8000 001F 0000 001F 0000 003E 0000"
|
||||
$"003E 0000 007C 0000 007C 0000 00F8 0000"
|
||||
$"1FFF FFF8 0FFF FFF0 07FF FFF0 03FF FFE0"
|
||||
$"0000 03E0 0000 07C0 0000 07C0 0000 0F80"
|
||||
$"0000 0F80 0000 1F00 0000 1F00 0000 3E00"
|
||||
$"0180 3E00 03C0 7C00 07E0 7C00 0FFF FFE0"
|
||||
$"0E7F FFF0 0E7F FFF0 0FFF FFE0 07E3 E3E0"
|
||||
$"03C3 E140 0187 C000 0007 C000 000F 8000"
|
||||
$"000F 8000 001F 0000 001F 0000 003E 0000"
|
||||
$"003E 0000 007C 0000 007C 0000 00F8 0000"
|
||||
};
|
||||
|
||||
data 'icl4' (SSHEVEN_APPLICATION_ICON) {
|
||||
$"000F FFFF FFFF FFFF FFFF FFFF FFFF F000"
|
||||
$"0000 FFFF FFFF FFFF FFFF FFFF FFFF 0000"
|
||||
$"0000 0FFF FFFF FFFF FFFF FFFF FFFF 0000"
|
||||
$"0000 00FF FFFF FFFF FFFF FFFF FFF0 0000"
|
||||
$"0000 0000 0000 0000 0000 00FF FFF0 0000"
|
||||
$"0000 0000 0000 0000 0000 0FFF FF00 0000"
|
||||
$"0000 0000 0000 0000 0000 0FFF FF00 0000"
|
||||
$"0000 0000 0000 0000 0000 FFFF F000 0000"
|
||||
$"0000 0000 0000 0000 0000 FFFF F000 0000"
|
||||
$"0000 0000 0000 0000 000F FFFF 0000 0000"
|
||||
$"0000 0000 0000 0000 000F FFFF 0000 0000"
|
||||
$"0000 0000 0000 0000 00FF FFF0 0000 0000"
|
||||
$"0000 000F F000 0000 00FF FFF0 0000 0000"
|
||||
$"0000 00F1 1F00 0000 0FFF FF00 0000 0000"
|
||||
$"0000 0F11 11F0 0000 0FFF FF00 0000 0000"
|
||||
$"0000 F11F F11F FFFF FFFF FFFF FFF0 0000"
|
||||
$"0000 F1F0 0F11 1111 1111 1111 111F 0000"
|
||||
$"0000 F1F0 0F12 2222 2222 2222 222F 0000"
|
||||
$"0000 F21F F12F FFFF FFFF FFF1 F1F0 0000"
|
||||
$"0000 0F21 12F0 00FF FFF0 00F2 F2F0 0000"
|
||||
$"0000 00F2 2F00 00FF FFF0 000F 0F00 0000"
|
||||
$"0000 000F F000 0FFF FF00 0000 0000 0000"
|
||||
$"0000 0000 0000 0FFF FF00 0000 0000 0000"
|
||||
$"0000 0000 0000 FFFF F000 0000 0000 0000"
|
||||
$"0000 0000 0000 FFFF F000 0000 0000 0000"
|
||||
$"0000 0000 000F FFFF 0000 0000 0000 0000"
|
||||
$"0000 0000 000F FFFF 0000 0000 0000 0000"
|
||||
$"0000 0000 00FF FFF0 0000 0000 0000 0000"
|
||||
$"0000 0000 00FF FFF0 0000 0000 0000 0000"
|
||||
$"0000 0000 0FFF FF00 0000 0000 0000 0000"
|
||||
$"0000 0000 0FFF FF00 0000 0000 0000 0000"
|
||||
$"0000 0000 FFFF F000 0000 0000 0000 0000"
|
||||
};
|
||||
|
||||
data 'icl8' (SSHEVEN_APPLICATION_ICON) {
|
||||
$"0000 00FF FFFF FFFF FFFF FFFF FFFF FFFF"
|
||||
$"FFFF FFFF FFFF FFFF FFFF FFFF FF00 0000"
|
||||
$"0000 0000 FFFF FFFF FFFF FFFF FFFF FFFF"
|
||||
$"FFFF FFFF FFFF FFFF FFFF FFFF 0000 0000"
|
||||
$"0000 0000 00FF FFFF FFFF FFFF FFFF FFFF"
|
||||
$"FFFF FFFF FFFF FFFF FFFF FFFF 0000 0000"
|
||||
$"0000 0000 0000 FFFF FFFF FFFF FFFF FFFF"
|
||||
$"FFFF FFFF FFFF FFFF FFFF FF00 0000 0000"
|
||||
$"0000 0000 0000 0000 0000 0000 0000 0000"
|
||||
$"0000 0000 0000 FFFF FFFF FF00 0000 0000"
|
||||
$"0000 0000 0000 0000 0000 0000 0000 0000"
|
||||
$"0000 0000 00FF FFFF FFFF 0000 0000 0000"
|
||||
$"0000 0000 0000 0000 0000 0000 0000 0000"
|
||||
$"0000 0000 00FF FFFF FFFF 0000 0000 0000"
|
||||
$"0000 0000 0000 0000 0000 0000 0000 0000"
|
||||
$"0000 0000 FFFF FFFF FF00 0000 0000 0000"
|
||||
$"0000 0000 0000 0000 0000 0000 0000 0000"
|
||||
$"0000 0000 FFFF FFFF FF00 0000 0000 0000"
|
||||
$"0000 0000 0000 0000 0000 0000 0000 0000"
|
||||
$"0000 00FF FFFF FFFF 0000 0000 0000 0000"
|
||||
$"0000 0000 0000 0000 0000 0000 0000 0000"
|
||||
$"0000 00FF FFFF FFFF 0000 0000 0000 0000"
|
||||
$"0000 0000 0000 0000 0000 0000 0000 0000"
|
||||
$"0000 FFFF FFFF FF00 0000 0000 0000 0000"
|
||||
$"0000 0000 0000 00FF FF00 0000 0000 0000"
|
||||
$"0000 FFFF FFFF FF00 0000 0000 0000 0000"
|
||||
$"0000 0000 0000 FF05 05FF 0000 0000 0000"
|
||||
$"00FF FFFF FFFF 0000 0000 0000 0000 0000"
|
||||
$"0000 0000 00FF 0505 0505 FF00 0000 0000"
|
||||
$"00FF FFFF FFFF 0000 0000 0000 0000 0000"
|
||||
$"0000 0000 FF05 05FF FF05 05FF FFFF FFFF"
|
||||
$"FFFF FFFF FFFF FFFF FFFF FF00 0000 0000"
|
||||
$"0000 0000 FF05 FF00 00FF 0505 0505 0505"
|
||||
$"0505 0505 0505 0505 0505 05FF 0000 0000"
|
||||
$"0000 0000 FF05 FF00 00FF 0516 1616 1616"
|
||||
$"1616 1616 1616 1616 1616 16FF 0000 0000"
|
||||
$"0000 0000 FF16 05FF FF05 16FF FFFF FFFF"
|
||||
$"FFFF FFFF FFFF FF05 FF05 FF00 0000 0000"
|
||||
$"0000 0000 00FF 1605 0516 FF00 0000 FFFF"
|
||||
$"FFFF FF00 0000 FF16 FF16 FF00 0000 0000"
|
||||
$"0000 0000 0000 FF16 16FF 0000 0000 FFFF"
|
||||
$"FFFF FF00 0000 00FF 00FF 0000 0000 0000"
|
||||
$"0000 0000 0000 00FF FF00 0000 00FF FFFF"
|
||||
$"FFFF 0000 0000 0000 0000 0000 0000 0000"
|
||||
$"0000 0000 0000 0000 0000 0000 00FF FFFF"
|
||||
$"FFFF 0000 0000 0000 0000 0000 0000 0000"
|
||||
$"0000 0000 0000 0000 0000 0000 FFFF FFFF"
|
||||
$"FF00 0000 0000 0000 0000 0000 0000 0000"
|
||||
$"0000 0000 0000 0000 0000 0000 FFFF FFFF"
|
||||
$"FF00 0000 0000 0000 0000 0000 0000 0000"
|
||||
$"0000 0000 0000 0000 0000 00FF FFFF FFFF"
|
||||
$"0000 0000 0000 0000 0000 0000 0000 0000"
|
||||
$"0000 0000 0000 0000 0000 00FF FFFF FFFF"
|
||||
$"0000 0000 0000 0000 0000 0000 0000 0000"
|
||||
$"0000 0000 0000 0000 0000 FFFF FFFF FF00"
|
||||
$"0000 0000 0000 0000 0000 0000 0000 0000"
|
||||
$"0000 0000 0000 0000 0000 FFFF FFFF FF00"
|
||||
$"0000 0000 0000 0000 0000 0000 0000 0000"
|
||||
$"0000 0000 0000 0000 00FF FFFF FFFF 0000"
|
||||
$"0000 0000 0000 0000 0000 0000 0000 0000"
|
||||
$"0000 0000 0000 0000 00FF FFFF FFFF 0000"
|
||||
$"0000 0000 0000 0000 0000 0000 0000 0000"
|
||||
$"0000 0000 0000 0000 FFFF FFFF FF00 0000"
|
||||
$"0000 0000 0000 0000 0000 0000 0000 0000"
|
||||
};
|
||||
|
||||
data 'ics#' (SSHEVEN_APPLICATION_ICON) {
|
||||
$"3FFC 1FF8 0018 0030 0030 0060 1860 27FC"
|
||||
$"27FC 1994 0180 0300 0300 0600 0600 0C00"
|
||||
$"3FFC 1FF8 0018 0030 0030 0060 1860 27FC"
|
||||
$"27FC 1994 0180 0300 0300 0600 0600 0C00"
|
||||
};
|
||||
|
||||
data 'ics4' (SSHEVEN_APPLICATION_ICON) {
|
||||
$"00FF FFFF FFFF FF00 000F FFFF FFFF F000"
|
||||
$"0000 0000 000F F000 0000 0000 00FF 0000"
|
||||
$"0000 0000 00FF 0000 0000 0000 0FF0 0000"
|
||||
$"0002 2000 0FF0 0000 0020 0222 2222 2200"
|
||||
$"0020 0222 2222 2200 0002 200F F002 0200"
|
||||
$"0000 000F F000 0000 0000 00FF 0000 0000"
|
||||
$"0000 00FF 0000 0000 0000 0FF0 0000 0000"
|
||||
$"0000 0FF0 0000 0000 0000 FF00 0000 0000"
|
||||
};
|
||||
|
||||
data 'ics8' (SSHEVEN_APPLICATION_ICON) {
|
||||
$"0000 FFFF FFFF FFFF FFFF FFFF FFFF 0000"
|
||||
$"0000 00FF FFFF FFFF FFFF FFFF FF00 0000"
|
||||
$"0000 0000 0000 0000 0000 00FF FF00 0000"
|
||||
$"0000 0000 0000 0000 0000 FFFF 0000 0000"
|
||||
$"0000 0000 0000 0000 0000 FFFF 0000 0000"
|
||||
$"0000 0000 0000 0000 00FF FF00 0000 0000"
|
||||
$"0000 0017 1700 0000 00FF FF00 0000 0000"
|
||||
$"0000 1700 0017 1717 1717 1717 1717 0000"
|
||||
$"0000 1700 0017 1717 1717 1717 1717 0000"
|
||||
$"0000 0017 1700 00FF FF00 0017 0017 0000"
|
||||
$"0000 0000 0000 00FF FF00 0000 0000 0000"
|
||||
$"0000 0000 0000 FFFF 0000 0000 0000 0000"
|
||||
$"0000 0000 0000 FFFF 0000 0000 0000 0000"
|
||||
$"0000 0000 00FF FF00 0000 0000 0000 0000"
|
||||
$"0000 0000 00FF FF00 0000 0000 0000 0000"
|
||||
$"0000 0000 FFFF 0000 0000 0000 0000 0000"
|
||||
};
|
||||
|
||||
data 'PICT' (PICT_ABOUT) {
|
||||
$"0A64 0000 0000 0020 0020 0011 02FF 0C00"
|
||||
$"FFFF FFFF 0000 0000 0000 0000 0020 0000"
|
||||
$"0020 0000 0000 0000 000C 001E 0007 0001"
|
||||
$"000A 0007 001E 0027 003E 0090 0004 0000"
|
||||
$"0000 0020 0020 0000 0000 0020 0020 0007"
|
||||
$"001E 0027 003E 0003 1FFF FFF8 0FFF FFF0"
|
||||
$"07FF FFF0 03FF FFE0 0000 03E0 0000 07C0"
|
||||
$"0000 07C0 0000 0F80 0000 0F80 0000 1F00"
|
||||
$"0000 1F00 0000 3E00 0180 3E00 03C0 7C00"
|
||||
$"07E0 7C00 0FFF FFE0 0E7F FFF0 0E7F FFF0"
|
||||
$"0FFF FFE0 07E3 E3E0 03C3 E140 0187 C000"
|
||||
$"0007 C000 000F 8000 000F 8000 001F 0000"
|
||||
$"001F 0000 003E 0000 003E 0000 007C 0000"
|
||||
$"007C 0000 00F8 0000 0098 8020 0000 0000"
|
||||
$"0020 0020 0000 0000 0000 0000 0048 0000"
|
||||
$"0048 0000 0000 0008 0001 0008 0000 0000"
|
||||
$"0001 7810 A020 0000 0000 0008 8000 00FF"
|
||||
$"0000 FFFF FFFF FFFF 0000 FFFF FFFF CCCC"
|
||||
$"0004 FFFF FFFF 9999 0004 FFFF FFFF 6666"
|
||||
$"0004 FFFF FFFF 3333 0000 FFFF FFFF 0000"
|
||||
$"0004 FFFF CCCC FFFF 0004 FFFF CCCC CCCC"
|
||||
$"0000 FFFF CCCC 9999 0004 FFFF CCCC 6666"
|
||||
$"0004 FFFF CCCC 3333 0004 FFFF CCCC 0000"
|
||||
$"0004 FFFF 9999 FFFF 0004 FFFF 9999 CCCC"
|
||||
$"0004 FFFF 9999 9999 0004 FFFF 9999 6666"
|
||||
$"0004 FFFF 9999 3333 0004 FFFF 9999 0000"
|
||||
$"0004 FFFF 6666 FFFF 0000 FFFF 6666 CCCC"
|
||||
$"0004 FFFF 6666 9999 0004 FFFF 6666 6666"
|
||||
$"0000 FFFF 6666 3333 0004 FFFF 6666 0000"
|
||||
$"0004 FFFF 3333 FFFF 0004 FFFF 3333 CCCC"
|
||||
$"0004 FFFF 3333 9999 0004 FFFF 3333 6666"
|
||||
$"0004 FFFF 3333 3333 0004 FFFF 3333 0000"
|
||||
$"0004 FFFF 0000 FFFF 0004 FFFF 0000 CCCC"
|
||||
$"0004 FFFF 0000 9999 0004 FFFF 0000 6666"
|
||||
$"0004 FFFF 0000 3333 0004 FFFF 0000 0000"
|
||||
$"0004 CCCC FFFF FFFF 0004 CCCC FFFF CCCC"
|
||||
$"0004 CCCC FFFF 9999 0004 CCCC FFFF 6666"
|
||||
$"0004 CCCC FFFF 3333 0004 CCCC FFFF 0000"
|
||||
$"0000 CCCC CCCC FFFF 0000 CCCC CCCC CCCC"
|
||||
$"0004 CCCC CCCC 9999 0004 CCCC CCCC 6666"
|
||||
$"0004 CCCC CCCC 3333 0004 CCCC CCCC 0000"
|
||||
$"0004 CCCC 9999 FFFF 0004 CCCC 9999 CCCC"
|
||||
$"0004 CCCC 9999 9999 0000 CCCC 9999 6666"
|
||||
$"0004 CCCC 9999 3333 0004 CCCC 9999 0000"
|
||||
$"0004 CCCC 6666 FFFF 0004 CCCC 6666 CCCC"
|
||||
$"0004 CCCC 6666 9999 0004 CCCC 6666 6666"
|
||||
$"0004 CCCC 6666 3333 0004 CCCC 6666 0000"
|
||||
$"0004 CCCC 3333 FFFF 0004 CCCC 3333 CCCC"
|
||||
$"0004 CCCC 3333 9999 0004 CCCC 3333 6666"
|
||||
$"0004 CCCC 3333 3333 0004 CCCC 3333 0000"
|
||||
$"0004 CCCC 0000 FFFF 0004 CCCC 0000 CCCC"
|
||||
$"0004 CCCC 0000 9999 0004 CCCC 0000 6666"
|
||||
$"0004 CCCC 0000 3333 0004 CCCC 0000 0000"
|
||||
$"0000 9999 FFFF FFFF 0004 9999 FFFF CCCC"
|
||||
$"0004 9999 FFFF 9999 0004 9999 FFFF 6666"
|
||||
$"0004 9999 FFFF 3333 0004 9999 FFFF 0000"
|
||||
$"0004 9999 CCCC FFFF 0004 9999 CCCC CCCC"
|
||||
$"0004 9999 CCCC 9999 0004 9999 CCCC 6666"
|
||||
$"0004 9999 CCCC 3333 0004 9999 CCCC 0000"
|
||||
$"0000 9999 9999 FFFF 0004 9999 9999 CCCC"
|
||||
$"0004 9999 9999 9999 0004 9999 9999 6666"
|
||||
$"0004 9999 9999 3333 0004 9999 9999 0000"
|
||||
$"0004 9999 6666 FFFF 0004 9999 6666 CCCC"
|
||||
$"0000 9999 6666 9999 0004 9999 6666 6666"
|
||||
$"0004 9999 6666 3333 0004 9999 6666 0000"
|
||||
$"0004 9999 3333 FFFF 0004 9999 3333 CCCC"
|
||||
$"0004 9999 3333 9999 0004 9999 3333 6666"
|
||||
$"0004 9999 3333 3333 0004 9999 3333 0000"
|
||||
$"0004 9999 0000 FFFF 0004 9999 0000 CCCC"
|
||||
$"0004 9999 0000 9999 0000 9999 0000 6666"
|
||||
$"0004 9999 0000 3333 0004 9999 0000 0000"
|
||||
$"0004 6666 FFFF FFFF 0004 6666 FFFF CCCC"
|
||||
$"0004 6666 FFFF 9999 0004 6666 FFFF 6666"
|
||||
$"0004 6666 FFFF 3333 0004 6666 FFFF 0000"
|
||||
$"0004 6666 CCCC FFFF 0004 6666 CCCC CCCC"
|
||||
$"0004 6666 CCCC 9999 0004 6666 CCCC 6666"
|
||||
$"0004 6666 CCCC 3333 0004 6666 CCCC 0000"
|
||||
$"0004 6666 9999 FFFF 0004 6666 9999 CCCC"
|
||||
$"0004 6666 9999 9999 0004 6666 9999 6666"
|
||||
$"0004 6666 9999 3333 0004 6666 9999 0000"
|
||||
$"0004 6666 6666 FFFF 0000 6666 6666 CCCC"
|
||||
$"0004 6666 6666 9999 0004 6666 6666 6666"
|
||||
$"0004 6666 6666 3333 0004 6666 6666 0000"
|
||||
$"0004 6666 3333 FFFF 0004 6666 3333 CCCC"
|
||||
$"0004 6666 3333 9999 0004 6666 3333 6666"
|
||||
$"0004 6666 3333 3333 0004 6666 3333 0000"
|
||||
$"0004 6666 0000 FFFF 0004 6666 0000 CCCC"
|
||||
$"0004 6666 0000 9999 0004 6666 0000 6666"
|
||||
$"0004 6666 0000 3333 0004 6666 0000 0000"
|
||||
$"0004 3333 FFFF FFFF 0004 3333 FFFF CCCC"
|
||||
$"0000 3333 FFFF 9999 0004 3333 FFFF 6666"
|
||||
$"0004 3333 FFFF 3333 0004 3333 FFFF 0000"
|
||||
$"0004 3333 CCCC FFFF 0004 3333 CCCC CCCC"
|
||||
$"0004 3333 CCCC 9999 0004 3333 CCCC 6666"
|
||||
$"0004 3333 CCCC 3333 0004 3333 CCCC 0000"
|
||||
$"0004 3333 9999 FFFF 0004 3333 9999 CCCC"
|
||||
$"0004 3333 9999 9999 0000 3333 9999 6666"
|
||||
$"0004 3333 9999 3333 0004 3333 9999 0000"
|
||||
$"0004 3333 6666 FFFF 0004 3333 6666 CCCC"
|
||||
$"0004 3333 6666 9999 0000 3333 6666 6666"
|
||||
$"0004 3333 6666 3333 0004 3333 6666 0000"
|
||||
$"0004 3333 3333 FFFF 0004 3333 3333 CCCC"
|
||||
$"0004 3333 3333 9999 0000 3333 3333 6666"
|
||||
$"0004 3333 3333 3333 0004 3333 3333 0000"
|
||||
$"0004 3333 0000 FFFF 0004 3333 0000 CCCC"
|
||||
$"0000 3333 0000 9999 0004 3333 0000 6666"
|
||||
$"0004 3333 0000 3333 0004 3333 0000 0000"
|
||||
$"0004 0000 FFFF FFFF 0004 0000 FFFF CCCC"
|
||||
$"0004 0000 FFFF 9999 0004 0000 FFFF 6666"
|
||||
$"0004 0000 FFFF 3333 0004 0000 FFFF 0000"
|
||||
$"0004 0000 CCCC FFFF 0004 0000 CCCC CCCC"
|
||||
$"0004 0000 CCCC 9999 0004 0000 CCCC 6666"
|
||||
$"0004 0000 CCCC 3333 0004 0000 CCCC 0000"
|
||||
$"0000 0000 9999 FFFF 0004 0000 9999 CCCC"
|
||||
$"0004 0000 9999 9999 0004 0000 9999 6666"
|
||||
$"0004 0000 9999 3333 0004 0000 9999 0000"
|
||||
$"0004 0000 6666 FFFF 0004 0000 6666 CCCC"
|
||||
$"0004 0000 6666 9999 0004 0000 6666 6666"
|
||||
$"0004 0000 6666 3333 0004 0000 6666 0000"
|
||||
$"0004 0000 3333 FFFF 0004 0000 3333 CCCC"
|
||||
$"0004 0000 3333 9999 0004 0000 3333 6666"
|
||||
$"0004 0000 3333 3333 0004 0000 3333 0000"
|
||||
$"0004 0000 0000 FFFF 0004 0000 0000 CCCC"
|
||||
$"0004 0000 0000 9999 0004 0000 0000 6666"
|
||||
$"0004 0000 0000 3333 0004 EEEE 0000 0000"
|
||||
$"0000 DDDD 0000 0000 0004 BBBB 0000 0000"
|
||||
$"0004 AAAA 0000 0000 0004 8888 0000 0000"
|
||||
$"0004 7777 0000 0000 0004 5555 0000 0000"
|
||||
$"0004 4444 0000 0000 0004 2222 0000 0000"
|
||||
$"0004 1111 0000 0000 0004 0000 EEEE 0000"
|
||||
$"0004 0000 DDDD 0000 0000 0000 BBBB 0000"
|
||||
$"0004 0000 AAAA 0000 0004 0000 8888 0000"
|
||||
$"0004 0000 7777 0000 0004 0000 5555 0000"
|
||||
$"0004 0000 4444 0000 0004 0000 2222 0000"
|
||||
$"0004 0000 1111 0000 0004 0000 0000 EEEE"
|
||||
$"0000 0000 0000 DDDD 0004 0000 0000 BBBB"
|
||||
$"0004 0000 0000 AAAA 0004 0000 0000 8888"
|
||||
$"0004 0000 0000 7777 0004 0000 0000 5555"
|
||||
$"0004 0000 0000 4444 0004 0000 0000 2222"
|
||||
$"0004 0000 0000 1111 0000 EEEE EEEE EEEE"
|
||||
$"0000 DDDD DDDD DDDD 0000 BBBB BBBB BBBB"
|
||||
$"0000 AAAA AAAA AAAA 0000 8888 8888 8888"
|
||||
$"0000 7777 7777 7777 0000 5555 5555 5555"
|
||||
$"0000 4444 4444 4444 0000 2222 2222 2222"
|
||||
$"0000 1111 1111 1111 0000 0000 0000 0000"
|
||||
$"0000 0000 0020 0020 0007 001E 0027 003E"
|
||||
$"0001 06FE 00E7 FFFE 0006 FD00 E9FF FD00"
|
||||
$"06FC 00EA FFFD 0006 FB00 ECFF FC00 06EB"
|
||||
$"00FC FFFC 0006 EC00 FCFF FB00 06EC 00FC"
|
||||
$"FFFB 0006 ED00 FCFF FA00 06ED 00FC FFFA"
|
||||
$"0006 EE00 FCFF F900 06EE 00FC FFF9 0006"
|
||||
$"EF00 FCFF F800 0BFA 0001 FFFF F800 FCFF"
|
||||
$"F800 0DFB 0003 FF05 05FF FA00 FCFF F700"
|
||||
$"0EFC 0000 FFFD 0500 FFFB 00FC FFF7 000E"
|
||||
$"FD00 06FF 0505 FFFF 0505 F1FF FC00 0FFD"
|
||||
$"0005 FF05 FF00 00FF F005 00FF FD00 10FD"
|
||||
$"0006 FF05 FF00 00FF 05F1 1600 FFFD 0013"
|
||||
$"FD00 06FF 1605 FFFF 0516 F5FF 0305 FF05"
|
||||
$"FFFC 0017 FC00 05FF 1605 0516 FFFE 00FC"
|
||||
$"FFFE 0004 FF16 FF16 FFFC 0013 FB00 03FF"
|
||||
$"1616 FFFD 00FC FFFD 0002 FF00 FFFB 000B"
|
||||
$"FA00 01FF FFFD 00FC FFF3 0006 F400 FCFF"
|
||||
$"F300 06F5 00FC FFF2 0006 F500 FCFF F200"
|
||||
$"06F6 00FC FFF1 0006 F600 FCFF F100 06F7"
|
||||
$"00FC FFF0 0006 F700 FCFF F000 06F8 00FC"
|
||||
$"FFEF 0006 F800 FCFF EF00 06F9 00FC FFEE"
|
||||
$"0000 00FF"
|
||||
};
|
||||
|
||||
data 'ICN#' (SSHEVEN_FILE_ICON) {
|
||||
$"1FFF FC00 1000 0600 1000 0500 1000 0480"
|
||||
$"1007 8440 1008 4420 1013 27F0 1024 9010"
|
||||
$"1024 9010 1013 2010 1008 4010 1004 8010"
|
||||
$"1004 8010 1004 8010 1004 8010 1004 8010"
|
||||
$"1004 8010 1004 8010 1004 8010 1004 8010"
|
||||
$"1004 8010 1004 8010 100C 8010 1010 8010"
|
||||
$"100C 8010 1010 8010 100C 8010 1003 0010"
|
||||
$"1000 0010 1000 0010 1000 0010 1FFF FFF0"
|
||||
$"1FFF FC00 1FFF FE00 1FFF FF00 1FFF FF80"
|
||||
$"1FFF FFC0 1FFF FFE0 1FFF FFF0 1FFF FFF0"
|
||||
$"1FFF FFF0 1FFF FFF0 1FFF FFF0 1FFF FFF0"
|
||||
$"1FFF FFF0 1FFF FFF0 1FFF FFF0 1FFF FFF0"
|
||||
$"1FFF FFF0 1FFF FFF0 1FFF FFF0 1FFF FFF0"
|
||||
$"1FFF FFF0 1FFF FFF0 1FFF FFF0 1FFF FFF0"
|
||||
$"1FFF FFF0 1FFF FFF0 1FFF FFF0 1FFF FFF0"
|
||||
$"1FFF FFF0 1FFF FFF0 1FFF FFF0 1FFF FFF0"
|
||||
};
|
||||
|
||||
data 'icl4' (SSHEVEN_FILE_ICON) {
|
||||
$"000F FFFF FFFF FFFF FFFF FF00 0000 0000"
|
||||
$"000F 0000 0000 0000 0000 0FF0 0000 0000"
|
||||
$"000F 0000 0000 0000 0000 0FCF 0000 0000"
|
||||
$"000F 0000 0000 0000 0000 0FCC F000 0000"
|
||||
$"000F 0000 0000 0FFF F000 0FCC CF00 0000"
|
||||
$"000F 0000 0000 F111 2F00 0FCC CCF0 0000"
|
||||
$"000F 0000 000F 11FF 12F0 0FFF FFFF 0000"
|
||||
$"000F 0000 00F1 1F00 F12F 0000 000F 0000"
|
||||
$"000F 0000 00F1 0F00 F12F 0000 000F 0000"
|
||||
$"000F 0000 000F 11FF 12F0 0000 000F 0000"
|
||||
$"000F 0000 0000 F111 2F00 0000 000F 0000"
|
||||
$"000F 0000 0000 0F12 F000 0000 000F 0000"
|
||||
$"000F 0000 0000 0F12 F000 0000 000F 0000"
|
||||
$"000F 0000 0000 0F12 F000 0000 000F 0000"
|
||||
$"000F 0000 0000 0F12 F000 0000 000F 0000"
|
||||
$"000F 0000 0000 0F12 F000 0000 000F 0000"
|
||||
$"000F 0000 0000 0F12 F000 0000 000F 0000"
|
||||
$"000F 0000 0000 0F12 F000 0000 000F 0000"
|
||||
$"000F 0000 0000 0F12 F000 0000 000F 0000"
|
||||
$"000F 0000 0000 0F12 F000 0000 000F 0000"
|
||||
$"000F 0000 0000 0F12 F000 0000 000F 0000"
|
||||
$"000F 0000 0000 0F12 F000 0000 000F 0000"
|
||||
$"000F 0000 0000 FF12 F000 0000 000F 0000"
|
||||
$"000F 0000 000F 1212 F000 0000 000F 0000"
|
||||
$"000F 0000 0000 FF12 F000 0000 000F 0000"
|
||||
$"000F 0000 000F 1212 F000 0000 000F 0000"
|
||||
$"000F 0000 0000 FF12 F000 0000 000F 0000"
|
||||
$"000F 0000 0000 00FF 0000 0000 000F 0000"
|
||||
$"000F 0000 0000 0000 0000 0000 000F 0000"
|
||||
$"000F 0000 0000 0000 0000 0000 000F 0000"
|
||||
$"000F 0000 0000 0000 0000 0000 000F 0000"
|
||||
$"000F FFFF FFFF FFFF FFFF FFFF FFFF 0000"
|
||||
};
|
||||
|
||||
data 'icl8' (SSHEVEN_FILE_ICON) {
|
||||
$"0000 00FF FFFF FFFF FFFF FFFF FFFF FFFF"
|
||||
$"FFFF FFFF FFFF 0000 0000 0000 0000 0000"
|
||||
$"0000 00FF F5F5 F5F5 F5F5 F5F5 F5F5 F5F5"
|
||||
$"F5F5 F5F5 F5FF FF00 0000 0000 0000 0000"
|
||||
$"0000 00FF F5F5 F5F5 F5F5 F5F5 F5F5 F5F5"
|
||||
$"F5F5 F5F5 F5FF 2BFF 0000 0000 0000 0000"
|
||||
$"0000 00FF F5F5 F5F5 F5F5 F5F5 F5F5 F5F5"
|
||||
$"F5F5 F5F5 F5FF 2B2B FF00 0000 0000 0000"
|
||||
$"0000 00FF F5F5 F5F5 F5F5 F5F5 F5FF FFFF"
|
||||
$"FFF5 F5F5 F5FF 2B2B 2BFF 0000 0000 0000"
|
||||
$"0000 00FF F5F5 F5F5 F5F5 F5F5 FF05 0505"
|
||||
$"16FF F5F5 F5FF 2B2B 2B2B FF00 0000 0000"
|
||||
$"0000 00FF F5F5 F5F5 F5F5 F5FF 0505 FFFF"
|
||||
$"0516 FFF5 F5FF FFFF FFFF FFFF 0000 0000"
|
||||
$"0000 00FF F5F5 F5F5 F5F5 FF05 05FF F5F5"
|
||||
$"FF05 16FF F5F5 F5F5 F5F5 F5FF 0000 0000"
|
||||
$"0000 00FF F5F5 F5F5 F5F5 FF05 00FF F5F5"
|
||||
$"FF05 16FF F5F5 F5F5 F5F5 F5FF 0000 0000"
|
||||
$"0000 00FF F5F5 F5F5 F5F5 F5FF 0505 FFFF"
|
||||
$"0516 FFF5 F5F5 F5F5 F5F5 F5FF 0000 0000"
|
||||
$"0000 00FF F5F5 F5F5 F5F5 F5F5 FF05 0505"
|
||||
$"16FF F5F5 F5F5 F5F5 F5F5 F5FF 0000 0000"
|
||||
$"0000 00FF F5F5 F5F5 F5F5 F5F5 F5FF 0516"
|
||||
$"FFF5 F5F5 F5F5 F5F5 F5F5 F5FF 0000 0000"
|
||||
$"0000 00FF F5F5 F5F5 F5F5 F5F5 F5FF 0516"
|
||||
$"FFF5 F5F5 F5F5 F5F5 F5F5 F5FF 0000 0000"
|
||||
$"0000 00FF F5F5 F5F5 F5F5 F5F5 F5FF 0516"
|
||||
$"FFF5 F5F5 F5F5 F5F5 F5F5 F5FF 0000 0000"
|
||||
$"0000 00FF F5F5 F5F5 F5F5 F5F5 F5FF 0516"
|
||||
$"FFF5 F5F5 F5F5 F5F5 F5F5 F5FF 0000 0000"
|
||||
$"0000 00FF F5F5 F5F5 F5F5 F5F5 F5FF 0516"
|
||||
$"FFF5 F5F5 F5F5 F5F5 F5F5 F5FF 0000 0000"
|
||||
$"0000 00FF F5F5 F5F5 F5F5 F5F5 F5FF 0516"
|
||||
$"FFF5 F5F5 F5F5 F5F5 F5F5 F5FF 0000 0000"
|
||||
$"0000 00FF F5F5 F5F5 F5F5 F5F5 F5FF 0516"
|
||||
$"FFF5 F5F5 F5F5 F5F5 F5F5 F5FF 0000 0000"
|
||||
$"0000 00FF F5F5 F5F5 F5F5 F5F5 F5FF 0516"
|
||||
$"FFF5 F5F5 F5F5 F5F5 F5F5 F5FF 0000 0000"
|
||||
$"0000 00FF F5F5 F5F5 F5F5 F5F5 F5FF 0516"
|
||||
$"FFF5 F5F5 F5F5 F5F5 F5F5 F5FF 0000 0000"
|
||||
$"0000 00FF F5F5 F5F5 F5F5 F5F5 F5FF 0516"
|
||||
$"FFF5 F5F5 F5F5 F5F5 F5F5 F5FF 0000 0000"
|
||||
$"0000 00FF F5F5 F5F5 F5F5 F5F5 F5FF 0516"
|
||||
$"FFF5 F5F5 F5F5 F5F5 F5F5 F5FF 0000 0000"
|
||||
$"0000 00FF F5F5 F5F5 F5F5 F5F5 FFFF 0516"
|
||||
$"FFF5 F5F5 F5F5 F5F5 F5F5 F5FF 0000 0000"
|
||||
$"0000 00FF F5F5 F5F5 F5F5 F5FF 0516 0516"
|
||||
$"FFF5 F5F5 F5F5 F5F5 F5F5 F5FF 0000 0000"
|
||||
$"0000 00FF F5F5 F5F5 F5F5 F5F5 FFFF 0516"
|
||||
$"FFF5 F5F5 F5F5 F5F5 F5F5 F5FF 0000 0000"
|
||||
$"0000 00FF F5F5 F5F5 F5F5 F5FF 0516 0516"
|
||||
$"FFF5 F5F5 F5F5 F5F5 F5F5 F5FF 0000 0000"
|
||||
$"0000 00FF F5F5 F5F5 F5F5 F5F5 FFFF 0516"
|
||||
$"FFF5 F5F5 F5F5 F5F5 F5F5 F5FF 0000 0000"
|
||||
$"0000 00FF F5F5 F5F5 F5F5 F5F5 F5F5 FFFF"
|
||||
$"F5F5 F5F5 F5F5 F5F5 F5F5 F5FF 0000 0000"
|
||||
$"0000 00FF F5F5 F5F5 F5F5 F5F5 F5F5 F5F5"
|
||||
$"F5F5 F5F5 F5F5 F5F5 F5F5 F5FF 0000 0000"
|
||||
$"0000 00FF F5F5 F5F5 F5F5 F5F5 F5F5 F5F5"
|
||||
$"F5F5 F5F5 F5F5 F5F5 F5F5 F5FF 0000 0000"
|
||||
$"0000 00FF F5F5 F5F5 F5F5 F5F5 F5F5 F5F5"
|
||||
$"F5F5 F5F5 F5F5 F5F5 F5F5 F5FF 0000 0000"
|
||||
$"0000 00FF FFFF FFFF FFFF FFFF FFFF FFFF"
|
||||
$"FFFF FFFF FFFF FFFF FFFF FFFF 0000 0000"
|
||||
};
|
||||
|
||||
data 'ics#' (SSHEVEN_FILE_ICON) {
|
||||
$"7FF0 4038 432C 44BC 4484 4304 4304 4304"
|
||||
$"4304 4304 4304 4704 4304 4704 4004 7FFC"
|
||||
$"7FF0 7FF8 7FFC 7FFC 7FFC 7FFC 7FFC 7FFC"
|
||||
$"7FFC 7FFC 7FFC 7FFC 7FFC 7FFC 7FFC 7FFC"
|
||||
};
|
||||
|
||||
data 'ics4' (SSHEVEN_FILE_ICON) {
|
||||
$"0FFF FFFF FFFF 0000 0F00 0000 00FF F000"
|
||||
$"0F00 0022 00FC FF00 0F00 0200 20FF FF00"
|
||||
$"0F00 0200 2000 0F00 0F00 0022 0000 0F00"
|
||||
$"0F00 0022 0000 0F00 0F00 0022 0000 0F00"
|
||||
$"0F00 0022 0000 0F00 0F00 0022 0000 0F00"
|
||||
$"0F00 0022 0000 0F00 0F00 0222 0000 0F00"
|
||||
$"0F00 0022 0000 0F00 0F00 0222 0000 0F00"
|
||||
$"0F00 0000 0000 0F00 0FFF FFFF FFFF FF00"
|
||||
};
|
||||
|
||||
data 'ics8' (SSHEVEN_FILE_ICON) {
|
||||
$"00FF FFFF FFFF FFFF FFFF FFFF 0000 0000"
|
||||
$"00FF F5F5 F5F5 F5F5 F5F5 FFFF FF00 0000"
|
||||
$"00FF F5F5 F5F5 1717 F5F5 FF2B FFFF 0000"
|
||||
$"00FF F5F5 F517 F5F5 17F5 FFFF FFFF 0000"
|
||||
$"00FF F5F5 F517 F5F5 17F5 F5F5 F5FF 0000"
|
||||
$"00FF F5F5 F5F5 1617 00F5 F5F5 F5FF 0000"
|
||||
$"00FF F5F5 F5F5 1617 F5F5 F5F5 F5FF 0000"
|
||||
$"00FF F5F5 F5F5 1617 F5F5 F5F5 F5FF 0000"
|
||||
$"00FF F5F5 F5F5 1617 F5F5 F5F5 F5FF 0000"
|
||||
$"00FF F5F5 F5F5 1617 F5F5 F5F5 F5FF 0000"
|
||||
$"00FF F5F5 F5F5 1617 F5F5 F5F5 F5FF 0000"
|
||||
$"00FF F5F5 F516 1717 F5F5 F5F5 F5FF 0000"
|
||||
$"00FF F5F5 F5F5 1617 F5F5 F5F5 F5FF 0000"
|
||||
$"00FF F5F5 F516 1717 F5F5 F5F5 F5FF 0000"
|
||||
$"00FF F5F5 F5F5 F5F5 F5F5 F5F5 F5FF 0000"
|
||||
$"00FF FFFF FFFF FFFF FFFF FFFF FFFF 0000"
|
||||
};
|
||||
|
104
ssheven.c
104
ssheven.c
|
@ -368,6 +368,107 @@ void ssh_paste(void)
|
|||
DisposeHandle(buf);
|
||||
}
|
||||
|
||||
int qd_color_to_menu_item(int qd_color)
|
||||
{
|
||||
switch (qd_color)
|
||||
{
|
||||
case blackColor: return 1;
|
||||
case redColor: return 2;
|
||||
case greenColor: return 3;
|
||||
case yellowColor: return 4;
|
||||
case blueColor: return 5;
|
||||
case magentaColor: return 6;
|
||||
case cyanColor: return 7;
|
||||
case whiteColor: return 8;
|
||||
default: return 1;
|
||||
}
|
||||
}
|
||||
|
||||
int menu_item_to_qd_color(int menu_item)
|
||||
{
|
||||
switch (menu_item)
|
||||
{
|
||||
case 1: return blackColor;
|
||||
case 2: return redColor;
|
||||
case 3: return greenColor;
|
||||
case 4: return yellowColor;
|
||||
case 5: return blueColor;
|
||||
case 6: return magentaColor;
|
||||
case 7: return cyanColor;
|
||||
case 8: return whiteColor;
|
||||
default: return 1;
|
||||
}
|
||||
}
|
||||
|
||||
void preferences_window(void)
|
||||
{
|
||||
// modal dialog setup
|
||||
TEInit();
|
||||
InitDialogs(NULL);
|
||||
DialogPtr dlg = GetNewDialog(DLOG_PREFERENCES, 0, (WindowPtr)-1);
|
||||
InitCursor();
|
||||
|
||||
// select all text in dialog item 4 (the hostname one)
|
||||
//SelectDialogItemText(dlg, 4, 0, 32767);
|
||||
|
||||
DialogItemType type;
|
||||
Handle itemH;
|
||||
Rect box;
|
||||
|
||||
// draw default button indicator around the connect button
|
||||
GetDialogItem(dlg, 2, &type, &itemH, &box);
|
||||
SetDialogItem(dlg, 2, type, (Handle)NewUserItemUPP(&ButtonFrameProc), &box);
|
||||
|
||||
// get the handles for each menu, set to current prefs value
|
||||
ControlHandle term_type_menu;
|
||||
GetDialogItem(dlg, 6, &type, &itemH, &box);
|
||||
term_type_menu = (ControlHandle)itemH;
|
||||
SetControlValue(term_type_menu, prefs.display_mode + 1);
|
||||
|
||||
ControlHandle bg_color_menu;
|
||||
GetDialogItem(dlg, 7, &type, &itemH, &box);
|
||||
bg_color_menu = (ControlHandle)itemH;
|
||||
SetControlValue(bg_color_menu, qd_color_to_menu_item(prefs.bg_color));
|
||||
|
||||
ControlHandle fg_color_menu;
|
||||
GetDialogItem(dlg, 8, &type, &itemH, &box);
|
||||
fg_color_menu = (ControlHandle)itemH;
|
||||
SetControlValue(fg_color_menu, qd_color_to_menu_item(prefs.fg_color));
|
||||
|
||||
// let the modalmanager do everything
|
||||
// stop on ok or cancel
|
||||
short item;
|
||||
do {
|
||||
ModalDialog(NULL, &item);
|
||||
} while(item != 1 && item != 9);
|
||||
|
||||
// save if OK'd
|
||||
if (item == 1)
|
||||
{
|
||||
// read menu values into prefs
|
||||
prefs.display_mode = GetControlValue(term_type_menu) - 1;
|
||||
|
||||
// TODO: don't save colors, make it take effect immediately
|
||||
int save_bg = prefs.bg_color;
|
||||
int save_fg = prefs.fg_color;
|
||||
|
||||
prefs.bg_color = menu_item_to_qd_color(GetControlValue(bg_color_menu));
|
||||
prefs.fg_color = menu_item_to_qd_color(GetControlValue(fg_color_menu));
|
||||
|
||||
save_prefs();
|
||||
|
||||
prefs.bg_color = save_bg;
|
||||
prefs.fg_color = save_fg;
|
||||
|
||||
// TODO: make this actually fix all colors in vterm
|
||||
update_console_colors();
|
||||
}
|
||||
|
||||
// clean it up
|
||||
DisposeDialog(dlg);
|
||||
FlushEvents(everyEvent, -1);
|
||||
}
|
||||
|
||||
// returns 1 if quit selected, else 0
|
||||
int process_menu_select(int32_t result)
|
||||
{
|
||||
|
@ -391,7 +492,8 @@ int process_menu_select(int32_t result)
|
|||
break;
|
||||
|
||||
case MENU_FILE:
|
||||
if (item == 1) exit = 1;
|
||||
if (item == 1) preferences_window();
|
||||
if (item == 2) exit = 1;
|
||||
break;
|
||||
|
||||
case MENU_EDIT:
|
||||
|
|
588
ssheven.r
588
ssheven.r
|
@ -1,6 +1,13 @@
|
|||
#include "ssheven-constants.r"
|
||||
#include "ssheven-icons.r"
|
||||
|
||||
#include "Dialogs.r"
|
||||
#include "Processes.r"
|
||||
#include "MacTypes.r"
|
||||
#include "Finder.r"
|
||||
#include "Menus.r"
|
||||
#include "Controls.r"
|
||||
#include "ControlDefinitions.r"
|
||||
|
||||
resource 'DLOG' (DLOG_ABOUT, purgeable) {
|
||||
{0, 0, 148, 420},
|
||||
|
@ -35,7 +42,7 @@ resource 'DLOG' (DLOG_CONNECT) {
|
|||
visible,
|
||||
noGoAway,
|
||||
0,
|
||||
DLOG_CONNECT,
|
||||
DITL_CONNECT,
|
||||
"",
|
||||
centerMainScreen
|
||||
};
|
||||
|
@ -332,8 +339,6 @@ resource 'ALRT' (ALRT_FILE_FAIL, purgeable) {
|
|||
alertPositionMainScreen
|
||||
};
|
||||
|
||||
#include "Processes.r"
|
||||
|
||||
resource 'SIZE' (-1) {
|
||||
reserved,
|
||||
acceptSuspendResumeEvents,
|
||||
|
@ -355,8 +360,6 @@ resource 'SIZE' (-1) {
|
|||
SSHEVEN_REQUIRED_PARTITION
|
||||
};
|
||||
|
||||
|
||||
#include "MacTypes.r"
|
||||
/* see macintosh tb essentials page 7-31 */
|
||||
/* yes, we need two */
|
||||
/* first one displayed in version field of info window */
|
||||
|
@ -383,7 +386,6 @@ resource 'SSH7' (0, purgeable) {
|
|||
SSHEVEN_DESCRIPTION
|
||||
};
|
||||
|
||||
#include "Finder.r"
|
||||
/* application -> icon relation */
|
||||
resource 'FREF' (SSHEVEN_APPLICATION_ICON, purgeable) {
|
||||
'APPL', 0, ""
|
||||
|
@ -402,8 +404,6 @@ resource 'BNDL' (128, purgeable) {
|
|||
}
|
||||
};
|
||||
|
||||
#include "Menus.r"
|
||||
|
||||
resource 'MBAR' (MBAR_SSHEVEN, preload)
|
||||
{
|
||||
{ MENU_APPLE, MENU_FILE, MENU_EDIT };
|
||||
|
@ -424,6 +424,8 @@ resource 'MENU' (MENU_FILE) {
|
|||
allEnabled, enabled;
|
||||
"File";
|
||||
{
|
||||
"Preferences...", noIcon, noKey, noMark, plain;
|
||||
"-", noIcon, noKey, noMark, plain;
|
||||
"Quit", noIcon, "Q", noMark, plain;
|
||||
}
|
||||
};
|
||||
|
@ -445,493 +447,109 @@ resource 'MENU' (MENU_EDIT) {
|
|||
}
|
||||
};
|
||||
|
||||
#include "Icons.r"
|
||||
|
||||
/* use this regex to get rid of data comments: " \/\*[^\*]*\*\/" */
|
||||
|
||||
data 'ICN#' (SSHEVEN_APPLICATION_ICON) {
|
||||
$"1FFF FFF8 0FFF FFF0 07FF FFF0 03FF FFE0"
|
||||
$"0000 03E0 0000 07C0 0000 07C0 0000 0F80"
|
||||
$"0000 0F80 0000 1F00 0000 1F00 0000 3E00"
|
||||
$"0180 3E00 0240 7C00 0420 7C00 099F FFE0"
|
||||
$"0A40 0010 0A40 0010 099F FEA0 0423 E2A0"
|
||||
$"0243 E140 0187 C000 0007 C000 000F 8000"
|
||||
$"000F 8000 001F 0000 001F 0000 003E 0000"
|
||||
$"003E 0000 007C 0000 007C 0000 00F8 0000"
|
||||
$"1FFF FFF8 0FFF FFF0 07FF FFF0 03FF FFE0"
|
||||
$"0000 03E0 0000 07C0 0000 07C0 0000 0F80"
|
||||
$"0000 0F80 0000 1F00 0000 1F00 0000 3E00"
|
||||
$"0180 3E00 03C0 7C00 07E0 7C00 0FFF FFE0"
|
||||
$"0E7F FFF0 0E7F FFF0 0FFF FFE0 07E3 E3E0"
|
||||
$"03C3 E140 0187 C000 0007 C000 000F 8000"
|
||||
$"000F 8000 001F 0000 001F 0000 003E 0000"
|
||||
$"003E 0000 007C 0000 007C 0000 00F8 0000"
|
||||
resource 'MENU' (MENU_COLOR) {
|
||||
MENU_COLOR, textMenuProc;
|
||||
allEnabled, enabled;
|
||||
"Color";
|
||||
{
|
||||
"Black", noIcon, noKey, noMark, plain;
|
||||
"Red", noIcon, noKey, noMark, plain;
|
||||
"Green", noIcon, noKey, noMark, plain;
|
||||
"Yellow", noIcon, noKey, noMark, plain;
|
||||
"Blue", noIcon, noKey, noMark, plain;
|
||||
"Magenta", noIcon, noKey, noMark, plain;
|
||||
"Cyan", noIcon, noKey, noMark, plain;
|
||||
"White", noIcon, noKey, noMark, plain;
|
||||
}
|
||||
};
|
||||
|
||||
data 'icl4' (SSHEVEN_APPLICATION_ICON) {
|
||||
$"000F FFFF FFFF FFFF FFFF FFFF FFFF F000"
|
||||
$"0000 FFFF FFFF FFFF FFFF FFFF FFFF 0000"
|
||||
$"0000 0FFF FFFF FFFF FFFF FFFF FFFF 0000"
|
||||
$"0000 00FF FFFF FFFF FFFF FFFF FFF0 0000"
|
||||
$"0000 0000 0000 0000 0000 00FF FFF0 0000"
|
||||
$"0000 0000 0000 0000 0000 0FFF FF00 0000"
|
||||
$"0000 0000 0000 0000 0000 0FFF FF00 0000"
|
||||
$"0000 0000 0000 0000 0000 FFFF F000 0000"
|
||||
$"0000 0000 0000 0000 0000 FFFF F000 0000"
|
||||
$"0000 0000 0000 0000 000F FFFF 0000 0000"
|
||||
$"0000 0000 0000 0000 000F FFFF 0000 0000"
|
||||
$"0000 0000 0000 0000 00FF FFF0 0000 0000"
|
||||
$"0000 000F F000 0000 00FF FFF0 0000 0000"
|
||||
$"0000 00F1 1F00 0000 0FFF FF00 0000 0000"
|
||||
$"0000 0F11 11F0 0000 0FFF FF00 0000 0000"
|
||||
$"0000 F11F F11F FFFF FFFF FFFF FFF0 0000"
|
||||
$"0000 F1F0 0F11 1111 1111 1111 111F 0000"
|
||||
$"0000 F1F0 0F12 2222 2222 2222 222F 0000"
|
||||
$"0000 F21F F12F FFFF FFFF FFF1 F1F0 0000"
|
||||
$"0000 0F21 12F0 00FF FFF0 00F2 F2F0 0000"
|
||||
$"0000 00F2 2F00 00FF FFF0 000F 0F00 0000"
|
||||
$"0000 000F F000 0FFF FF00 0000 0000 0000"
|
||||
$"0000 0000 0000 0FFF FF00 0000 0000 0000"
|
||||
$"0000 0000 0000 FFFF F000 0000 0000 0000"
|
||||
$"0000 0000 0000 FFFF F000 0000 0000 0000"
|
||||
$"0000 0000 000F FFFF 0000 0000 0000 0000"
|
||||
$"0000 0000 000F FFFF 0000 0000 0000 0000"
|
||||
$"0000 0000 00FF FFF0 0000 0000 0000 0000"
|
||||
$"0000 0000 00FF FFF0 0000 0000 0000 0000"
|
||||
$"0000 0000 0FFF FF00 0000 0000 0000 0000"
|
||||
$"0000 0000 0FFF FF00 0000 0000 0000 0000"
|
||||
$"0000 0000 FFFF F000 0000 0000 0000 0000"
|
||||
resource 'MENU' (MENU_TERM_TYPE) {
|
||||
MENU_TERM_TYPE, textMenuProc;
|
||||
allEnabled, enabled;
|
||||
"Type";
|
||||
{
|
||||
"Fastest", noIcon, noKey, noMark, plain;
|
||||
"Monochrome", noIcon, noKey, noMark, plain;
|
||||
"Color", noIcon, noKey, noMark, plain;
|
||||
}
|
||||
};
|
||||
|
||||
data 'icl8' (SSHEVEN_APPLICATION_ICON) {
|
||||
$"0000 00FF FFFF FFFF FFFF FFFF FFFF FFFF"
|
||||
$"FFFF FFFF FFFF FFFF FFFF FFFF FF00 0000"
|
||||
$"0000 0000 FFFF FFFF FFFF FFFF FFFF FFFF"
|
||||
$"FFFF FFFF FFFF FFFF FFFF FFFF 0000 0000"
|
||||
$"0000 0000 00FF FFFF FFFF FFFF FFFF FFFF"
|
||||
$"FFFF FFFF FFFF FFFF FFFF FFFF 0000 0000"
|
||||
$"0000 0000 0000 FFFF FFFF FFFF FFFF FFFF"
|
||||
$"FFFF FFFF FFFF FFFF FFFF FF00 0000 0000"
|
||||
$"0000 0000 0000 0000 0000 0000 0000 0000"
|
||||
$"0000 0000 0000 FFFF FFFF FF00 0000 0000"
|
||||
$"0000 0000 0000 0000 0000 0000 0000 0000"
|
||||
$"0000 0000 00FF FFFF FFFF 0000 0000 0000"
|
||||
$"0000 0000 0000 0000 0000 0000 0000 0000"
|
||||
$"0000 0000 00FF FFFF FFFF 0000 0000 0000"
|
||||
$"0000 0000 0000 0000 0000 0000 0000 0000"
|
||||
$"0000 0000 FFFF FFFF FF00 0000 0000 0000"
|
||||
$"0000 0000 0000 0000 0000 0000 0000 0000"
|
||||
$"0000 0000 FFFF FFFF FF00 0000 0000 0000"
|
||||
$"0000 0000 0000 0000 0000 0000 0000 0000"
|
||||
$"0000 00FF FFFF FFFF 0000 0000 0000 0000"
|
||||
$"0000 0000 0000 0000 0000 0000 0000 0000"
|
||||
$"0000 00FF FFFF FFFF 0000 0000 0000 0000"
|
||||
$"0000 0000 0000 0000 0000 0000 0000 0000"
|
||||
$"0000 FFFF FFFF FF00 0000 0000 0000 0000"
|
||||
$"0000 0000 0000 00FF FF00 0000 0000 0000"
|
||||
$"0000 FFFF FFFF FF00 0000 0000 0000 0000"
|
||||
$"0000 0000 0000 FF05 05FF 0000 0000 0000"
|
||||
$"00FF FFFF FFFF 0000 0000 0000 0000 0000"
|
||||
$"0000 0000 00FF 0505 0505 FF00 0000 0000"
|
||||
$"00FF FFFF FFFF 0000 0000 0000 0000 0000"
|
||||
$"0000 0000 FF05 05FF FF05 05FF FFFF FFFF"
|
||||
$"FFFF FFFF FFFF FFFF FFFF FF00 0000 0000"
|
||||
$"0000 0000 FF05 FF00 00FF 0505 0505 0505"
|
||||
$"0505 0505 0505 0505 0505 05FF 0000 0000"
|
||||
$"0000 0000 FF05 FF00 00FF 0516 1616 1616"
|
||||
$"1616 1616 1616 1616 1616 16FF 0000 0000"
|
||||
$"0000 0000 FF16 05FF FF05 16FF FFFF FFFF"
|
||||
$"FFFF FFFF FFFF FF05 FF05 FF00 0000 0000"
|
||||
$"0000 0000 00FF 1605 0516 FF00 0000 FFFF"
|
||||
$"FFFF FF00 0000 FF16 FF16 FF00 0000 0000"
|
||||
$"0000 0000 0000 FF16 16FF 0000 0000 FFFF"
|
||||
$"FFFF FF00 0000 00FF 00FF 0000 0000 0000"
|
||||
$"0000 0000 0000 00FF FF00 0000 00FF FFFF"
|
||||
$"FFFF 0000 0000 0000 0000 0000 0000 0000"
|
||||
$"0000 0000 0000 0000 0000 0000 00FF FFFF"
|
||||
$"FFFF 0000 0000 0000 0000 0000 0000 0000"
|
||||
$"0000 0000 0000 0000 0000 0000 FFFF FFFF"
|
||||
$"FF00 0000 0000 0000 0000 0000 0000 0000"
|
||||
$"0000 0000 0000 0000 0000 0000 FFFF FFFF"
|
||||
$"FF00 0000 0000 0000 0000 0000 0000 0000"
|
||||
$"0000 0000 0000 0000 0000 00FF FFFF FFFF"
|
||||
$"0000 0000 0000 0000 0000 0000 0000 0000"
|
||||
$"0000 0000 0000 0000 0000 00FF FFFF FFFF"
|
||||
$"0000 0000 0000 0000 0000 0000 0000 0000"
|
||||
$"0000 0000 0000 0000 0000 FFFF FFFF FF00"
|
||||
$"0000 0000 0000 0000 0000 0000 0000 0000"
|
||||
$"0000 0000 0000 0000 0000 FFFF FFFF FF00"
|
||||
$"0000 0000 0000 0000 0000 0000 0000 0000"
|
||||
$"0000 0000 0000 0000 00FF FFFF FFFF 0000"
|
||||
$"0000 0000 0000 0000 0000 0000 0000 0000"
|
||||
$"0000 0000 0000 0000 00FF FFFF FFFF 0000"
|
||||
$"0000 0000 0000 0000 0000 0000 0000 0000"
|
||||
$"0000 0000 0000 0000 FFFF FFFF FF00 0000"
|
||||
$"0000 0000 0000 0000 0000 0000 0000 0000"
|
||||
resource 'DLOG' (DLOG_PREFERENCES) {
|
||||
{ 50, 100, 195, 420 },
|
||||
dBoxProc,
|
||||
visible,
|
||||
noGoAway,
|
||||
0,
|
||||
DITL_PREFERENCES,
|
||||
"",
|
||||
centerMainScreen
|
||||
};
|
||||
|
||||
data 'ics#' (SSHEVEN_APPLICATION_ICON) {
|
||||
$"3FFC 1FF8 0018 0030 0030 0060 1860 27FC"
|
||||
$"27FC 1994 0180 0300 0300 0600 0600 0C00"
|
||||
$"3FFC 1FF8 0018 0030 0030 0060 1860 27FC"
|
||||
$"27FC 1994 0180 0300 0300 0600 0600 0C00"
|
||||
resource 'DITL' (DITL_PREFERENCES) {
|
||||
{
|
||||
{ 115, 230, 135, 310 },
|
||||
Button { enabled, "OK" };
|
||||
|
||||
{ 190-10-20-5, 320-10-80-5, 190-10+5, 320-10+5 }, /* box for border */
|
||||
UserItem { enabled };
|
||||
|
||||
{ 10, 35, 28, 130 },
|
||||
StaticText { enabled, "Terminal type: " };
|
||||
|
||||
{ 40, 10, 58, 130 },
|
||||
StaticText { enabled, "Background color: " };
|
||||
|
||||
{ 70, 12, 88, 132 },
|
||||
StaticText { enabled, "Foreground color: " };
|
||||
|
||||
{ 10, 150, 29, 300 },
|
||||
Control { disabled, CNTL_PREF_TERM_TYPE };
|
||||
|
||||
{ 40, 150, 59, 300 },
|
||||
Control { enabled, CNTL_PREF_BG_COLOR };
|
||||
|
||||
{ 70, 150, 89, 300 },
|
||||
Control { enabled, CNTL_PREF_FG_COLOR };
|
||||
|
||||
{ 115, 10, 135, 90 },
|
||||
Button { enabled, "Cancel" };
|
||||
|
||||
/*
|
||||
{ 115, 105, 135, 170 },
|
||||
Button { enabled, "Reset" };
|
||||
*/
|
||||
}
|
||||
};
|
||||
|
||||
data 'ics4' (SSHEVEN_APPLICATION_ICON) {
|
||||
$"00FF FFFF FFFF FF00 000F FFFF FFFF F000"
|
||||
$"0000 0000 000F F000 0000 0000 00FF 0000"
|
||||
$"0000 0000 00FF 0000 0000 0000 0FF0 0000"
|
||||
$"0002 2000 0FF0 0000 0020 0222 2222 2200"
|
||||
$"0020 0222 2222 2200 0002 200F F002 0200"
|
||||
$"0000 000F F000 0000 0000 00FF 0000 0000"
|
||||
$"0000 00FF 0000 0000 0000 0FF0 0000 0000"
|
||||
$"0000 0FF0 0000 0000 0000 FF00 0000 0000"
|
||||
resource 'CNTL' (CNTL_PREF_FG_COLOR) {
|
||||
{ 0, 0, 19, 150 },
|
||||
popupTitleLeftJust,
|
||||
visible,
|
||||
0,
|
||||
MENU_COLOR,
|
||||
popupMenuProc,
|
||||
0,
|
||||
""
|
||||
};
|
||||
|
||||
data 'ics8' (SSHEVEN_APPLICATION_ICON) {
|
||||
$"0000 FFFF FFFF FFFF FFFF FFFF FFFF 0000"
|
||||
$"0000 00FF FFFF FFFF FFFF FFFF FF00 0000"
|
||||
$"0000 0000 0000 0000 0000 00FF FF00 0000"
|
||||
$"0000 0000 0000 0000 0000 FFFF 0000 0000"
|
||||
$"0000 0000 0000 0000 0000 FFFF 0000 0000"
|
||||
$"0000 0000 0000 0000 00FF FF00 0000 0000"
|
||||
$"0000 0017 1700 0000 00FF FF00 0000 0000"
|
||||
$"0000 1700 0017 1717 1717 1717 1717 0000"
|
||||
$"0000 1700 0017 1717 1717 1717 1717 0000"
|
||||
$"0000 0017 1700 00FF FF00 0017 0017 0000"
|
||||
$"0000 0000 0000 00FF FF00 0000 0000 0000"
|
||||
$"0000 0000 0000 FFFF 0000 0000 0000 0000"
|
||||
$"0000 0000 0000 FFFF 0000 0000 0000 0000"
|
||||
$"0000 0000 00FF FF00 0000 0000 0000 0000"
|
||||
$"0000 0000 00FF FF00 0000 0000 0000 0000"
|
||||
$"0000 0000 FFFF 0000 0000 0000 0000 0000"
|
||||
resource 'CNTL' (CNTL_PREF_BG_COLOR) {
|
||||
{ 0, 0, 19, 150 },
|
||||
popupTitleLeftJust,
|
||||
visible,
|
||||
0,
|
||||
MENU_COLOR,
|
||||
popupMenuProc,
|
||||
0,
|
||||
""
|
||||
};
|
||||
|
||||
data 'PICT' (PICT_ABOUT) {
|
||||
$"0A64 0000 0000 0020 0020 0011 02FF 0C00"
|
||||
$"FFFF FFFF 0000 0000 0000 0000 0020 0000"
|
||||
$"0020 0000 0000 0000 000C 001E 0007 0001"
|
||||
$"000A 0007 001E 0027 003E 0090 0004 0000"
|
||||
$"0000 0020 0020 0000 0000 0020 0020 0007"
|
||||
$"001E 0027 003E 0003 1FFF FFF8 0FFF FFF0"
|
||||
$"07FF FFF0 03FF FFE0 0000 03E0 0000 07C0"
|
||||
$"0000 07C0 0000 0F80 0000 0F80 0000 1F00"
|
||||
$"0000 1F00 0000 3E00 0180 3E00 03C0 7C00"
|
||||
$"07E0 7C00 0FFF FFE0 0E7F FFF0 0E7F FFF0"
|
||||
$"0FFF FFE0 07E3 E3E0 03C3 E140 0187 C000"
|
||||
$"0007 C000 000F 8000 000F 8000 001F 0000"
|
||||
$"001F 0000 003E 0000 003E 0000 007C 0000"
|
||||
$"007C 0000 00F8 0000 0098 8020 0000 0000"
|
||||
$"0020 0020 0000 0000 0000 0000 0048 0000"
|
||||
$"0048 0000 0000 0008 0001 0008 0000 0000"
|
||||
$"0001 7810 A020 0000 0000 0008 8000 00FF"
|
||||
$"0000 FFFF FFFF FFFF 0000 FFFF FFFF CCCC"
|
||||
$"0004 FFFF FFFF 9999 0004 FFFF FFFF 6666"
|
||||
$"0004 FFFF FFFF 3333 0000 FFFF FFFF 0000"
|
||||
$"0004 FFFF CCCC FFFF 0004 FFFF CCCC CCCC"
|
||||
$"0000 FFFF CCCC 9999 0004 FFFF CCCC 6666"
|
||||
$"0004 FFFF CCCC 3333 0004 FFFF CCCC 0000"
|
||||
$"0004 FFFF 9999 FFFF 0004 FFFF 9999 CCCC"
|
||||
$"0004 FFFF 9999 9999 0004 FFFF 9999 6666"
|
||||
$"0004 FFFF 9999 3333 0004 FFFF 9999 0000"
|
||||
$"0004 FFFF 6666 FFFF 0000 FFFF 6666 CCCC"
|
||||
$"0004 FFFF 6666 9999 0004 FFFF 6666 6666"
|
||||
$"0000 FFFF 6666 3333 0004 FFFF 6666 0000"
|
||||
$"0004 FFFF 3333 FFFF 0004 FFFF 3333 CCCC"
|
||||
$"0004 FFFF 3333 9999 0004 FFFF 3333 6666"
|
||||
$"0004 FFFF 3333 3333 0004 FFFF 3333 0000"
|
||||
$"0004 FFFF 0000 FFFF 0004 FFFF 0000 CCCC"
|
||||
$"0004 FFFF 0000 9999 0004 FFFF 0000 6666"
|
||||
$"0004 FFFF 0000 3333 0004 FFFF 0000 0000"
|
||||
$"0004 CCCC FFFF FFFF 0004 CCCC FFFF CCCC"
|
||||
$"0004 CCCC FFFF 9999 0004 CCCC FFFF 6666"
|
||||
$"0004 CCCC FFFF 3333 0004 CCCC FFFF 0000"
|
||||
$"0000 CCCC CCCC FFFF 0000 CCCC CCCC CCCC"
|
||||
$"0004 CCCC CCCC 9999 0004 CCCC CCCC 6666"
|
||||
$"0004 CCCC CCCC 3333 0004 CCCC CCCC 0000"
|
||||
$"0004 CCCC 9999 FFFF 0004 CCCC 9999 CCCC"
|
||||
$"0004 CCCC 9999 9999 0000 CCCC 9999 6666"
|
||||
$"0004 CCCC 9999 3333 0004 CCCC 9999 0000"
|
||||
$"0004 CCCC 6666 FFFF 0004 CCCC 6666 CCCC"
|
||||
$"0004 CCCC 6666 9999 0004 CCCC 6666 6666"
|
||||
$"0004 CCCC 6666 3333 0004 CCCC 6666 0000"
|
||||
$"0004 CCCC 3333 FFFF 0004 CCCC 3333 CCCC"
|
||||
$"0004 CCCC 3333 9999 0004 CCCC 3333 6666"
|
||||
$"0004 CCCC 3333 3333 0004 CCCC 3333 0000"
|
||||
$"0004 CCCC 0000 FFFF 0004 CCCC 0000 CCCC"
|
||||
$"0004 CCCC 0000 9999 0004 CCCC 0000 6666"
|
||||
$"0004 CCCC 0000 3333 0004 CCCC 0000 0000"
|
||||
$"0000 9999 FFFF FFFF 0004 9999 FFFF CCCC"
|
||||
$"0004 9999 FFFF 9999 0004 9999 FFFF 6666"
|
||||
$"0004 9999 FFFF 3333 0004 9999 FFFF 0000"
|
||||
$"0004 9999 CCCC FFFF 0004 9999 CCCC CCCC"
|
||||
$"0004 9999 CCCC 9999 0004 9999 CCCC 6666"
|
||||
$"0004 9999 CCCC 3333 0004 9999 CCCC 0000"
|
||||
$"0000 9999 9999 FFFF 0004 9999 9999 CCCC"
|
||||
$"0004 9999 9999 9999 0004 9999 9999 6666"
|
||||
$"0004 9999 9999 3333 0004 9999 9999 0000"
|
||||
$"0004 9999 6666 FFFF 0004 9999 6666 CCCC"
|
||||
$"0000 9999 6666 9999 0004 9999 6666 6666"
|
||||
$"0004 9999 6666 3333 0004 9999 6666 0000"
|
||||
$"0004 9999 3333 FFFF 0004 9999 3333 CCCC"
|
||||
$"0004 9999 3333 9999 0004 9999 3333 6666"
|
||||
$"0004 9999 3333 3333 0004 9999 3333 0000"
|
||||
$"0004 9999 0000 FFFF 0004 9999 0000 CCCC"
|
||||
$"0004 9999 0000 9999 0000 9999 0000 6666"
|
||||
$"0004 9999 0000 3333 0004 9999 0000 0000"
|
||||
$"0004 6666 FFFF FFFF 0004 6666 FFFF CCCC"
|
||||
$"0004 6666 FFFF 9999 0004 6666 FFFF 6666"
|
||||
$"0004 6666 FFFF 3333 0004 6666 FFFF 0000"
|
||||
$"0004 6666 CCCC FFFF 0004 6666 CCCC CCCC"
|
||||
$"0004 6666 CCCC 9999 0004 6666 CCCC 6666"
|
||||
$"0004 6666 CCCC 3333 0004 6666 CCCC 0000"
|
||||
$"0004 6666 9999 FFFF 0004 6666 9999 CCCC"
|
||||
$"0004 6666 9999 9999 0004 6666 9999 6666"
|
||||
$"0004 6666 9999 3333 0004 6666 9999 0000"
|
||||
$"0004 6666 6666 FFFF 0000 6666 6666 CCCC"
|
||||
$"0004 6666 6666 9999 0004 6666 6666 6666"
|
||||
$"0004 6666 6666 3333 0004 6666 6666 0000"
|
||||
$"0004 6666 3333 FFFF 0004 6666 3333 CCCC"
|
||||
$"0004 6666 3333 9999 0004 6666 3333 6666"
|
||||
$"0004 6666 3333 3333 0004 6666 3333 0000"
|
||||
$"0004 6666 0000 FFFF 0004 6666 0000 CCCC"
|
||||
$"0004 6666 0000 9999 0004 6666 0000 6666"
|
||||
$"0004 6666 0000 3333 0004 6666 0000 0000"
|
||||
$"0004 3333 FFFF FFFF 0004 3333 FFFF CCCC"
|
||||
$"0000 3333 FFFF 9999 0004 3333 FFFF 6666"
|
||||
$"0004 3333 FFFF 3333 0004 3333 FFFF 0000"
|
||||
$"0004 3333 CCCC FFFF 0004 3333 CCCC CCCC"
|
||||
$"0004 3333 CCCC 9999 0004 3333 CCCC 6666"
|
||||
$"0004 3333 CCCC 3333 0004 3333 CCCC 0000"
|
||||
$"0004 3333 9999 FFFF 0004 3333 9999 CCCC"
|
||||
$"0004 3333 9999 9999 0000 3333 9999 6666"
|
||||
$"0004 3333 9999 3333 0004 3333 9999 0000"
|
||||
$"0004 3333 6666 FFFF 0004 3333 6666 CCCC"
|
||||
$"0004 3333 6666 9999 0000 3333 6666 6666"
|
||||
$"0004 3333 6666 3333 0004 3333 6666 0000"
|
||||
$"0004 3333 3333 FFFF 0004 3333 3333 CCCC"
|
||||
$"0004 3333 3333 9999 0000 3333 3333 6666"
|
||||
$"0004 3333 3333 3333 0004 3333 3333 0000"
|
||||
$"0004 3333 0000 FFFF 0004 3333 0000 CCCC"
|
||||
$"0000 3333 0000 9999 0004 3333 0000 6666"
|
||||
$"0004 3333 0000 3333 0004 3333 0000 0000"
|
||||
$"0004 0000 FFFF FFFF 0004 0000 FFFF CCCC"
|
||||
$"0004 0000 FFFF 9999 0004 0000 FFFF 6666"
|
||||
$"0004 0000 FFFF 3333 0004 0000 FFFF 0000"
|
||||
$"0004 0000 CCCC FFFF 0004 0000 CCCC CCCC"
|
||||
$"0004 0000 CCCC 9999 0004 0000 CCCC 6666"
|
||||
$"0004 0000 CCCC 3333 0004 0000 CCCC 0000"
|
||||
$"0000 0000 9999 FFFF 0004 0000 9999 CCCC"
|
||||
$"0004 0000 9999 9999 0004 0000 9999 6666"
|
||||
$"0004 0000 9999 3333 0004 0000 9999 0000"
|
||||
$"0004 0000 6666 FFFF 0004 0000 6666 CCCC"
|
||||
$"0004 0000 6666 9999 0004 0000 6666 6666"
|
||||
$"0004 0000 6666 3333 0004 0000 6666 0000"
|
||||
$"0004 0000 3333 FFFF 0004 0000 3333 CCCC"
|
||||
$"0004 0000 3333 9999 0004 0000 3333 6666"
|
||||
$"0004 0000 3333 3333 0004 0000 3333 0000"
|
||||
$"0004 0000 0000 FFFF 0004 0000 0000 CCCC"
|
||||
$"0004 0000 0000 9999 0004 0000 0000 6666"
|
||||
$"0004 0000 0000 3333 0004 EEEE 0000 0000"
|
||||
$"0000 DDDD 0000 0000 0004 BBBB 0000 0000"
|
||||
$"0004 AAAA 0000 0000 0004 8888 0000 0000"
|
||||
$"0004 7777 0000 0000 0004 5555 0000 0000"
|
||||
$"0004 4444 0000 0000 0004 2222 0000 0000"
|
||||
$"0004 1111 0000 0000 0004 0000 EEEE 0000"
|
||||
$"0004 0000 DDDD 0000 0000 0000 BBBB 0000"
|
||||
$"0004 0000 AAAA 0000 0004 0000 8888 0000"
|
||||
$"0004 0000 7777 0000 0004 0000 5555 0000"
|
||||
$"0004 0000 4444 0000 0004 0000 2222 0000"
|
||||
$"0004 0000 1111 0000 0004 0000 0000 EEEE"
|
||||
$"0000 0000 0000 DDDD 0004 0000 0000 BBBB"
|
||||
$"0004 0000 0000 AAAA 0004 0000 0000 8888"
|
||||
$"0004 0000 0000 7777 0004 0000 0000 5555"
|
||||
$"0004 0000 0000 4444 0004 0000 0000 2222"
|
||||
$"0004 0000 0000 1111 0000 EEEE EEEE EEEE"
|
||||
$"0000 DDDD DDDD DDDD 0000 BBBB BBBB BBBB"
|
||||
$"0000 AAAA AAAA AAAA 0000 8888 8888 8888"
|
||||
$"0000 7777 7777 7777 0000 5555 5555 5555"
|
||||
$"0000 4444 4444 4444 0000 2222 2222 2222"
|
||||
$"0000 1111 1111 1111 0000 0000 0000 0000"
|
||||
$"0000 0000 0020 0020 0007 001E 0027 003E"
|
||||
$"0001 06FE 00E7 FFFE 0006 FD00 E9FF FD00"
|
||||
$"06FC 00EA FFFD 0006 FB00 ECFF FC00 06EB"
|
||||
$"00FC FFFC 0006 EC00 FCFF FB00 06EC 00FC"
|
||||
$"FFFB 0006 ED00 FCFF FA00 06ED 00FC FFFA"
|
||||
$"0006 EE00 FCFF F900 06EE 00FC FFF9 0006"
|
||||
$"EF00 FCFF F800 0BFA 0001 FFFF F800 FCFF"
|
||||
$"F800 0DFB 0003 FF05 05FF FA00 FCFF F700"
|
||||
$"0EFC 0000 FFFD 0500 FFFB 00FC FFF7 000E"
|
||||
$"FD00 06FF 0505 FFFF 0505 F1FF FC00 0FFD"
|
||||
$"0005 FF05 FF00 00FF F005 00FF FD00 10FD"
|
||||
$"0006 FF05 FF00 00FF 05F1 1600 FFFD 0013"
|
||||
$"FD00 06FF 1605 FFFF 0516 F5FF 0305 FF05"
|
||||
$"FFFC 0017 FC00 05FF 1605 0516 FFFE 00FC"
|
||||
$"FFFE 0004 FF16 FF16 FFFC 0013 FB00 03FF"
|
||||
$"1616 FFFD 00FC FFFD 0002 FF00 FFFB 000B"
|
||||
$"FA00 01FF FFFD 00FC FFF3 0006 F400 FCFF"
|
||||
$"F300 06F5 00FC FFF2 0006 F500 FCFF F200"
|
||||
$"06F6 00FC FFF1 0006 F600 FCFF F100 06F7"
|
||||
$"00FC FFF0 0006 F700 FCFF F000 06F8 00FC"
|
||||
$"FFEF 0006 F800 FCFF EF00 06F9 00FC FFEE"
|
||||
$"0000 00FF"
|
||||
resource 'CNTL' (CNTL_PREF_TERM_TYPE) {
|
||||
{ 0, 0, 19, 150 },
|
||||
popupTitleLeftJust,
|
||||
visible,
|
||||
0,
|
||||
MENU_TERM_TYPE,
|
||||
popupMenuProc,
|
||||
0,
|
||||
""
|
||||
};
|
||||
|
||||
data 'ICN#' (SSHEVEN_FILE_ICON) {
|
||||
$"1FFF FC00 1000 0600 1000 0500 1000 0480"
|
||||
$"1007 8440 1008 4420 1013 27F0 1024 9010"
|
||||
$"1024 9010 1013 2010 1008 4010 1004 8010"
|
||||
$"1004 8010 1004 8010 1004 8010 1004 8010"
|
||||
$"1004 8010 1004 8010 1004 8010 1004 8010"
|
||||
$"1004 8010 1004 8010 100C 8010 1010 8010"
|
||||
$"100C 8010 1010 8010 100C 8010 1003 0010"
|
||||
$"1000 0010 1000 0010 1000 0010 1FFF FFF0"
|
||||
$"1FFF FC00 1FFF FE00 1FFF FF00 1FFF FF80"
|
||||
$"1FFF FFC0 1FFF FFE0 1FFF FFF0 1FFF FFF0"
|
||||
$"1FFF FFF0 1FFF FFF0 1FFF FFF0 1FFF FFF0"
|
||||
$"1FFF FFF0 1FFF FFF0 1FFF FFF0 1FFF FFF0"
|
||||
$"1FFF FFF0 1FFF FFF0 1FFF FFF0 1FFF FFF0"
|
||||
$"1FFF FFF0 1FFF FFF0 1FFF FFF0 1FFF FFF0"
|
||||
$"1FFF FFF0 1FFF FFF0 1FFF FFF0 1FFF FFF0"
|
||||
$"1FFF FFF0 1FFF FFF0 1FFF FFF0 1FFF FFF0"
|
||||
};
|
||||
|
||||
data 'icl4' (SSHEVEN_FILE_ICON) {
|
||||
$"000F FFFF FFFF FFFF FFFF FF00 0000 0000"
|
||||
$"000F 0000 0000 0000 0000 0FF0 0000 0000"
|
||||
$"000F 0000 0000 0000 0000 0FCF 0000 0000"
|
||||
$"000F 0000 0000 0000 0000 0FCC F000 0000"
|
||||
$"000F 0000 0000 0FFF F000 0FCC CF00 0000"
|
||||
$"000F 0000 0000 F111 2F00 0FCC CCF0 0000"
|
||||
$"000F 0000 000F 11FF 12F0 0FFF FFFF 0000"
|
||||
$"000F 0000 00F1 1F00 F12F 0000 000F 0000"
|
||||
$"000F 0000 00F1 0F00 F12F 0000 000F 0000"
|
||||
$"000F 0000 000F 11FF 12F0 0000 000F 0000"
|
||||
$"000F 0000 0000 F111 2F00 0000 000F 0000"
|
||||
$"000F 0000 0000 0F12 F000 0000 000F 0000"
|
||||
$"000F 0000 0000 0F12 F000 0000 000F 0000"
|
||||
$"000F 0000 0000 0F12 F000 0000 000F 0000"
|
||||
$"000F 0000 0000 0F12 F000 0000 000F 0000"
|
||||
$"000F 0000 0000 0F12 F000 0000 000F 0000"
|
||||
$"000F 0000 0000 0F12 F000 0000 000F 0000"
|
||||
$"000F 0000 0000 0F12 F000 0000 000F 0000"
|
||||
$"000F 0000 0000 0F12 F000 0000 000F 0000"
|
||||
$"000F 0000 0000 0F12 F000 0000 000F 0000"
|
||||
$"000F 0000 0000 0F12 F000 0000 000F 0000"
|
||||
$"000F 0000 0000 0F12 F000 0000 000F 0000"
|
||||
$"000F 0000 0000 FF12 F000 0000 000F 0000"
|
||||
$"000F 0000 000F 1212 F000 0000 000F 0000"
|
||||
$"000F 0000 0000 FF12 F000 0000 000F 0000"
|
||||
$"000F 0000 000F 1212 F000 0000 000F 0000"
|
||||
$"000F 0000 0000 FF12 F000 0000 000F 0000"
|
||||
$"000F 0000 0000 00FF 0000 0000 000F 0000"
|
||||
$"000F 0000 0000 0000 0000 0000 000F 0000"
|
||||
$"000F 0000 0000 0000 0000 0000 000F 0000"
|
||||
$"000F 0000 0000 0000 0000 0000 000F 0000"
|
||||
$"000F FFFF FFFF FFFF FFFF FFFF FFFF 0000"
|
||||
};
|
||||
|
||||
data 'icl8' (SSHEVEN_FILE_ICON) {
|
||||
$"0000 00FF FFFF FFFF FFFF FFFF FFFF FFFF"
|
||||
$"FFFF FFFF FFFF 0000 0000 0000 0000 0000"
|
||||
$"0000 00FF F5F5 F5F5 F5F5 F5F5 F5F5 F5F5"
|
||||
$"F5F5 F5F5 F5FF FF00 0000 0000 0000 0000"
|
||||
$"0000 00FF F5F5 F5F5 F5F5 F5F5 F5F5 F5F5"
|
||||
$"F5F5 F5F5 F5FF 2BFF 0000 0000 0000 0000"
|
||||
$"0000 00FF F5F5 F5F5 F5F5 F5F5 F5F5 F5F5"
|
||||
$"F5F5 F5F5 F5FF 2B2B FF00 0000 0000 0000"
|
||||
$"0000 00FF F5F5 F5F5 F5F5 F5F5 F5FF FFFF"
|
||||
$"FFF5 F5F5 F5FF 2B2B 2BFF 0000 0000 0000"
|
||||
$"0000 00FF F5F5 F5F5 F5F5 F5F5 FF05 0505"
|
||||
$"16FF F5F5 F5FF 2B2B 2B2B FF00 0000 0000"
|
||||
$"0000 00FF F5F5 F5F5 F5F5 F5FF 0505 FFFF"
|
||||
$"0516 FFF5 F5FF FFFF FFFF FFFF 0000 0000"
|
||||
$"0000 00FF F5F5 F5F5 F5F5 FF05 05FF F5F5"
|
||||
$"FF05 16FF F5F5 F5F5 F5F5 F5FF 0000 0000"
|
||||
$"0000 00FF F5F5 F5F5 F5F5 FF05 00FF F5F5"
|
||||
$"FF05 16FF F5F5 F5F5 F5F5 F5FF 0000 0000"
|
||||
$"0000 00FF F5F5 F5F5 F5F5 F5FF 0505 FFFF"
|
||||
$"0516 FFF5 F5F5 F5F5 F5F5 F5FF 0000 0000"
|
||||
$"0000 00FF F5F5 F5F5 F5F5 F5F5 FF05 0505"
|
||||
$"16FF F5F5 F5F5 F5F5 F5F5 F5FF 0000 0000"
|
||||
$"0000 00FF F5F5 F5F5 F5F5 F5F5 F5FF 0516"
|
||||
$"FFF5 F5F5 F5F5 F5F5 F5F5 F5FF 0000 0000"
|
||||
$"0000 00FF F5F5 F5F5 F5F5 F5F5 F5FF 0516"
|
||||
$"FFF5 F5F5 F5F5 F5F5 F5F5 F5FF 0000 0000"
|
||||
$"0000 00FF F5F5 F5F5 F5F5 F5F5 F5FF 0516"
|
||||
$"FFF5 F5F5 F5F5 F5F5 F5F5 F5FF 0000 0000"
|
||||
$"0000 00FF F5F5 F5F5 F5F5 F5F5 F5FF 0516"
|
||||
$"FFF5 F5F5 F5F5 F5F5 F5F5 F5FF 0000 0000"
|
||||
$"0000 00FF F5F5 F5F5 F5F5 F5F5 F5FF 0516"
|
||||
$"FFF5 F5F5 F5F5 F5F5 F5F5 F5FF 0000 0000"
|
||||
$"0000 00FF F5F5 F5F5 F5F5 F5F5 F5FF 0516"
|
||||
$"FFF5 F5F5 F5F5 F5F5 F5F5 F5FF 0000 0000"
|
||||
$"0000 00FF F5F5 F5F5 F5F5 F5F5 F5FF 0516"
|
||||
$"FFF5 F5F5 F5F5 F5F5 F5F5 F5FF 0000 0000"
|
||||
$"0000 00FF F5F5 F5F5 F5F5 F5F5 F5FF 0516"
|
||||
$"FFF5 F5F5 F5F5 F5F5 F5F5 F5FF 0000 0000"
|
||||
$"0000 00FF F5F5 F5F5 F5F5 F5F5 F5FF 0516"
|
||||
$"FFF5 F5F5 F5F5 F5F5 F5F5 F5FF 0000 0000"
|
||||
$"0000 00FF F5F5 F5F5 F5F5 F5F5 F5FF 0516"
|
||||
$"FFF5 F5F5 F5F5 F5F5 F5F5 F5FF 0000 0000"
|
||||
$"0000 00FF F5F5 F5F5 F5F5 F5F5 F5FF 0516"
|
||||
$"FFF5 F5F5 F5F5 F5F5 F5F5 F5FF 0000 0000"
|
||||
$"0000 00FF F5F5 F5F5 F5F5 F5F5 FFFF 0516"
|
||||
$"FFF5 F5F5 F5F5 F5F5 F5F5 F5FF 0000 0000"
|
||||
$"0000 00FF F5F5 F5F5 F5F5 F5FF 0516 0516"
|
||||
$"FFF5 F5F5 F5F5 F5F5 F5F5 F5FF 0000 0000"
|
||||
$"0000 00FF F5F5 F5F5 F5F5 F5F5 FFFF 0516"
|
||||
$"FFF5 F5F5 F5F5 F5F5 F5F5 F5FF 0000 0000"
|
||||
$"0000 00FF F5F5 F5F5 F5F5 F5FF 0516 0516"
|
||||
$"FFF5 F5F5 F5F5 F5F5 F5F5 F5FF 0000 0000"
|
||||
$"0000 00FF F5F5 F5F5 F5F5 F5F5 FFFF 0516"
|
||||
$"FFF5 F5F5 F5F5 F5F5 F5F5 F5FF 0000 0000"
|
||||
$"0000 00FF F5F5 F5F5 F5F5 F5F5 F5F5 FFFF"
|
||||
$"F5F5 F5F5 F5F5 F5F5 F5F5 F5FF 0000 0000"
|
||||
$"0000 00FF F5F5 F5F5 F5F5 F5F5 F5F5 F5F5"
|
||||
$"F5F5 F5F5 F5F5 F5F5 F5F5 F5FF 0000 0000"
|
||||
$"0000 00FF F5F5 F5F5 F5F5 F5F5 F5F5 F5F5"
|
||||
$"F5F5 F5F5 F5F5 F5F5 F5F5 F5FF 0000 0000"
|
||||
$"0000 00FF F5F5 F5F5 F5F5 F5F5 F5F5 F5F5"
|
||||
$"F5F5 F5F5 F5F5 F5F5 F5F5 F5FF 0000 0000"
|
||||
$"0000 00FF FFFF FFFF FFFF FFFF FFFF FFFF"
|
||||
$"FFFF FFFF FFFF FFFF FFFF FFFF 0000 0000"
|
||||
};
|
||||
|
||||
data 'ics#' (SSHEVEN_FILE_ICON) {
|
||||
$"7FF0 4038 432C 44BC 4484 4304 4304 4304"
|
||||
$"4304 4304 4304 4704 4304 4704 4004 7FFC"
|
||||
$"7FF0 7FF8 7FFC 7FFC 7FFC 7FFC 7FFC 7FFC"
|
||||
$"7FFC 7FFC 7FFC 7FFC 7FFC 7FFC 7FFC 7FFC"
|
||||
};
|
||||
|
||||
data 'ics4' (SSHEVEN_FILE_ICON) {
|
||||
$"0FFF FFFF FFFF 0000 0F00 0000 00FF F000"
|
||||
$"0F00 0022 00FC FF00 0F00 0200 20FF FF00"
|
||||
$"0F00 0200 2000 0F00 0F00 0022 0000 0F00"
|
||||
$"0F00 0022 0000 0F00 0F00 0022 0000 0F00"
|
||||
$"0F00 0022 0000 0F00 0F00 0022 0000 0F00"
|
||||
$"0F00 0022 0000 0F00 0F00 0222 0000 0F00"
|
||||
$"0F00 0022 0000 0F00 0F00 0222 0000 0F00"
|
||||
$"0F00 0000 0000 0F00 0FFF FFFF FFFF FF00"
|
||||
};
|
||||
|
||||
data 'ics8' (SSHEVEN_FILE_ICON) {
|
||||
$"00FF FFFF FFFF FFFF FFFF FFFF 0000 0000"
|
||||
$"00FF F5F5 F5F5 F5F5 F5F5 FFFF FF00 0000"
|
||||
$"00FF F5F5 F5F5 1717 F5F5 FF2B FFFF 0000"
|
||||
$"00FF F5F5 F517 F5F5 17F5 FFFF FFFF 0000"
|
||||
$"00FF F5F5 F517 F5F5 17F5 F5F5 F5FF 0000"
|
||||
$"00FF F5F5 F5F5 1617 00F5 F5F5 F5FF 0000"
|
||||
$"00FF F5F5 F5F5 1617 F5F5 F5F5 F5FF 0000"
|
||||
$"00FF F5F5 F5F5 1617 F5F5 F5F5 F5FF 0000"
|
||||
$"00FF F5F5 F5F5 1617 F5F5 F5F5 F5FF 0000"
|
||||
$"00FF F5F5 F5F5 1617 F5F5 F5F5 F5FF 0000"
|
||||
$"00FF F5F5 F5F5 1617 F5F5 F5F5 F5FF 0000"
|
||||
$"00FF F5F5 F516 1717 F5F5 F5F5 F5FF 0000"
|
||||
$"00FF F5F5 F5F5 1617 F5F5 F5F5 F5FF 0000"
|
||||
$"00FF F5F5 F516 1717 F5F5 F5F5 F5FF 0000"
|
||||
$"00FF F5F5 F5F5 F5F5 F5F5 F5F5 F5FF 0000"
|
||||
$"00FF FFFF FFFF FFFF FFFF FFFF FFFF 0000"
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue