From d4d026590b703fbe99ec4d06d8e0d6276c276a03 Mon Sep 17 00:00:00 2001 From: "Kirill Lipatov (Leency)" Date: Fri, 31 Jul 2015 11:57:51 +0000 Subject: [PATCH] Eolite v2.9: highlight current device git-svn-id: svn://kolibrios.org@5634 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/cmm/eolite/Eolite.c | 4 ++-- programs/cmm/eolite/imgs/dev.raw | Bin 3276 -> 11016 bytes programs/cmm/eolite/imgs/left_p.txt | 2 +- programs/cmm/eolite/imgs/png/dev.png | Bin 1526 -> 2823 bytes programs/cmm/eolite/include/left_panel.h | 18 ++++++++++-------- 5 files changed, 13 insertions(+), 11 deletions(-) diff --git a/programs/cmm/eolite/Eolite.c b/programs/cmm/eolite/Eolite.c index 7d4e1352f..082d2b321 100644 --- a/programs/cmm/eolite/Eolite.c +++ b/programs/cmm/eolite/Eolite.c @@ -103,8 +103,8 @@ enum {ONLY_SHOW, WITH_REDRAW, ONLY_OPEN}; //OpenDir enum { CREATE_FILE=1, CREATE_FOLDER, RENAME_ITEM }; //NewElement -#define TITLE "Eolite File Manager v2.85" -#define ABOUT_TITLE "Eolite v2.85" +#define TITLE "Eolite File Manager v2.9" +#define ABOUT_TITLE "Eolite v2.9" dword col_padding, col_selec, col_lpanel; int toolbar_buttons_x[7]={9,46,85,134,167,203}; diff --git a/programs/cmm/eolite/imgs/dev.raw b/programs/cmm/eolite/imgs/dev.raw index 05192415d0d1cf928c5928cadc3458ae8b238ca3..bf5f75d732ccfd7e1b0a93a49baf9e4f707ac73e 100644 GIT binary patch literal 11016 zcmeI1Z%ori7{`6*yJc^d_-2b{iP?+2;FWWUFE-q=M6<=QMWAtWVGbrLPGp)@3r0~u zk%2MHKUk|MGbmM=Wr~Q1+8{baa122T0=A`;@>l4R(e4XRxSjX=^?EF3o0H3v``%*=^qwe{^UrN ztGi7==;I^D{e0`I=P$nQte)d2n$uJ^x2gP%oRX#Qn%7}XU4((Qy)U&Mm_1>+vv2I1 zckqWdW``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e zFuV$CV383Y!x|!=Rl`!D(qT$SG(0(ictdADJA&X~>eZ(~Eb`vu%a=%Vn8G>?#Q(-E zm_ov8umG_oG#l>AJ&dIkHCSww&Q6qkdu*1{0fd7=m5V@_mXZjtm?B+No#HjvX;7R7 zOB5~(j=BbmU?2^_;AYq0w@nXKG+2biy9R-vp^tVB#I}14zq%y0{BeI)AV3He96s{W z^@ZyBc%o){z5-zj$O_vvg%J|lJA!+c8)ASH2nQb%Q&Pf8j))-;2|*zR$%a$;^?xE} zB64z)QE~wmv(J!{3$U0Ka!s63L4ZXJs|Hn`3KG8Oegm_DP|{F6Dwr7wgM=W+-LFW2pNg=E L_M;a0503l^QdB}^ delta 439 zcmY+*ODIH97zgmKJC3<##$0CPaox)ZXMA;QiWCcvg>2AlP?V*OLb4PK8%1*c7dA+2 zG#;5EC6ASoM-5gMln6;;HdC5r9FvX3um3sU|NAC8FAA*TT5FG6ZydVB5fmnbx;(&Abfnc_KFvfVg~2W7!(k&d*@(sC@yPipq(Y5dU!Elr350AW9!0xY z$kCc^LeaRKOeWEwaeSnkzZWNm`v_|qJKo(EKXfw_U>r*sB;TGLp-1PK(Fu)q!neqP zL2R_Q<@06-U-sNNg(=e`{gIV%F~fpEXjdqe^~How@vhc$(WomaZJAXVa&W8)-9AE@ zGY0`D`)A6LZ>esv#t?RDm=$$NDZ`eNgknc%pdvK%{`@-D*Nml7LeNEWEEa?1D#EhM zj!oAV2Hl)RqtUKl(2{(z2xO`B>u-vyazj~PSrv^~gH*w>tp*TP4J1?sHTxb}9z#9| Zui@CwG2kKiD+#@V>J6aPTZJj_;18U~sJH+C diff --git a/programs/cmm/eolite/imgs/left_p.txt b/programs/cmm/eolite/imgs/left_p.txt index 73a9ffc02..cbe86f628 100644 --- a/programs/cmm/eolite/imgs/left_p.txt +++ b/programs/cmm/eolite/imgs/left_p.txt @@ -18,7 +18,7 @@ dword blue_hl_pal[]= {0x0001699C,0x0000699C,0x00026A9C,0x0002699C, 0x001E7AA8,0x001C79A6,0x001575A4,0x00207CA8,0x001E7AA7,0x001D79A7, 0x001976A4,0x00217CA8,0x00227CA8,0x00207BA8,0x001976A5,0x001473A3,0}; -unsigned char devices[14*78]= FROM "imgs\dev.raw"; +unsigned char devices[18*204]= FROM "imgs\dev.raw"; unsigned char factions[14*39] = FROM "imgs\actions.raw"; diff --git a/programs/cmm/eolite/imgs/png/dev.png b/programs/cmm/eolite/imgs/png/dev.png index 6553f4c80b959179854c23aeae6548e704c71004..81887115eded102b1f9e3a3de11e0396d612ba34 100644 GIT binary patch literal 2823 zcmV+i3;6VjP)F2fAmK?YF37c@vWr9-t4>1rv4TAPS_ zLOCt#+A8g8MkiDAJx?$6My9ovZKh?BVW4J*BW2m!k+hTq6+E^0Y~X zZ}~A}S4YvQl6bXBnlu5jI7Ua2ZgRByn>4#Q%dS(CR+r6bWK@4B*cYRY3rg}rTgT#t zr4dvXoidd%$H7dJBr^hMvzVjV9R|5GBK7v|X~{{#z5!@zZJTxaaD*bcPjM5p3`sGh z3}bDzX_iCFroWLsGFfCucrv%T(Gi^v01QSD-O=)<{j=u;G9nm9UiWG{5=LoQdsN@0 zx_dGOj5x-VBc*KJy<-M4A+bU2Coi0z1C#MBkH^C`^v2%0x)0m6TAR(TQYlkYQu6X< zBx;5c1mX3134%c2kZ{<^Q;i1>ROjYQi6Y62j8VF7GfgwKN8Z2du7aDgCQ2j{i9{ky z^5m(;LkDZtKe9@tRLW#BkH;gI$zx+w6SJlsI#~1d=_ZlB>5aVy4pgsQ^DvhN0HspN zHJsMAv13M7SMTpO^l(r7N$z>`?KpLUN~r{plXHD!WF+@|_wL>KITVG;9xGm}%Ut)! z>Y!-tT5S|ba_z{-$cBdI^78VAhUSuz5( zt5&V5t*rrYT=&4~(fRTSso7!^PJl|K{64xWNfQqs63EY=TV7tCpFfxTl{tQ`+wG=e zTZLF^N=noDi%_KisHwM_r>n!z8I+@l=?AA+dz54~si4+87QC6YYG*mm=7SQ{MyF@yA)>(1%smCg&bM zSH=D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tppqftp#3$<&to%_fN2JYT$8cJ#~}; zkej>CXzUKm4I35-yWO6Vu}u04^^h_$mWd17*4FV~#|ohOT+P2l3x6$myj#27E@bxD zo>3~5!W_W}(Ep!m;K`Rj(Du*v^_czd@?k0^b+V-Lc1t_QdHcNgiPM~yw?P7#OlFJK zws-#_+H7%b->{wlE-R4+LPbSoiGt)aw;Dqs3~II5rwg0BGWI1K7HCNB@9_ zcqDDW>!D+%!=Fn&bofUA4u=zf%OyQQf;g|ZunvaV!Z diff --git a/programs/cmm/eolite/include/left_panel.h b/programs/cmm/eolite/include/left_panel.h index cee72445c..dd4544861 100644 --- a/programs/cmm/eolite/include/left_panel.h +++ b/programs/cmm/eolite/include/left_panel.h @@ -111,14 +111,15 @@ void GetSystemDiscs() void DrawSystemDiscs() { - char dev_name[15], disc_name[100]; - int i, dev_icon, pos_y; + char dev_name[15], disc_name[100], i, dev_icon, is_active; + int pos_y; for (i=disc_num; i<30; i++) DeleteButton(100+i); for (i=0;i