From a7a306d1a6ba5cbcdf46615fb9e73f75b1dd8679 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Wed, 26 Mar 2008 20:25:48 +0000 Subject: [PATCH] * 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 --- data/artwork/icons/Device_Root | Bin 0 -> 35756 bytes src/kits/tracker/Bitmaps.h | 2 +- src/kits/tracker/TrackerIcons.h | 2 +- src/kits/tracker/TrackerIcons.rdef | 74 +++++++++++++++++------ src/kits/tracker/TrackerInitialState.cpp | 4 +- 5 files changed, 61 insertions(+), 21 deletions(-) create mode 100644 data/artwork/icons/Device_Root diff --git a/data/artwork/icons/Device_Root b/data/artwork/icons/Device_Root new file mode 100644 index 0000000000000000000000000000000000000000..a0784bb357c9f3c48f40737c19967d1aaba90acd GIT binary patch literal 35756 zcmeHQ4RBP~b$-GK1lX=@eoPWKtb{Q#aj=T1O&Q~TD=-o<7&&rWd1zy;K|foBw9zg` zKy0r~$0o%c=uGR8-5ILEDT*;>Izui(R#Kv;DsJ z-dSC}-M8;8tPHGlhO4{pzI)HRd%kndJ@@A=D^}H1E~r?&eBTZ&Ne!*{)y%|I9m?93 z^5C+{n!&l6R#{oIsvmh_I2dh;Xd2t|T1eV=qO40P4=xMb&oZ`W-SKRX{5m8b%E_mz zfOkw1K6NOIDdp_PEL8dOeKkubA|Kxp+)$4^(iB|Rx=GXUoaI%xzVDvuiX!BN;nq+~ z6gfUyRH12KN1AEoJr7oBJqz$ThBOT+jHFeNPc=RWpCW^gFVtc&@y4&rk>4bfU+YHn zjpU8r_+k9Mh;}PiudbkYCarC4X{lcutzSoOL;MOzxTf4nkW2k3l)rCnb8EzGAtG*B zQM=5CdPP>jBIL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rs{GKvS#qgPwYyYQ?Kbi1iEKVX`vys!T)N_#rUUCTEs+Z3=Wiw9YB2HKR zS|*%|2oi`mIr=|2yl&N_-CyiD-O0a?Y@9w#r<`bGV{y9q|3X~M`7d$ECQi?VU8#O8 zlU;GGl0vfy|c%Gs$Dt8fyRq3Vp*ny`TQ~a z8m;42U!3?~O7;~)0COB^ACelkm*YAHl~v>RT#Q?$6{PxgyM1x)OQO8e#qHR4Q~p<_ z(LQdCt=nE|c9l&$n2U8L{^lNua>z7p$(|hRm7>0VohjYE`q+Fpck6-I8YsEr#5D?1 z2Apiazdp7e$Tfsq?JrI-2Jc=7h_vz=e% zVw_UvO_|0i96K?Hc6B2@(XLn~c4fU+ob-XLH#Sb?Za+kgzcb;)wImYdpKczU>HY6~ z#;Xr9`84-K)OaBiUd0AlCSJ6E+7-)eb~WsM>3qhi7vJ6MzCFinAz5F_cArs=zcb;) z-%udYu5g^rz=^S=4JZ3+#zy^o#;Xr9@M>4Nz>Bs)A`Y4GQseqBpg!%2bF%b!C0`#J z!%O-99dfaLtHuqP@KWc?JReEC81tvcEBRWhf!A34K3dmrO+RqCuHWXuAFAV0Ci_z7 z&mR1tyw*164|D7f)%A%?c=30tNgU@g;AQ`Li7|f&c`=S2JBM*;oWsawKPwmO8S4Bu zlYOb@b<@3vV9k@|=M3`R4`ws(`ZV_))%Y>pc^M0*-wEN9%bRW2iL#5dTXl z9`w5J*on1_!SQ&n1P5NKitye77G^uKh*X7up%atdK}?Wpufsckc-OC%|KS9Fe5ICO z6r1r~aCEg;lr6%**NsKLnP0^F5A!iEUx0U2Zbgpw@SNWNW4XkJbv1YnjSM8`4E`VT C^F(I= literal 0 HcmV?d00001 diff --git a/src/kits/tracker/Bitmaps.h b/src/kits/tracker/Bitmaps.h index 4e9275d75a..b571e74655 100644 --- a/src/kits/tracker/Bitmaps.h +++ b/src/kits/tracker/Bitmaps.h @@ -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, diff --git a/src/kits/tracker/TrackerIcons.h b/src/kits/tracker/TrackerIcons.h index 9ea0661d75..918e37e04d 100644 --- a/src/kits/tracker/TrackerIcons.h +++ b/src/kits/tracker/TrackerIcons.h @@ -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, diff --git a/src/kits/tracker/TrackerIcons.rdef b/src/kits/tracker/TrackerIcons.rdef index d27c05982c..bda9a49dc5 100644 --- a/src/kits/tracker/TrackerIcons.rdef +++ b/src/kits/tracker/TrackerIcons.rdef @@ -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" diff --git a/src/kits/tracker/TrackerInitialState.cpp b/src/kits/tracker/TrackerInitialState.cpp index 7d13c125f7..ad29214161 100644 --- a/src/kits/tracker/TrackerInitialState.cpp +++ b/src/kits/tracker/TrackerInitialState.cpp @@ -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()