From 8e1c5f3ee01ed386235c857866d10c6849d490bf Mon Sep 17 00:00:00 2001 From: ConLenov Date: Thu, 14 May 2020 13:23:01 +0000 Subject: [PATCH] skins: add FlowerMoon by ConLenov git-svn-id: svn://kolibrios.org@7917 a494cfbc-eb01-0410-851d-a64ba20cac60 --- skins/ConLenov/FlowerMoon/FlowerMoon.asm | 33 +++ skins/ConLenov/FlowerMoon/Tupfile.lua | 3 + skins/ConLenov/FlowerMoon/base.bmp | Bin 0 -> 582 bytes skins/ConLenov/FlowerMoon/base_1.bmp | Bin 0 -> 582 bytes skins/ConLenov/FlowerMoon/build.bat | 4 + skins/ConLenov/FlowerMoon/default.dtp.asm | 11 + skins/ConLenov/FlowerMoon/left.bmp | Bin 0 -> 406 bytes skins/ConLenov/FlowerMoon/left_1.bmp | Bin 0 -> 406 bytes skins/ConLenov/FlowerMoon/oper.bmp | Bin 0 -> 3750 bytes skins/ConLenov/FlowerMoon/oper_1.bmp | Bin 0 -> 3750 bytes skins/ConLenov/FlowerMoon/skin.inc | 239 ++++++++++++++++++++++ 11 files changed, 290 insertions(+) create mode 100644 skins/ConLenov/FlowerMoon/FlowerMoon.asm create mode 100644 skins/ConLenov/FlowerMoon/Tupfile.lua create mode 100644 skins/ConLenov/FlowerMoon/base.bmp create mode 100644 skins/ConLenov/FlowerMoon/base_1.bmp create mode 100644 skins/ConLenov/FlowerMoon/build.bat create mode 100644 skins/ConLenov/FlowerMoon/default.dtp.asm create mode 100644 skins/ConLenov/FlowerMoon/left.bmp create mode 100644 skins/ConLenov/FlowerMoon/left_1.bmp create mode 100644 skins/ConLenov/FlowerMoon/oper.bmp create mode 100644 skins/ConLenov/FlowerMoon/oper_1.bmp create mode 100644 skins/ConLenov/FlowerMoon/skin.inc diff --git a/skins/ConLenov/FlowerMoon/FlowerMoon.asm b/skins/ConLenov/FlowerMoon/FlowerMoon.asm new file mode 100644 index 0000000000..e0e33df332 --- /dev/null +++ b/skins/ConLenov/FlowerMoon/FlowerMoon.asm @@ -0,0 +1,33 @@ +;SKIN (.SKN) - COMPILE WITH FASM + +include 'skin.inc' + +SKIN_PARAMS \ + height = bmp_base.height,\ ; skin height + margins = [5:1:60:1],\ ; margins [left:top:right:bottom] + colors active = [binner=0xe8e6ec:\ ; border inner color + bouter=0x38373c:\ ; border outer color + bframe=0xe8e6ec],\ ; border frame color + colors inactive = [binner=0xe8e6ec:\ ; border inner color + bouter=0x38373c:\ ; border outer color + bframe=0xe8e6ec],\ ; border frame color + dtp = 'default.dtp' ; dtp colors + +SKIN_BUTTONS \ + close = [-27:0][21:20],\ ; buttons coordinates + minimize = [-49:0][21:20] ; [left:top][width:height] + +SKIN_BITMAPS \ + left active = bmp_left,\ ; skin bitmaps pointers + left inactive = bmp_left1,\ + oper active = bmp_oper,\ + oper inactive = bmp_oper1,\ + base active = bmp_base,\ + base inactive = bmp_base1 + +BITMAP bmp_left ,'left.bmp' ; skin bitmaps +BITMAP bmp_oper ,'oper.bmp' +BITMAP bmp_base ,'base.bmp' +BITMAP bmp_left1,'left_1.bmp' +BITMAP bmp_oper1,'oper_1.bmp' +BITMAP bmp_base1,'base_1.bmp' diff --git a/skins/ConLenov/FlowerMoon/Tupfile.lua b/skins/ConLenov/FlowerMoon/Tupfile.lua new file mode 100644 index 0000000000..51eb50664b --- /dev/null +++ b/skins/ConLenov/FlowerMoon/Tupfile.lua @@ -0,0 +1,3 @@ +if tup.getconfig("NO_FASM") ~= "" then return end +tup.rule("default.dtp.asm", 'fasm "%f" "%o"', "default.dtp") +tup.rule({"FlowerMoon.asm", extra_inputs = {"default.dtp"}}, 'fasm "%f" "%o" ' .. tup.getconfig("KPACK_CMD"), "FlowerMoon.skn") diff --git a/skins/ConLenov/FlowerMoon/base.bmp b/skins/ConLenov/FlowerMoon/base.bmp new file mode 100644 index 0000000000000000000000000000000000000000..015b9a4018234b387aefbc50ec9487e0f12be56e GIT binary patch literal 582 xcmZ?rbz@=x12Z700mK|YEC$4k3=%++fk6N&59UA#8*__MGy+4w&deGs0s!34cP{_{ literal 0 HcmV?d00001 diff --git a/skins/ConLenov/FlowerMoon/base_1.bmp b/skins/ConLenov/FlowerMoon/base_1.bmp new file mode 100644 index 0000000000000000000000000000000000000000..015b9a4018234b387aefbc50ec9487e0f12be56e GIT binary patch literal 582 xcmZ?rbz@=x12Z700mK|YEC$4k3=%++fk6N&59UA#8*__MGy+4w&deGs0s!34cP{_{ literal 0 HcmV?d00001 diff --git a/skins/ConLenov/FlowerMoon/build.bat b/skins/ConLenov/FlowerMoon/build.bat new file mode 100644 index 0000000000..684f69dd8a --- /dev/null +++ b/skins/ConLenov/FlowerMoon/build.bat @@ -0,0 +1,4 @@ +@del default.skn +@fasm default.dtp.asm default.dtp +@fasm FlowerMoon.asm default.skn +@del default.dtp diff --git a/skins/ConLenov/FlowerMoon/default.dtp.asm b/skins/ConLenov/FlowerMoon/default.dtp.asm new file mode 100644 index 0000000000..1064ad89bb --- /dev/null +++ b/skins/ConLenov/FlowerMoon/default.dtp.asm @@ -0,0 +1,11 @@ +;SYSTEM COLORS (.DTP) - COMPILE WITH FASM +frame dd 0x29272f +grab dd 0x504d59 +grab_button dd 0xC6C9CB +grab_button_text dd 0xffffff +grab_text dd 0xFFFFFF +work dd 0xe8e6ec +work_button dd 0xeceaef +work_button_text dd 0x000000 +work_text dd 0x000000 +work_graph dd 0xafa9b9 \ No newline at end of file diff --git a/skins/ConLenov/FlowerMoon/left.bmp b/skins/ConLenov/FlowerMoon/left.bmp new file mode 100644 index 0000000000000000000000000000000000000000..eb26fb668f2c5fde7d3aa9d15b2cc2eed86101da GIT binary patch literal 406 xcmZ?royN!j24+A~1Bh9HSPY0686rc~A7{;dp-e4DqP#6qw?1F&Y3}rh8X`AjegKz z6#YUXfdoxJWs`x!cD+nS;wKX$V23f$x7&cGu%)(%GoC!>NkOe_z156EZtPC01GbER{~UGIboPT{(;N$3!Z% z(UsDK2^P|{#D}v`mn%}DIom_r^*wg*z2-b=;TgxpgYQGGix?Ogxz^{2(| zJH&ET0B4?BQ(t}hqNP28j8)Z;7LHR#7csDN%fev4WFD_hu{ao zf70fa8n)lQ08aQo0fR0xJAxnq(!y~L#PiXDSlNb$D?>}wi+m~be$b$nU za*Y~uFys#3hK>mmTaQRDVSN7Y7n;ptbpD)4-tU$UkU_W+u+Kl7UVp)@<$YE> z7~kJZD2J$Lb8D|Lx_HC~XG4O#A z6BpUk==3XkwvuIGZG&;S5@U1jNqcYG^Xvbdd)o%o!^^IdjRSuT8V~IXv`en5;9agv zfBfX2@4UP)`Ub3{59w#+|C|??rhiON%yK-<2sCSHFoYO(81>*jmZu?x6FJ^;$m|?O zPufjsv6=n)tM{d>rG2Pw=2z16xW^%o$O%D3Nk5$RVSE+|_9b3e)#6iX#NqN`IH_^Z zlli%?Z>k?_1xxESOWUg%YRv5rNWoZ7$3N{9b5At|ArsYvG}4KKW~q@~3(7LKQFRzj zhv>gG6b%L21><11bc~8Il#nc7J(W0YmAlp4lsb7<=Yczu{iCOIKV4%sKB zCqNoYi{JW?5za#c6?j11-PC_}8!xm49~SLUiE+vZEkBCA-Cm!LMmUN&twTV)b2D5q zRvynjkP$xZAJ`$r32^}f)DzBq2|!QS?~{c7OKO17JS52pIXw?)Vj%VczC$b@kZ>nS UJ^$p 0 + dd btn + dw q1,q2,q3,q4 + end if + \\} + \} + common + dd 0 +} + +macro SKIN_BITMAPS [a] +{ + common + local bmp + __bitmaps__: + forward + match qq == ww,a + \{ + bmp=-1 + match qqq =active,qq \\{ bmp = 1 \\} + match qqq =inactive,qq \\{ bmp = 0 \\} + match =left qqq,qq + \\{ + if bmp >= 0 + dw 1,bmp + dd ww + end if + \\} + match =oper qqq,qq + \\{ + if bmp >= 0 + dw 2,bmp + dd ww + end if + \\} + match =base qqq,qq + \\{ + if bmp >= 0 + dw 3,bmp + dd ww + end if + \\} + \} + common + dd 0 +}