add preferences file icon

This commit is contained in:
cy384 2020-09-19 22:34:07 -04:00
parent 50c83ab0a4
commit 7c583b78f9
2 changed files with 170 additions and 7 deletions

View File

@ -32,6 +32,12 @@
*/ */
#define SSHEVEN_TERMINAL_TYPE "xterm-16color" #define SSHEVEN_TERMINAL_TYPE "xterm-16color"
/* application icon set */
#define SSHEVEN_APPLICATION_ICON 128
/* preferences/other files icon set */
#define SSHEVEN_FILE_ICON 129
/* dialog for getting connection info */ /* dialog for getting connection info */
#define DLOG_CONNECT 128 #define DLOG_CONNECT 128
#define DITL_CONNECT 128 #define DITL_CONNECT 128

171
ssheven.r
View File

@ -391,7 +391,7 @@ resource 'FREF' (128, purgeable) {
resource 'BNDL' (128, purgeable) { resource 'BNDL' (128, purgeable) {
'SSH7', 0, 'SSH7', 0,
{ {
'ICN#', {0, 128}, 'ICN#', {0, SSHEVEN_APPLICATION_ICON},
'FREF', {0, 128} 'FREF', {0, 128}
} }
}; };
@ -443,7 +443,7 @@ resource 'MENU' (MENU_EDIT) {
/* use this regex to get rid of data comments: " \/\*[^\*]*\*\/" */ /* use this regex to get rid of data comments: " \/\*[^\*]*\*\/" */
data 'ICN#' (128) { data 'ICN#' (SSHEVEN_APPLICATION_ICON) {
$"1FFF FFF8 0FFF FFF0 07FF FFF0 03FF FFE0" $"1FFF FFF8 0FFF FFF0 07FF FFF0 03FF FFE0"
$"0000 03E0 0000 07C0 0000 07C0 0000 0F80" $"0000 03E0 0000 07C0 0000 07C0 0000 0F80"
$"0000 0F80 0000 1F00 0000 1F00 0000 3E00" $"0000 0F80 0000 1F00 0000 1F00 0000 3E00"
@ -462,7 +462,7 @@ data 'ICN#' (128) {
$"003E 0000 007C 0000 007C 0000 00F8 0000" $"003E 0000 007C 0000 007C 0000 00F8 0000"
}; };
data 'icl4' (128) { data 'icl4' (SSHEVEN_APPLICATION_ICON) {
$"000F FFFF FFFF FFFF FFFF FFFF FFFF F000" $"000F FFFF FFFF FFFF FFFF FFFF FFFF F000"
$"0000 FFFF FFFF FFFF FFFF FFFF FFFF 0000" $"0000 FFFF FFFF FFFF FFFF FFFF FFFF 0000"
$"0000 0FFF FFFF FFFF FFFF FFFF FFFF 0000" $"0000 0FFF FFFF FFFF FFFF FFFF FFFF 0000"
@ -497,7 +497,7 @@ data 'icl4' (128) {
$"0000 0000 FFFF F000 0000 0000 0000 0000" $"0000 0000 FFFF F000 0000 0000 0000 0000"
}; };
data 'icl8' (128) { data 'icl8' (SSHEVEN_APPLICATION_ICON) {
$"0000 00FF FFFF FFFF FFFF FFFF FFFF FFFF" $"0000 00FF FFFF FFFF FFFF FFFF FFFF FFFF"
$"FFFF FFFF FFFF FFFF FFFF FFFF FF00 0000" $"FFFF FFFF FFFF FFFF FFFF FFFF FF00 0000"
$"0000 0000 FFFF FFFF FFFF FFFF FFFF FFFF" $"0000 0000 FFFF FFFF FFFF FFFF FFFF FFFF"
@ -564,14 +564,14 @@ data 'icl8' (128) {
$"0000 0000 0000 0000 0000 0000 0000 0000" $"0000 0000 0000 0000 0000 0000 0000 0000"
}; };
data 'ics#' (128) { data 'ics#' (SSHEVEN_APPLICATION_ICON) {
$"3FFC 1FF8 0018 0030 0030 0060 1860 27FC" $"3FFC 1FF8 0018 0030 0030 0060 1860 27FC"
$"27FC 1994 0180 0300 0300 0600 0600 0C00" $"27FC 1994 0180 0300 0300 0600 0600 0C00"
$"3FFC 1FF8 0018 0030 0030 0060 1860 27FC" $"3FFC 1FF8 0018 0030 0030 0060 1860 27FC"
$"27FC 1994 0180 0300 0300 0600 0600 0C00" $"27FC 1994 0180 0300 0300 0600 0600 0C00"
}; };
data 'ics4' (128) { data 'ics4' (SSHEVEN_APPLICATION_ICON) {
$"00FF FFFF FFFF FF00 000F FFFF FFFF F000" $"00FF FFFF FFFF FF00 000F FFFF FFFF F000"
$"0000 0000 000F F000 0000 0000 00FF 0000" $"0000 0000 000F F000 0000 0000 00FF 0000"
$"0000 0000 00FF 0000 0000 0000 0FF0 0000" $"0000 0000 00FF 0000 0000 0000 0FF0 0000"
@ -582,7 +582,7 @@ data 'ics4' (128) {
$"0000 0FF0 0000 0000 0000 FF00 0000 0000" $"0000 0FF0 0000 0000 0000 FF00 0000 0000"
}; };
data 'ics8' (128) { data 'ics8' (SSHEVEN_APPLICATION_ICON) {
$"0000 FFFF FFFF FFFF FFFF FFFF FFFF 0000" $"0000 FFFF FFFF FFFF FFFF FFFF FFFF 0000"
$"0000 00FF FFFF FFFF FFFF FFFF FF00 0000" $"0000 00FF FFFF FFFF FFFF FFFF FF00 0000"
$"0000 0000 0000 0000 0000 00FF FF00 0000" $"0000 0000 0000 0000 0000 00FF FF00 0000"
@ -772,3 +772,160 @@ data 'PICT' (PICT_ABOUT) {
$"0000 00FF" $"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 F211 1F00 0FCC CCF0 0000"
$"000F 0000 000F 21FF 11F0 0FFF FFFF 0000"
$"000F 0000 00F2 1F00 F11F 0000 000F 0000"
$"000F 0000 00F2 1F00 F11F 0000 000F 0000"
$"000F 0000 000F 21FF 11F0 0000 000F 0000"
$"000F 0000 0000 F211 1F00 0000 000F 0000"
$"000F 0000 0000 0F21 F000 0000 000F 0000"
$"000F 0000 0000 0F21 F000 0000 000F 0000"
$"000F 0000 0000 0F21 F000 0000 000F 0000"
$"000F 0000 0000 0F21 F000 0000 000F 0000"
$"000F 0000 0000 0F21 F000 0000 000F 0000"
$"000F 0000 0000 0F21 F000 0000 000F 0000"
$"000F 0000 0000 0F21 F000 0000 000F 0000"
$"000F 0000 0000 0F21 F000 0000 000F 0000"
$"000F 0000 0000 0F21 F000 0000 000F 0000"
$"000F 0000 0000 0F21 F000 0000 000F 0000"
$"000F 0000 0000 0F21 F000 0000 000F 0000"
$"000F 0000 0000 FF21 F000 0000 000F 0000"
$"000F 0000 000F 2121 F000 0000 000F 0000"
$"000F 0000 0000 FF21 F000 0000 000F 0000"
$"000F 0000 000F 2121 F000 0000 000F 0000"
$"000F 0000 0000 FF21 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 FF17 0505"
$"05FF F5F5 F5FF 2B2B 2B2B FF00 0000 0000"
$"0000 00FF F5F5 F5F5 F5F5 F5FF 1705 FFFF"
$"0505 FFF5 F5FF FFFF FFFF FFFF 0000 0000"
$"0000 00FF F5F5 F5F5 F5F5 FF17 05FF F5F5"
$"FF05 05FF F5F5 F5F5 F5F5 F5FF 0000 0000"
$"0000 00FF F5F5 F5F5 F5F5 FF17 05FF F5F5"
$"FF05 05FF F5F5 F5F5 F5F5 F5FF 0000 0000"
$"0000 00FF F5F5 F5F5 F5F5 F5FF 1705 FFFF"
$"0505 FFF5 F5F5 F5F5 F5F5 F5FF 0000 0000"
$"0000 00FF F5F5 F5F5 F5F5 F5F5 FF17 0505"
$"05FF F5F5 F5F5 F5F5 F5F5 F5FF 0000 0000"
$"0000 00FF F5F5 F5F5 F5F5 F5F5 F5FF 1705"
$"FFF5 F5F5 F5F5 F5F5 F5F5 F5FF 0000 0000"
$"0000 00FF F5F5 F5F5 F5F5 F5F5 F5FF 1705"
$"FFF5 F5F5 F5F5 F5F5 F5F5 F5FF 0000 0000"
$"0000 00FF F5F5 F5F5 F5F5 F5F5 F5FF 1705"
$"FFF5 F5F5 F5F5 F5F5 F5F5 F5FF 0000 0000"
$"0000 00FF F5F5 F5F5 F5F5 F5F5 F5FF 1705"
$"FFF5 F5F5 F5F5 F5F5 F5F5 F5FF 0000 0000"
$"0000 00FF F5F5 F5F5 F5F5 F5F5 F5FF 1705"
$"FFF5 F5F5 F5F5 F5F5 F5F5 F5FF 0000 0000"
$"0000 00FF F5F5 F5F5 F5F5 F5F5 F5FF 1705"
$"FFF5 F5F5 F5F5 F5F5 F5F5 F5FF 0000 0000"
$"0000 00FF F5F5 F5F5 F5F5 F5F5 F5FF 1705"
$"FFF5 F5F5 F5F5 F5F5 F5F5 F5FF 0000 0000"
$"0000 00FF F5F5 F5F5 F5F5 F5F5 F5FF 1705"
$"FFF5 F5F5 F5F5 F5F5 F5F5 F5FF 0000 0000"
$"0000 00FF F5F5 F5F5 F5F5 F5F5 F5FF 1705"
$"FFF5 F5F5 F5F5 F5F5 F5F5 F5FF 0000 0000"
$"0000 00FF F5F5 F5F5 F5F5 F5F5 F5FF 1705"
$"FFF5 F5F5 F5F5 F5F5 F5F5 F5FF 0000 0000"
$"0000 00FF F5F5 F5F5 F5F5 F5F5 F5FF 1705"
$"FFF5 F5F5 F5F5 F5F5 F5F5 F5FF 0000 0000"
$"0000 00FF F5F5 F5F5 F5F5 F5F5 FFFF 1705"
$"FFF5 F5F5 F5F5 F5F5 F5F5 F5FF 0000 0000"
$"0000 00FF F5F5 F5F5 F5F5 F5FF 1705 1705"
$"FFF5 F5F5 F5F5 F5F5 F5F5 F5FF 0000 0000"
$"0000 00FF F5F5 F5F5 F5F5 F5F5 FFFF 1705"
$"FFF5 F5F5 F5F5 F5F5 F5F5 F5FF 0000 0000"
$"0000 00FF F5F5 F5F5 F5F5 F5FF 1705 1705"
$"FFF5 F5F5 F5F5 F5F5 F5F5 F5FF 0000 0000"
$"0000 00FF F5F5 F5F5 F5F5 F5F5 FFFF 1705"
$"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"
};