* Added "Disks" icon (file system root mimetype) based on work done by

Marius Middelthon - Thanks!
* Sorted vector icons a bit more like original bitmap icons.
* Renamed BeBox icon to Root icon.
* Commented out some dead code which caused a warning in
  TrackerInitialState.cpp


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24596 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus 2008-03-26 20:25:48 +00:00
parent e81885cd64
commit a7a306d1a6
5 changed files with 61 additions and 21 deletions

Binary file not shown.

View File

@ -63,7 +63,7 @@ enum {
kResFloppyIcon = R_FloppyIcon,
kResHardDiskIcon = 3,
kResCDIcon = R_CDIcon,
kResBeBoxIcon = R_BeBoxIcon,
kResRootIcon = R_RootIcon,
kResBookmarkIcon = R_BookmarkIcon,
kResPersonIcon = R_PersonIcon,
kResBrokenLinkIcon = R_BrokenLinkIcon,

View File

@ -40,7 +40,7 @@ enum {
R_PrinterIcon = 1007,
R_FloppyIcon = 1011,
R_CDIcon = 1013,
R_BeBoxIcon = 1014,
R_RootIcon = 1014,
R_BookmarkIcon = 1015,
R_PersonIcon = 1016,
R_BrokenLinkIcon = 1017,

View File

@ -392,6 +392,23 @@ resource(R_TrashFullIcon) #'VICN' array {
$"8BEF3FCABB453A0CC5B8B2"
};
resource(R_FloppyIcon) #'VICN' array {
$"6E6369660B03010000010100006A02001602386AAD38EB7ABB77733ADE88488E"
$"DC4A75ED008AFF4B05300200160239489738494ABADB693C0D394B5BD14A1EEC"
$"003AFF7802001602B716A4BA87FE3CB207B949ED4847D84A1E620175FEC40200"
$"1602B716A4BA87FE3CB207B949ED4847D84A1E62015CFE9B020016023917223B"
$"09FEBD22413B2FCE49B5F04A341100E6FF930200160333210A3829DFBAB4C535"
$"E9EC49C4C54A797A00E16DFFFDD0020016023667BE39DDBCBE50043AE09F4B65"
$"01492A3F00FFFFF103386DBE0C0A05425C42405C406042465C0A06425A5A425A"
$"3E3A312245B3CBC3BB0A04425A224A224542540A04425A5A425A3E42540A0842"
$"545A3EC7BABDFC4648313FBF38BA863A3122450A043DC91DBC25C7E8BC22C5A5"
$"BE8FC6CA0A04BC25C7E8B634C4EF28C2DCBC22C5A50A04BEBBC323C117C4353D"
$"52BC1FC5C30A042F42BEBBC323BC1FC5C328480A044648C7BABDFCBF38BA8631"
$"3F0802353E46C1E30A04B946C3D5344630C17DB7AEC3090C0A010100000A0001"
$"011001178400040A020102000A040103000A050104000A030105000A06010700"
$"0A070106000A080108000A090109000A0A010A1815FF01178100040A00010B00"
};
resource(R_CDIcon) #'VICN' array {
$"6E63696605050002030605B812A5BE03E13DE784B8021049F79F4A16EC00F1F1"
$"F136D9DDF48A9996B9B4B8BEDBFFF4F4F404EBD0020006023C92C0388F5FB854"
@ -403,6 +420,44 @@ resource(R_CDIcon) #'VICN' array {
$"0102100117820004"
};
resource(R_RootIcon) #'VICN' array {
$"6E6369661603010000020016023CC7EE389BC0BA16573E39B04A25E4468B7100"
$"FFFFD3020016023C5A743B25DEBC0A703D0D214B89B149B4E00047FF9E020016"
$"02396BD8394C21BC8C213CA4A24C06D7486315003DFF8102001602BC592FBB29"
$"A73C0CE4BD0B7C4892C04B9966007DFFD40200060238DBB4399733BC4A333BA5"
$"424866664A1B3D00596756FFEBB2B203A7FF0003FF0000040180020006023F20"
$"000000000000003E3000C000000000005BF8F8FFFF5D5BBB020006023A6FFE3A"
$"7CC1BD2F743D1F1D4AACC540BDFEA0372874E4151EC8020006023EAF513C0E74"
$"BAAEAE3D808045F168C49DEB63FFFFFFE8878CE4020016023E72000000000000"
$"003D8000BF800041C00000C5C8FF020006023C67EC3DCD85BDA9DD3C515E49AD"
$"B5C589F5A7837BBDEFD4D5F5020006023F30000000000000003DC000C0000042"
$"000000231587FFDBE2E7020006023E12000000000000003BD00046B000420000"
$"9AF8FCC6FFFBF8A302000602400000000000000000400000C000004200000082"
$"82FDFF124DA702000602400000000000000000400000C0000042000000FFFFFF"
$"FFE8E2E202030605B812A5BE03E13DE784B802104A6BCF479BB000F1F1F136D9"
$"DDF48A9996B9B4B8BEDBFFF4F4F4038B86B803837FA802011602B7AF7C3CA0E1"
$"BF1E0BBA2F7E4A3050487E9E0046FFDA170605E202405F46C949C4CE6045604A"
$"60415C400A062240224D405D5A435A363D2C0A062240404DC73BBE4F5A363D2C"
$"B67B3B0607EA283D2C5A36C73BBE4F483E4E3E423E403A42B67B3B0607EA2822"
$"40404DC73BBE4F483E4E3E423E403A42B67B3B0A04404D405DC746C3C7C746BE"
$"450A04C746C3C75A435A36C746BE450A042240224D405D404D08022747B814C3"
$"8908022647294802044626C76B26BCDC262E302EB72C2EBB93463ABCDC3AC76B"
$"3A5E305EBB935EB72C0608BFFE4626C76B26BCDC262E302EB72C2EBAB7BC9DBC"
$"A0BA2BBBE7BC9DBCA04A2E4C30BF67BD31BF67BD31C045BD4D463AC1303AC76B"
$"3A5E305EBB935EB72C0604BE4A2EBC9DBCA0BC9DBCA0BD74BCE0BF67BD31BE64"
$"BD11BF67BD314C300204462BC3E62BC0612BBEF32EBEF3B7EBBEF3B93C4631C0"
$"6131C3E6314E2E4EB93C4EB7EB0A0621302133393C4B2E4B2B33250A044B2B4B"
$"2E393B39380A04213321303938393B0A0627322D2E2E2E3731373232360A042A"
$"322E2F30302C330806353A35373C322D2D273127340A0427322735323932360A"
$"04BC03B57DB920B73BBE01B8C7C131B6C9080435262D2BBEDAB920462A180A08"
$"0100000A0001011001178400040A010104000A150103000A020105000A030106"
$"000A040107000A0501081001178520040A0701093024B39901178200040A0601"
$"093020B2E601178200040A00010A1001178400040A13010C000A12010B000A14"
$"010D1001178100040A09010E000A0A010F000A0B0110000A0C0111000A100112"
$"000A0E01131001178100040A110114000A0D01161001178100040A0F0115000A"
$"00010E100117820004"
};
resource(R_DeskIcon) #'VICN' array {
$"6E6369660F050004006B020006023A498437D931BA09203C6B6D4B49E74A11B7"
$"01663300FF9B663203603307020006023393B0B84A2E3B59D6369E0646DFD84A"
@ -565,23 +620,6 @@ resource(R_GenericPrinterIcon) #'VICN' array {
};
resource(R_FloppyIcon) #'VICN' array {
$"6E6369660B03010000010100006A02001602386AAD38EB7ABB77733ADE88488E"
$"DC4A75ED008AFF4B05300200160239489738494ABADB693C0D394B5BD14A1EEC"
$"003AFF7802001602B716A4BA87FE3CB207B949ED4847D84A1E620175FEC40200"
$"1602B716A4BA87FE3CB207B949ED4847D84A1E62015CFE9B020016023917223B"
$"09FEBD22413B2FCE49B5F04A341100E6FF930200160333210A3829DFBAB4C535"
$"E9EC49C4C54A797A00E16DFFFDD0020016023667BE39DDBCBE50043AE09F4B65"
$"01492A3F00FFFFF103386DBE0C0A05425C42405C406042465C0A06425A5A425A"
$"3E3A312245B3CBC3BB0A04425A224A224542540A04425A5A425A3E42540A0842"
$"545A3EC7BABDFC4648313FBF38BA863A3122450A043DC91DBC25C7E8BC22C5A5"
$"BE8FC6CA0A04BC25C7E8B634C4EF28C2DCBC22C5A50A04BEBBC323C117C4353D"
$"52BC1FC5C30A042F42BEBBC323BC1FC5C328480A044648C7BABDFCBF38BA8631"
$"3F0802353E46C1E30A04B946C3D5344630C17DB7AEC3090C0A010100000A0001"
$"011001178400040A020102000A040103000A050104000A030105000A06010700"
$"0A070106000A080108000A090109000A0A010A1815FF01178100040A00010B00"
};
resource(R_BookmarkIcon) #'VICN' array {
$"6E63696608010100006B02001602BA6666BB33323B3332BA6666480CCD4BD333"
$"00D8FFEC0200160439D755BC0F313C0F3139D7554AE7974ABAE901FA1C8C7934"
@ -1024,7 +1062,7 @@ resource(R_CDIcon) #'ICON' array {
$"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
};
resource(R_BeBoxIcon) #'ICON' array {
resource(R_RootIcon) #'ICON' array {
$"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
$"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
$"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"

View File

@ -250,7 +250,7 @@ TTracker::InitMimeTypes()
InstallMimeIfNeeded(B_LINK_MIMETYPE, kResBrokenLinkIcon,
"Symbolic Link", "Link to another item in the file system.", kTrackerSignature);
InstallMimeIfNeeded(B_ROOT_MIMETYPE, kResBeBoxIcon,
InstallMimeIfNeeded(B_ROOT_MIMETYPE, kResRootIcon,
"Be Root", "File system root.", kTrackerSignature);
InstallMimeIfNeeded(B_BOOKMARK_MIMETYPE, kResBookmarkIcon,
@ -439,6 +439,7 @@ AddTemporaryBackgroundImages(BMessage *message, const char *imagePath,
message->AddPoint(kBackgroundImageInfoOffset, offset);
}
#if 0 // dead code, don't know what it was used for
static void
InstallTemporaryBackgroundImagesIfNeeded(BNode *node, const char *imagePath,
BackgroundImage::Mode mode, BPoint offset, uint32 workspaces, bool textWidgetOutlines)
@ -451,6 +452,7 @@ InstallTemporaryBackgroundImagesIfNeeded(BNode *node, const char *imagePath,
InstallTemporaryBackgroundImages(node, &message);
}
}
#endif
void
TTracker::InstallTemporaryBackgroundImages()