246 lines
13 KiB
Plaintext
246 lines
13 KiB
Plaintext
/*
|
|
* Copyright 2008 François Revol <mmu_man@users.sourceforge.net>
|
|
*
|
|
* This file is part of NetSurf, http://www.netsurf-browser.org/
|
|
*
|
|
* NetSurf is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; version 2 of the License.
|
|
*
|
|
* NetSurf is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#include "res.h"
|
|
|
|
/* files exported as resource:// via rsrc:// mapping */
|
|
resource(500, "credits.html") #'data' import "res/en/credits.html,faf";
|
|
resource(501, "licence.html") #'data' import "res/en/licence.html,faf";
|
|
resource(502, "welcome.html") #'data' import "res/en/welcome.html,faf";
|
|
|
|
/* application flags (multiple launch) */
|
|
resource(1, "BEOS:APP_FLAGS") (#'APPF') $"01000000";
|
|
|
|
/* application MIME signature */
|
|
resource(1, "BEOS:APP_SIG") (#'MIMS') "application/x-vnd.NetSurf";
|
|
|
|
/* list of supported MIME types */
|
|
resource(1, "BEOS:FILE_TYPES") message {
|
|
"types" = "text/html",
|
|
"types" = "image/gif",
|
|
"types" = "image/jpeg",
|
|
"types" = "application/x-vnd.Be-bookmark",
|
|
"types" = "text",
|
|
"types" = "application/x-vnd.Be-doc_bookmark",
|
|
"types" = "application/x-vnd.Be.URL.file",
|
|
"types" = "application/x-vnd.Be.URL.ftp",
|
|
"types" = "application/x-vnd.Be.URL.http",
|
|
"types" = "application/x-vnd.Be.URL.https"
|
|
};
|
|
|
|
/* BeOS large (32x32) icon */
|
|
resource(101, "BEOS:L:STD_ICON") #'ICON' array {
|
|
$"FFFFFFFFFFFFFFFFFFFFFF0E0A00D600D6000AAF0EFFFFFFFFFFFFFFFFFFFFFF"
|
|
$"FFFFFFFFFFFFFFFF0E0A000001DED5D5D5DE020000090EFFFFFFFFFFFFFFFFFF"
|
|
$"FFFFFFFFFFFFFF0B0001B58D6666666C6C6C6C93B50200090EFFFFFFFFFFFFFF"
|
|
$"FFFFFFFFFF0E0000016D66666666666C6C6C6C6C6C6CB40104AFFFFFFFFFFFFF"
|
|
$"FFFFFFFF0E0001B503464666666666666C6C6C6C6C6C6C9303000DFFFFFFFFFF"
|
|
$"FFFFFF0E000267AEB5464666666666666C6C6C6C66666C7292DE000DFFFFFFFF"
|
|
$"FFFFFF070167464666464646666666666C666C6C1F1F66664092DE000EFFFFFF"
|
|
$"FFFF0B008E46464646464646666666666C403F1E3F3F3F3F6692930100FFFFFF"
|
|
$"FFFF00074646668D46464666666666666C663F3F3F3F3F3F6672927E000EFFFF"
|
|
$"FF0B006D6646670246464666666666666C663F3F3F3F3F3F3F1E6C923D00FFFF"
|
|
$"FF00D56666668E044646666666666666403F3F3F3F3F3F3F1F6692927E000EFF"
|
|
$"0E008E666666678E666666666666666C6C661E3F3F3F3F3F1D92929293000BFF"
|
|
$"0B016C66666666666666666666666C6C6C6C403F3F3F3F3F3F6C929292DE00FF"
|
|
$"08036C666666666666666666666C6C6C6C6C1E1D403F1E6C666C929292DD00FF"
|
|
$"00D56C6C66668D06666666666C6C6C6C6C6C6C6C6C1D667292929292927E03FF"
|
|
$"00D56C6C6C6C8D02666C6C6C6C6C6C6C6C6C6C6C6C6C729292929292927E03FF"
|
|
$"00D56C6C6C6C6CDE6C6C6C6C6C6C6C6C6C6C6C6C7272729292929292927E03FF"
|
|
$"00DE6C6C6C6C6C6C6C6C6C6C6C6C6C6C6C6C6C7272729292929292925F0103FF"
|
|
$"09026C6C6C6C6C6C6C6C6C6C6C6C6C6C6C6C72727292929292929293010100FF"
|
|
$"0B008D6C6C6C6C8DD56C6C6C6C6C6C6C6C72727272929292929292927E3D29FF"
|
|
$"0E00B46C6C6C6C6C01936C6C6C6C6C6C72727292929292927E7E92925F000BFF"
|
|
$"FF00DE6C6C6C6C6CB5B46C6C6C6C727272729292929292DE297E9292DD020EFF"
|
|
$"FF0C0002B4726C6C6C6C7272727272727292B4DD7F929293929292920100FFFF"
|
|
$"FFFF00007F7272B4DDDD927293DDDEB49292DEDDB3929292929292DD000EFFFF"
|
|
$"FFFFAF00B4727293B47FDEB4937E7E93929292929292929292925F0009FFFFFF"
|
|
$"FFFFFF0A00B4929292929301939292929292929292929292925F0100FFFFFFFF"
|
|
$"FFFFFFFF0700B4929292927E9392929292929292929292925F01000EFFFFFFFF"
|
|
$"FFFFFFFFFF0700DD9292929292929292929292929292927E01000EFFFFFFFFFF"
|
|
$"FFFFFFFFFFFF0A003D7E9292927E7E9292929292925FDE00000EFFFFFFFFFFFF"
|
|
$"FFFFFFFFFFFFFF0D00003D7F5F5F017E92925F7EDE000300FFFFFFFFFFFFFFFF"
|
|
$"FFFFFFFFFFFFFFFFFF0D00030000000001010000000C0EFFFFFFFFFFFFFFFFFF"
|
|
$"FFFFFFFFFFFFFFFFFFFFFFFF0E0B000A0A0A0D0EFFFFFFFFFFFFFFFFFFFFFFFF"
|
|
};
|
|
|
|
/* BeOS small (16x16) icon */
|
|
resource(101, "BEOS:M:STD_ICON") #'MICN' array {
|
|
$"FFFFFFFF0E0900020205000DFFFFFFFF"
|
|
$"FFFFFF09038E66666C6C93DD000EFFFF"
|
|
$"FFFF00B5AE4666666C6C666CB4050EFF"
|
|
$"FF098E464646666666401D4066B400FF"
|
|
$"0E05668E664666666C1E3F3F1D6CDDAF"
|
|
$"098E668E66666666661F3F3F1E729300"
|
|
$"006C66666666666C6C401E1E40729204"
|
|
$"026C6CB46C666C6C6C6C6C66929292DE"
|
|
$"026C6C8D6C6C6C6C6C6C72729292923D"
|
|
$"006C6C6C8D6C6C6C6C72729292927E04"
|
|
$"09946C6CB56C6C6C72729292DD935F00"
|
|
$"0E009492B49293B492B47E929292DE0D"
|
|
$"FF0A7F92937F939392929292927E00FF"
|
|
$"FFFF08DD92929292929292927E00FFFF"
|
|
$"FFFFFF0B017E93DD92927EDE09FFFFFF"
|
|
$"FFFFFFFF0E0B000500000A0EFFFFFFFF"
|
|
};
|
|
|
|
/* Haiku vector icon */
|
|
resource(101, "BEOS:ICON") #'VICN' array {
|
|
$"6E6369660A02010203AE259A400198BFFA65AE20E548AF9547F2037F30A0FFFF"
|
|
$"00E8F1FDFFF131A0FFFB02000602B83B85BC57333C5733B83B8549EAE1481199"
|
|
$"00359FFFFFFFFFFF05FF05010400600500020002033D9F21B889EB3A4CEE3F48"
|
|
$"204AB4B1440D2D10339DFF51369381810DB3339DFF68020002013E7E6E26628C"
|
|
$"A83C7540569A4565A3CA24492BEEF3F70001EEF3F731017D828B95160204BFE6"
|
|
$"B413C670B413B95DB413B411BF78B411B92DB411C5C3BFE6CADDB95CCADDC66F"
|
|
$"CADDCBBCBF78CBBCC5C4CBBCB92E0204BC63B4EAC0E922B7DDB608B570BBF0B4"
|
|
$"C0B92EB61EBEB2BEDDBEE8BA56C007C363BDCBC5D0B7E2C67FBAA5C522B52002"
|
|
$"04BFDEB448C60DB448B9ADB448B4ADBF9AB4ADB955B4ADC5DABFDECAEDB9ABCA"
|
|
$"EDC60BCAEDCB0FBF9ACB0FC5DCCB0FB9570204BFDFB4D8C5BFB4D8B9FEB4D8B5"
|
|
$"3DBF9AB53DB9A5B53DC58ABFDFCA5CB9FCCA5CC5BDCA5CCA81BF9ACA81C58BCA"
|
|
$"81B9A70606BA0BBF11CB5CC71BCAFECB92C8F7CA15CAF2CCF9C666CA36C48EC4"
|
|
$"A7CA76C78DC943C2BECB40BF11CB5D0A04BB16B6B2BA9C2EB9CFB86BBA5AB65D"
|
|
$"0A04BA10BC6AB954BC62B96CBADFBA3EBAE70A04BA21BEB5BA5AC047B98DC071"
|
|
$"B93ABEF30A04BAFDC28BBB88C3E9BAD5C43EBA59C2CD0A04BD84C730BCE154BC"
|
|
$"1CC679BCAAC5F90A04BEF3C932C015CA3BBF51CAA0BE4FC9AB0A04B812C4E6B8"
|
|
$"1CC5AEB693C46DB6DEC3F70A04BA6AC535BBD4C545BBCDC617BAACC6020A04BE"
|
|
$"1EC565BF9AC51CBFB2C5E6BE5FC6340A04C1DCC4D3C348C459C381C524C244C5"
|
|
$"8D0A04C6D0C2EDC721C39FC5E5C45FC595C3AA0A04C8E6C175C9A042CA54C102"
|
|
$"C962C20E0611AAAAAAAE02C14FB955C2EAB96FC38BB7E6C47FB928C628B8C3C6"
|
|
$"04BA40C793BB18C64ABC15C6B4BDE0C50CBDCAC479BF41C372BE11C17FBE79C1"
|
|
$"FEBCB2C207BCB3C1F5BCB2C047BC1CC1A7BAEBC14EB9540205C03CC10EC030C0"
|
|
$"EFC0B9C250BFCBC606BE8FC591C21CC6E2C5DBC385C74DC4AAC5AAC35EC643BC"
|
|
$"27C7D2BF42C4B3B90CC27CB994C3B1BA28C084B8A30605EF03B6CFBA0EB779B7"
|
|
$"92B672BB6AB633BD29B598BCA2B7B3BE77BD4BBD3EC58CB654C86EB88FC42DB5"
|
|
$"45BC71B55CBF70B47FB920B65000000204CB77C91ACB76C797CB79CAACC293CB"
|
|
$"88C456CB8AC0CCCB86BAB3C975BAACCAF2BABAC7F6C286C704C0CCC704C44DC7"
|
|
$"04250A090115023FFFDCB41DBB3451734030CDBF6EE7C3CF400A000100023F88"
|
|
$"1AB4F02F34DE2C3F9E484326CF4422000A060112023CDC96413114C145263E69"
|
|
$"DE4C32CFCB0EE00A0301031A4002C300000000000040012FBD3E023BCFC439BF"
|
|
$"01178100040A0301031A4002C300000000000040012FBD3E023BCFC42F390117"
|
|
$"8200040A0301031A4002C300000000000040012FBD3E023BCFC41A2F01178200"
|
|
$"040A050105023EF4D13E9DFDBE66B43EB65E491E02C6E7CA0A0501051A3EE861"
|
|
$"3EABC8BE735C3EAAF54929C0C6EFBE1A3901178100040A050106023F4B963E44"
|
|
$"75BE44753F4B9648D9CDC72B1A0A0501061A3F4B963E4475BE44753F4B9648D9"
|
|
$"CDC72B1A1A3901178100040A0501061A3F4B963E4475BE44753F4B9648D9CDC7"
|
|
$"2B1A001901178300040A050107023F4B963E4475BE44753F4B9648D9CDC72B1A"
|
|
$"0A0501071A3F4B963E4475BE44753F4B9648D9CDC72B1A1A3901178100040A05"
|
|
$"0108023F4B963E4475BE44753F4B9648D9CDC72B1A0A0501081A3F4B963E4475"
|
|
$"BE44753F4B9648D9CDC72B1A1A3901178100040A0501081A3F4B963E4475BE44"
|
|
$"753F4B9648D9CDC72B1A001901178300040A050109023F70F53E0A00BE0A003F"
|
|
$"70F5485F8CC6CD790A0501091A3F70F53E0A00BE0A003F70F5485F8CC6CD791A"
|
|
$"3901178100040A05010A023F4B963E4475BD81043E8BD247F0BEC26F710A0501"
|
|
$"0A1A3F4B963E4475BD81043E8BD247F0BEC26F711A3901178100040A05010A1A"
|
|
$"3F4B963E4475BD81043E8BD247F0BEC26F71001901178300040A05010B023F7B"
|
|
$"673D4154BE6C8B3F3385495313C5FE290A05010B1A3F7B673D4154BE6C8B3F33"
|
|
$"85495313C5FE291A3901178100040A05010C023F70093E0B8EBE0B8E3F700948"
|
|
$"A7CCC721CF0A05010C1A3F70093E0B8EBE0B8E3F700948A7CCC721CF1A390117"
|
|
$"8100040A05010D023F70093E0B8EBE0B8E3F700948A7CCC721CF0A05010D1A3F"
|
|
$"70093E0B8EBE0B8E3F700948A7CCC721CF1A3901178100040A05010D1A3F7009"
|
|
$"3E0B8EBE0B8E3F700948A7CCC721CF001901178300040A05010E023F70093E0B"
|
|
$"8EBE0B8E3F700948A7CCC721CF0A05010E1A3F70093E0B8EBE0B8E3F700948A7"
|
|
$"CCC721CF1A3901178100040A05010F023FB1173D145ABD145A3FB117474282C6"
|
|
$"7CF80A05010F1A3FB1173D145ABD145A3FB117474282C67CF81A390117810004"
|
|
$"0A05010F1A3FB1173D145ABD145A3FB117474282C67CF8001901178300040A05"
|
|
$"0110023F68373CD78FBD05193F9ECF48132CC5E0A80A0501101A3F68373CD78F"
|
|
$"BD05193F9ECF48132CC5E0A81A3901178100040A020111000A0301031A4002C3"
|
|
$"00000000000040012FBD3E023BCFC400190117850004"
|
|
};
|
|
|
|
/* ZETA SVG icon descriptor */
|
|
resource(101, "BEOS:D:STD_ICON") (#'iICO') $"4944585A055300";
|
|
|
|
/* ZETA SVG compressed icon */
|
|
resource(101, "BEOS:V:STD_ICON") #'zICO' array {
|
|
$"7A10000078DAED57DD6EDB3618BDEF5310CA4D03C40C7F3E8A6466B7C002AC37"
|
|
$"2C066CCD03B8B1EC6853A44052B3644FBFF351769C7601D68B41BB5814C03AA2"
|
|
$"8EA8C3F3FD5059BE7FB86DC47DD50F75D7AE0A2D5521AAF6BADBD4ED6E555C7D"
|
|
$"FA69110A318CEB76B36EBAB65A158FD550BC7FF76639DCEFC41FF566BC591525"
|
|
$"15E2A6AA7737E384AFBBA6EB17753B56FD5DD7ACC73C7353B7D5BAFFE5C38FC5"
|
|
$"BB3762B9C38F58DEADC71B4CFED860DE6DDD341727DB7C14B8391D9B55F131C8"
|
|
$"6085355299CB0C8D92C10BEDF3AFCE231137277C494AEAC3384569F49E3FE169"
|
|
$"9A099365E6C4772633F33C195F4EF34FE3F9B513FD28E6CFA3CAB15FB7C3B6EB"
|
|
$"6F57C5ED7AECEB87B75A928E670A7F135AE08D21B8B385B6D2913FE567CF5FF6"
|
|
$"A085CD3F60A4EF7EAF0E861CAE17D9F10B92D6C5F26990ADFDADABDB8BCFD57D"
|
|
$"D5FC9FCCEBD79B7ADD7CE053D58EA2C68A77FB0BE4F1015EB5F538AC8A2F43D5"
|
|
$"FF7AB7BEAE7E6EAF860A69FAB02AC0BA7ECCA77ECADDC3339FFEA64A49174C56"
|
|
$"B598A00ED2C4F20C0E292277CA790D49C3D8DD896EBB1DAA31CFCBD78B5C11AB"
|
|
$"E2E473D83AA4F7F90B54FD0D55A9E80FD4E5F9D70B7D3971BEF4CDDB93A7E59F"
|
|
$"BE16D15311A97C7C53445A3AEBC26B117D6717262309EB0CD287449A8518278D"
|
|
$"4F445295C260529BB0923208A36524E638811229CB64BD8C41E828A34DB69486"
|
|
$"D83A054CB2746C0EE964B5B49E39A01B5912CFA875821F1E9864C03846A0A094"
|
|
$"44CCB1D92D6F9275321856468E5FE5BCE0C980A3D450869743E551FD7FD8B7D1"
|
|
$"29BCF9BEBEFD6AF73F25E954D45FBBC68BC6B2E09449C02A5B02CD30C069C604"
|
|
$"1CA42B858619E9197D5E9921DB89CA8E90C39185DFBA942E66CC30F26D45E919"
|
|
$"7566891C6E477BBB900CCAB18DE84EC0F6492E3248A70379EE5813C494B23489"
|
|
$"1B2C9A629441735029705325CBC24088313D23CF2A1281837B68DCCA2794150A"
|
|
$"8D9C8C09D54668FFA50CC05A9A4C0958C7913EAF4C98640405CE438E64291CFA"
|
|
$"0970902AF2166493C9658F7DCB43F2913E6FC8D1080D875621FF48EA2828B71E"
|
|
$"6DB3366E64893981C7C384F7FC79757AE9598ECAD1B591B1A58CF32E1EFCBE23"
|
|
$"01E7AADAB3E78DB9934AF37B89C3CC9969789730874F0DC721577EAFF7C89E55"
|
|
$"A4CD5F3F882605DE78BCE668A2E3A09235ED2D06C7E5E847979EF1E7D589E70D"
|
|
$"37206C8A6C12FACEB4115A2E20BE5BF206E9F3D75EC8F8C09F5527BA0F3666B8"
|
|
$"A774227C5F46EEE6E8F2FC3D4A025F088025F726C8D7907FA4FF2B3297E7F8C7"
|
|
$"7F793EDCE3F417BB10DA0B"
|
|
};
|
|
|
|
/* toolbar icons from Zumi <http://zumi.xoom.it/myhaiku>
|
|
* (generated by Icon-O-Matic from the HFIV source file,
|
|
* can't be automated)
|
|
*/
|
|
|
|
resource(102, "forward_button") #'VICN' array {
|
|
$"6E6369660304006603005900020006020000003C6000C000000000004C000048"
|
|
$"A0000080FF80FF00B300010A0748353448343E223E222C342C3422030A000100"
|
|
$"30222201178322040A0101001001178322040A02010000"
|
|
};
|
|
|
|
resource(103, "back_button") #'VICN' array {
|
|
$"6E6369660304006603005900020006020000003C6000C000000000004C000048"
|
|
$"A0000080FF80FF00B300010A0722353622362C482C483E363E3648030A000100"
|
|
$"30222201178322040A0101001001178322040A02010000"
|
|
};
|
|
|
|
resource(104, "stop_button") #'VICN' array {
|
|
$"6E6369660304006603800000020006020000003C6000C000000000004C000048"
|
|
$"A00000FFABABFFD900000208022A40402A02043525BEE325B7D825253525B7D8"
|
|
$"25BEE33545B7D845BEE345453545BEE345B7D8030A0002000130222201178900"
|
|
$"040A010200011001178900040A02020100100117850004"
|
|
};
|
|
|
|
resource(105, "reload_button") #'VICN' array {
|
|
$"6E6369660404006603004080020006020000003A0000C000000000004C000046"
|
|
$"7FFF00ABD5FFFF006CD9020006020000003A0000C000000000004C0000467FFF"
|
|
$"FFAAD4FF00006CD9010606C60F482232383D2D3D2D3826222A2B2329224327BC"
|
|
$"B7B25A4327060A00010030222201178322040A0101001001178322040A020100"
|
|
$"000A00010012C00000000000000000C000004AC0004AC00001178422040A0101"
|
|
$"0012C00000000000000000C000004AA0004AA00001178422040A03010002C000"
|
|
$"00000000000000C000004AA0004AA000"
|
|
};
|
|
|
|
resource(106, "home_button") #'VICN' array {
|
|
$"6E6369660804006603800000020006020000003A8000C000000000004C000047"
|
|
$"000000FFABABFFD900000554020016020000003AC000C000000000004BE00048"
|
|
$"A00000FFFFE50300590002000602000000370000C000000000004C00004A5000"
|
|
$"0080FF80FF00B20003806040040A064836483035222230223635280A04484848"
|
|
$"42224222480A0542404234352A283428400A042C342C4032403234080A030102"
|
|
$"1001178400040A040102000A0101001001178402040A020100000A0501011001"
|
|
$"178402040A060101000A070103000A0701030240AAAA0000000000003E000045"
|
|
$"0000468000"
|
|
};
|
|
|