diff --git a/skins/_old/Brick/1.Brick/Brick.png b/skins/_old/Brick/1.Brick/Brick.png deleted file mode 100644 index ff3f2871d8..0000000000 Binary files a/skins/_old/Brick/1.Brick/Brick.png and /dev/null differ diff --git a/skins/_old/Brick/1.Brick/Default.dtp b/skins/_old/Brick/1.Brick/Default.dtp deleted file mode 100644 index 15b66db988..0000000000 Binary files a/skins/_old/Brick/1.Brick/Default.dtp and /dev/null differ diff --git a/skins/_old/Brick/1.Brick/Tupfile.lua b/skins/_old/Brick/1.Brick/Tupfile.lua deleted file mode 100644 index 907f185a18..0000000000 --- a/skins/_old/Brick/1.Brick/Tupfile.lua +++ /dev/null @@ -1,2 +0,0 @@ -if tup.getconfig("NO_FASM") ~= "" then return end -tup.rule("brick.asm", 'fasm "%f" "%o" ' .. tup.getconfig("KPACK_CMD"), "1.Brick.skn") diff --git a/skins/_old/Brick/1.Brick/active/base.bmp b/skins/_old/Brick/1.Brick/active/base.bmp deleted file mode 100644 index 91195453fa..0000000000 Binary files a/skins/_old/Brick/1.Brick/active/base.bmp and /dev/null differ diff --git a/skins/_old/Brick/1.Brick/active/left.bmp b/skins/_old/Brick/1.Brick/active/left.bmp deleted file mode 100644 index 0ad17fde15..0000000000 Binary files a/skins/_old/Brick/1.Brick/active/left.bmp and /dev/null differ diff --git a/skins/_old/Brick/1.Brick/active/oper.bmp b/skins/_old/Brick/1.Brick/active/oper.bmp deleted file mode 100644 index 38d1c6bd48..0000000000 Binary files a/skins/_old/Brick/1.Brick/active/oper.bmp and /dev/null differ diff --git a/skins/_old/Brick/1.Brick/brick.asm b/skins/_old/Brick/1.Brick/brick.asm deleted file mode 100644 index e2915c4e58..0000000000 --- a/skins/_old/Brick/1.Brick/brick.asm +++ /dev/null @@ -1,35 +0,0 @@ -include 'skin.inc' - -SKIN_PARAMS \ - height = bmp_base.height,\ ; skin height - margins = [5:1:43:1],\ ; margins [left:top:right:bottom] - colors active = [binner=0x00081d:\ ; border inner color - bouter=0x00081d:\ ; border outer color - bframe=0x000000],\ ; border frame color - colors inactive = [binner=0x00081d:\ ; border inner color - bouter=0x00081d:\ ; border outer color - bframe=0x000000],\ ; border frame color - dtp = 'Default.dtp' ; dtp colors - -SKIN_BUTTONS \ - close = [-21:4][16:17],\ ; buttons coordinates - minimize = [-43:4][16:17] ; [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 ,'active/left.bmp' ; skin bitmaps -BITMAP bmp_oper ,'active/oper.bmp' -BITMAP bmp_base ,'active/base.bmp' -BITMAP bmp_left1,'inactive/left.bmp' -BITMAP bmp_oper1,'inactive/oper.bmp' -BITMAP bmp_base1,'inactive/base.bmp' - -;================================; -; Created by Rock_maniak_forever ; -;================================; diff --git a/skins/_old/Brick/1.Brick/inactive/base.bmp b/skins/_old/Brick/1.Brick/inactive/base.bmp deleted file mode 100644 index 91195453fa..0000000000 Binary files a/skins/_old/Brick/1.Brick/inactive/base.bmp and /dev/null differ diff --git a/skins/_old/Brick/1.Brick/inactive/left.bmp b/skins/_old/Brick/1.Brick/inactive/left.bmp deleted file mode 100644 index 0ad17fde15..0000000000 Binary files a/skins/_old/Brick/1.Brick/inactive/left.bmp and /dev/null differ diff --git a/skins/_old/Brick/1.Brick/inactive/oper.bmp b/skins/_old/Brick/1.Brick/inactive/oper.bmp deleted file mode 100644 index a1f7a7b4dc..0000000000 Binary files a/skins/_old/Brick/1.Brick/inactive/oper.bmp and /dev/null differ diff --git a/skins/_old/Fever/Fever1 blue/Fever_blue.asm b/skins/_old/Fever/Fever1 blue/Fever_blue.asm deleted file mode 100644 index 04509189fe..0000000000 --- a/skins/_old/Fever/Fever1 blue/Fever_blue.asm +++ /dev/null @@ -1,35 +0,0 @@ -include 'skin.inc' - -SKIN_PARAMS \ - height = bmp_base.height,\ ; skin height - margins = [5:1:43:1],\ ; margins [left:top:right:bottom] - colors active = [binner=0x000057:\ ; border inner color - bouter=0x000057:\ ; border outer color - bframe=0x0039D4],\ ; border frame color - colors inactive = [binner=0x000057:\ ; border inner color - bouter=0x000057:\ ; border outer color - bframe=0x5065A1],\ ; border frame color - dtp = 'fever_blue.dtp' ; dtp colors - -SKIN_BUTTONS \ - close = [-25:3][18:18],\ ; buttons coordinates - minimize = [-45:3][18:18] ; [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 ,'active/left.bmp' ; skin bitmaps -BITMAP bmp_oper ,'active/oper.bmp' -BITMAP bmp_base ,'active/base.bmp' -BITMAP bmp_left1,'inactive/left.bmp' -BITMAP bmp_oper1,'inactive/oper.bmp' -BITMAP bmp_base1,'inactive/base.bmp' - -;================================; -; Created by Rock_maniak_forever ; -;================================; diff --git a/skins/_old/Fever/Fever1 blue/Tupfile.lua b/skins/_old/Fever/Fever1 blue/Tupfile.lua deleted file mode 100644 index 335ef1f3bb..0000000000 --- a/skins/_old/Fever/Fever1 blue/Tupfile.lua +++ /dev/null @@ -1,2 +0,0 @@ -if tup.getconfig("NO_FASM") ~= "" then return end -tup.rule("Fever_blue.asm", 'fasm "%f" "%o" ' .. tup.getconfig("KPACK_CMD"), "Fever1 blue.skn") diff --git a/skins/_old/Fever/Fever1 blue/active/base.bmp b/skins/_old/Fever/Fever1 blue/active/base.bmp deleted file mode 100644 index 1d43142c37..0000000000 Binary files a/skins/_old/Fever/Fever1 blue/active/base.bmp and /dev/null differ diff --git a/skins/_old/Fever/Fever1 blue/active/left.bmp b/skins/_old/Fever/Fever1 blue/active/left.bmp deleted file mode 100644 index 1effb5b84a..0000000000 Binary files a/skins/_old/Fever/Fever1 blue/active/left.bmp and /dev/null differ diff --git a/skins/_old/Fever/Fever1 blue/active/oper.bmp b/skins/_old/Fever/Fever1 blue/active/oper.bmp deleted file mode 100644 index 2e8c260634..0000000000 Binary files a/skins/_old/Fever/Fever1 blue/active/oper.bmp and /dev/null differ diff --git a/skins/_old/Fever/Fever1 blue/blue.png b/skins/_old/Fever/Fever1 blue/blue.png deleted file mode 100644 index 8a4e73cfc6..0000000000 Binary files a/skins/_old/Fever/Fever1 blue/blue.png and /dev/null differ diff --git a/skins/_old/Fever/Fever1 blue/fever_blue.dtp b/skins/_old/Fever/Fever1 blue/fever_blue.dtp deleted file mode 100644 index b7eb884785..0000000000 Binary files a/skins/_old/Fever/Fever1 blue/fever_blue.dtp and /dev/null differ diff --git a/skins/_old/Fever/Fever1 blue/inactive/base.bmp b/skins/_old/Fever/Fever1 blue/inactive/base.bmp deleted file mode 100644 index 2d795d9737..0000000000 Binary files a/skins/_old/Fever/Fever1 blue/inactive/base.bmp and /dev/null differ diff --git a/skins/_old/Fever/Fever1 blue/inactive/left.bmp b/skins/_old/Fever/Fever1 blue/inactive/left.bmp deleted file mode 100644 index d3bc8ab779..0000000000 Binary files a/skins/_old/Fever/Fever1 blue/inactive/left.bmp and /dev/null differ diff --git a/skins/_old/Fever/Fever1 blue/inactive/oper.bmp b/skins/_old/Fever/Fever1 blue/inactive/oper.bmp deleted file mode 100644 index 3dbe06d7a5..0000000000 Binary files a/skins/_old/Fever/Fever1 blue/inactive/oper.bmp and /dev/null differ diff --git a/skins/_old/Fever/Fever1 blue/skin.inc b/skins/_old/Fever/Fever1 blue/skin.inc deleted file mode 100644 index 81a6bd8f3f..0000000000 --- a/skins/_old/Fever/Fever1 blue/skin.inc +++ /dev/null @@ -1,239 +0,0 @@ -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; ;; -;; Copyright (C) KolibriOS team 2004-2017. All rights reserved. ;; -;; Distributed under terms of the GNU General Public License ;; -;; ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; - -;============================================================================ -; This file should be used to generate skins of new standard -;============================================================================ -; skin file structure: -;---------------------------------------------------------------------------- -; header: -; dd 'SKIN' -; dd = version (1 for now) -; dd @ params -; dd @ buttons -; dd @ bitmaps -; ... -;---------------------------------------------------------------------------- -; NOTE: order of sections listed below is insignificant -; since they're identified by pointer in above header -;---------------------------------------------------------------------------- -; ... -; params: -; dd = skin height -; dw = right margin -; dw = left margin -; dw = bottom margin -; dw = top margin -; dd = inner line color -; dd = outer line color -; dd = frame color -; dd = dtp file size -; ?? = dtp file itself -; ... -;---------------------------------------------------------------------------- -; ... -; buttons: -; dd = button type (1 = close, 2 = minimize) -; dw = left button coord (could be negative) -; dw = top button coord (could be negative) -; dw = button width -; dw = button height -; ... etc for all buttons -; dd = 0 (end of buttons list) -; ... -;---------------------------------------------------------------------------- -; ... -; bitmaps: -; dw = bitmap kind (1 = left, 2 = oper, 3 = base) -; dw = bitmap type (1 = active, 0 = inactive) -; dd @ bitmap -; ... etc for all bitmaps -; dd 0 (end of bitmaps list) -; ... -;---------------------------------------------------------------------------- -; ... -; bitmap: -; dd = bitmap width -; dd = bitmap height -; ?? = raw bitmap data -; ... etc for all bitmaps -; ... -;============================================================================ - -dd 'SKIN',1,__params__,__buttons__,__bitmaps__ - -struc BITMAPFILEHEADER { - .bfType dw ? ; WORD - .bfSize dd ? ; DWORD - .bfReserved1 dw ? ; WORD - .bfReserved2 dw ? ; WORD - .bfOffBits dd ? ; DWORD -} - -struc BITMAPINFOHEADER { - .biSize dd ? ; DWORD - .biWidth dd ? ; LONG - .biHeight dd ? ; LONG - .biPlanes dw ? ; WORD - .biBitCount dw ? ; WORD - .biCompression dd ? ; DWORD - .biSizeImage dd ? ; DWORD - .biXPelsPerMeter dd ? ; LONG - .biYPelsPerMeter dd ? ; LONG - .biClrUsed dd ? ; DWORD - .biClrImportant dd ? ; DWORD -} - -struc _bmp { - .h BITMAPFILEHEADER - .i BITMAPINFOHEADER -} -virtual at 0 - _bmp _bmp -end virtual - -macro BITMAP _name*,_fname* -{ - local w,h,a,r,g,b - virtual at 0 - _file equ _#_name - _file:: - file _fname - end virtual - load w dword from _file:_bmp.i.biWidth - load h dword from _file:_bmp.i.biHeight - load hsize dword from _file:_bmp.h.bfOffBits - align 4 - label _name - .width = w - .height = h - dd w,h - a=hsize+(w*3+(w mod 4))*(h-1) - size = $ - repeat h - repeat w - load r from _file:a+0 - load g from _file:a+1 - load b from _file:a+2 - db r,g,b - a=a+3 - end repeat - a=a-w*3*2-(w mod 4) - end repeat -} - -macro define_colors name,[col,val] -{ - common - local a,b,c - forward - match =binner,col \{ a = val \} - match =bouter,col \{ b = val \} - match =bframe,col \{ c = val \} - common - name equ a,b,c -} - -macro SKIN_PARAMS [a] -{ - common - local _height,_margins,_colors,_colors_1,_dtp - __params__: - forward - match qq == ww,a - \{ - match =height,qq \\{ _height = ww \\} - match =margins,qq \\{ - match [q1:q2:q3:q4],ww - \\\{ - _margins equ q3,q1,q4,q2 - \\\} - \\} - match =colors =active,qq - \\{ - match [q10==q11:q20==q21:q30==q31],ww - \\\{ - define_colors _colors,q10,q11,q20,q21,q30,q31 - \\\} - \\} - match =colors =inactive,qq - \\{ - match [q10==q11:q20==q21:q30==q31],ww - \\\{ - define_colors _colors_1,q10,q11,q20,q21,q30,q31 - \\\} - \\} - match =dtp,qq \\{ _dtp equ ww \\} - \} - common - dd _height - dw _margins - dd _colors,_colors_1 - dd @f - $ - 4 - file _dtp - @@: -} - -macro SKIN_BUTTONS [a] -{ - common - local btn - __buttons__: - forward - match qq == ww,a - \{ - btn = 0 - match =close,qq \\{ btn = 1 \\} - match =minimize,qq \\{ btn = 2 \\} - match [q1:q2][q3:q4],ww - \\{ - if btn <> 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 -} diff --git a/skins/_old/Fever/Fever1 green/Fever_green.asm b/skins/_old/Fever/Fever1 green/Fever_green.asm deleted file mode 100644 index c146ec897e..0000000000 --- a/skins/_old/Fever/Fever1 green/Fever_green.asm +++ /dev/null @@ -1,35 +0,0 @@ -include 'skin.inc' - -SKIN_PARAMS \ - height = bmp_base.height,\ ; skin height - margins = [5:1:43:1],\ ; margins [left:top:right:bottom] - colors active = [binner=0x005E00:\ ; border inner color - bouter=0x005E00:\ ; border outer color - bframe=0x008900],\ ; border frame color - colors inactive = [binner=0x005E00:\ ; border inner color - bouter=0x005E00:\ ; border outer color - bframe=0x508950],\ ; border frame color - dtp = 'fever_green.dtp' ; dtp colors - -SKIN_BUTTONS \ - close = [-25:3][18:18],\ ; buttons coordinates - minimize = [-45:3][18:18] ; [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 ,'active/left.bmp' ; skin bitmaps -BITMAP bmp_oper ,'active/oper.bmp' -BITMAP bmp_base ,'active/base.bmp' -BITMAP bmp_left1,'inactive/left.bmp' -BITMAP bmp_oper1,'inactive/oper.bmp' -BITMAP bmp_base1,'inactive/base.bmp' - -;================================; -; Created by Rock_maniak_forever ; -;================================; diff --git a/skins/_old/Fever/Fever1 green/Tupfile.lua b/skins/_old/Fever/Fever1 green/Tupfile.lua deleted file mode 100644 index 131d282d25..0000000000 --- a/skins/_old/Fever/Fever1 green/Tupfile.lua +++ /dev/null @@ -1,2 +0,0 @@ -if tup.getconfig("NO_FASM") ~= "" then return end -tup.rule("Fever_green.asm", 'fasm "%f" "%o" ' .. tup.getconfig("KPACK_CMD"), "Fever1 green.skn") diff --git a/skins/_old/Fever/Fever1 green/active/base.bmp b/skins/_old/Fever/Fever1 green/active/base.bmp deleted file mode 100644 index 4140861c78..0000000000 Binary files a/skins/_old/Fever/Fever1 green/active/base.bmp and /dev/null differ diff --git a/skins/_old/Fever/Fever1 green/active/left.bmp b/skins/_old/Fever/Fever1 green/active/left.bmp deleted file mode 100644 index 1d0ff57a1e..0000000000 Binary files a/skins/_old/Fever/Fever1 green/active/left.bmp and /dev/null differ diff --git a/skins/_old/Fever/Fever1 green/active/oper.bmp b/skins/_old/Fever/Fever1 green/active/oper.bmp deleted file mode 100644 index 409b5e620c..0000000000 Binary files a/skins/_old/Fever/Fever1 green/active/oper.bmp and /dev/null differ diff --git a/skins/_old/Fever/Fever1 green/fever_green.dtp b/skins/_old/Fever/Fever1 green/fever_green.dtp deleted file mode 100644 index 9fff246f96..0000000000 Binary files a/skins/_old/Fever/Fever1 green/fever_green.dtp and /dev/null differ diff --git a/skins/_old/Fever/Fever1 green/green.png b/skins/_old/Fever/Fever1 green/green.png deleted file mode 100644 index d2c94460eb..0000000000 Binary files a/skins/_old/Fever/Fever1 green/green.png and /dev/null differ diff --git a/skins/_old/Fever/Fever1 green/inactive/base.bmp b/skins/_old/Fever/Fever1 green/inactive/base.bmp deleted file mode 100644 index edcf193ba2..0000000000 Binary files a/skins/_old/Fever/Fever1 green/inactive/base.bmp and /dev/null differ diff --git a/skins/_old/Fever/Fever1 green/inactive/left.bmp b/skins/_old/Fever/Fever1 green/inactive/left.bmp deleted file mode 100644 index edf818cb3f..0000000000 Binary files a/skins/_old/Fever/Fever1 green/inactive/left.bmp and /dev/null differ diff --git a/skins/_old/Fever/Fever1 green/inactive/oper.bmp b/skins/_old/Fever/Fever1 green/inactive/oper.bmp deleted file mode 100644 index 7a702f2140..0000000000 Binary files a/skins/_old/Fever/Fever1 green/inactive/oper.bmp and /dev/null differ diff --git a/skins/_old/Fever/Fever1 green/skin.inc b/skins/_old/Fever/Fever1 green/skin.inc deleted file mode 100644 index 81a6bd8f3f..0000000000 --- a/skins/_old/Fever/Fever1 green/skin.inc +++ /dev/null @@ -1,239 +0,0 @@ -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; ;; -;; Copyright (C) KolibriOS team 2004-2017. All rights reserved. ;; -;; Distributed under terms of the GNU General Public License ;; -;; ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; - -;============================================================================ -; This file should be used to generate skins of new standard -;============================================================================ -; skin file structure: -;---------------------------------------------------------------------------- -; header: -; dd 'SKIN' -; dd = version (1 for now) -; dd @ params -; dd @ buttons -; dd @ bitmaps -; ... -;---------------------------------------------------------------------------- -; NOTE: order of sections listed below is insignificant -; since they're identified by pointer in above header -;---------------------------------------------------------------------------- -; ... -; params: -; dd = skin height -; dw = right margin -; dw = left margin -; dw = bottom margin -; dw = top margin -; dd = inner line color -; dd = outer line color -; dd = frame color -; dd = dtp file size -; ?? = dtp file itself -; ... -;---------------------------------------------------------------------------- -; ... -; buttons: -; dd = button type (1 = close, 2 = minimize) -; dw = left button coord (could be negative) -; dw = top button coord (could be negative) -; dw = button width -; dw = button height -; ... etc for all buttons -; dd = 0 (end of buttons list) -; ... -;---------------------------------------------------------------------------- -; ... -; bitmaps: -; dw = bitmap kind (1 = left, 2 = oper, 3 = base) -; dw = bitmap type (1 = active, 0 = inactive) -; dd @ bitmap -; ... etc for all bitmaps -; dd 0 (end of bitmaps list) -; ... -;---------------------------------------------------------------------------- -; ... -; bitmap: -; dd = bitmap width -; dd = bitmap height -; ?? = raw bitmap data -; ... etc for all bitmaps -; ... -;============================================================================ - -dd 'SKIN',1,__params__,__buttons__,__bitmaps__ - -struc BITMAPFILEHEADER { - .bfType dw ? ; WORD - .bfSize dd ? ; DWORD - .bfReserved1 dw ? ; WORD - .bfReserved2 dw ? ; WORD - .bfOffBits dd ? ; DWORD -} - -struc BITMAPINFOHEADER { - .biSize dd ? ; DWORD - .biWidth dd ? ; LONG - .biHeight dd ? ; LONG - .biPlanes dw ? ; WORD - .biBitCount dw ? ; WORD - .biCompression dd ? ; DWORD - .biSizeImage dd ? ; DWORD - .biXPelsPerMeter dd ? ; LONG - .biYPelsPerMeter dd ? ; LONG - .biClrUsed dd ? ; DWORD - .biClrImportant dd ? ; DWORD -} - -struc _bmp { - .h BITMAPFILEHEADER - .i BITMAPINFOHEADER -} -virtual at 0 - _bmp _bmp -end virtual - -macro BITMAP _name*,_fname* -{ - local w,h,a,r,g,b - virtual at 0 - _file equ _#_name - _file:: - file _fname - end virtual - load w dword from _file:_bmp.i.biWidth - load h dword from _file:_bmp.i.biHeight - load hsize dword from _file:_bmp.h.bfOffBits - align 4 - label _name - .width = w - .height = h - dd w,h - a=hsize+(w*3+(w mod 4))*(h-1) - size = $ - repeat h - repeat w - load r from _file:a+0 - load g from _file:a+1 - load b from _file:a+2 - db r,g,b - a=a+3 - end repeat - a=a-w*3*2-(w mod 4) - end repeat -} - -macro define_colors name,[col,val] -{ - common - local a,b,c - forward - match =binner,col \{ a = val \} - match =bouter,col \{ b = val \} - match =bframe,col \{ c = val \} - common - name equ a,b,c -} - -macro SKIN_PARAMS [a] -{ - common - local _height,_margins,_colors,_colors_1,_dtp - __params__: - forward - match qq == ww,a - \{ - match =height,qq \\{ _height = ww \\} - match =margins,qq \\{ - match [q1:q2:q3:q4],ww - \\\{ - _margins equ q3,q1,q4,q2 - \\\} - \\} - match =colors =active,qq - \\{ - match [q10==q11:q20==q21:q30==q31],ww - \\\{ - define_colors _colors,q10,q11,q20,q21,q30,q31 - \\\} - \\} - match =colors =inactive,qq - \\{ - match [q10==q11:q20==q21:q30==q31],ww - \\\{ - define_colors _colors_1,q10,q11,q20,q21,q30,q31 - \\\} - \\} - match =dtp,qq \\{ _dtp equ ww \\} - \} - common - dd _height - dw _margins - dd _colors,_colors_1 - dd @f - $ - 4 - file _dtp - @@: -} - -macro SKIN_BUTTONS [a] -{ - common - local btn - __buttons__: - forward - match qq == ww,a - \{ - btn = 0 - match =close,qq \\{ btn = 1 \\} - match =minimize,qq \\{ btn = 2 \\} - match [q1:q2][q3:q4],ww - \\{ - if btn <> 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 -} diff --git a/skins/_old/Fever/Fever1 red/Fever_red.asm b/skins/_old/Fever/Fever1 red/Fever_red.asm deleted file mode 100644 index b94d7a9334..0000000000 --- a/skins/_old/Fever/Fever1 red/Fever_red.asm +++ /dev/null @@ -1,36 +0,0 @@ -include 'skin.inc' - -SKIN_PARAMS \ - height = bmp_base.height,\ ; skin height - margins = [5:1:43:1],\ ; margins [left:top:right:bottom] - colors active = [binner=0x870000:\ ; border inner color - bouter=0x870000:\ ; border outer color - bframe=0xC10000],\ ; border frame color - colors inactive = [binner=0x870000:\ ; border inner color - bouter=0x870000:\ ; border outer color - bframe=0x9A5050],\ ; border frame color - dtp = 'fever_red.dtp' ; dtp colors - -SKIN_BUTTONS \ - close = [-25:3][18:18],\ ; buttons coordinates - minimize = [-45:3][18:18] ; [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 ,'active/left.bmp' ; skin bitmaps -BITMAP bmp_oper ,'active/oper.bmp' -BITMAP bmp_base ,'active/base.bmp' -BITMAP bmp_left1,'inactive/left.bmp' -BITMAP bmp_oper1,'inactive/oper.bmp' -BITMAP bmp_base1,'inactive/base.bmp' - -;================================; -; Created by Rock_maniak_forever ; -;================================; - diff --git a/skins/_old/Fever/Fever1 red/Tupfile.lua b/skins/_old/Fever/Fever1 red/Tupfile.lua deleted file mode 100644 index 43e6e66bc2..0000000000 --- a/skins/_old/Fever/Fever1 red/Tupfile.lua +++ /dev/null @@ -1,2 +0,0 @@ -if tup.getconfig("NO_FASM") ~= "" then return end -tup.rule("Fever_red.asm", 'fasm "%f" "%o" ' .. tup.getconfig("KPACK_CMD"), "Fever1 red.skn") diff --git a/skins/_old/Fever/Fever1 red/active/base.bmp b/skins/_old/Fever/Fever1 red/active/base.bmp deleted file mode 100644 index 0a885118ef..0000000000 Binary files a/skins/_old/Fever/Fever1 red/active/base.bmp and /dev/null differ diff --git a/skins/_old/Fever/Fever1 red/active/left.bmp b/skins/_old/Fever/Fever1 red/active/left.bmp deleted file mode 100644 index 3ff29572fa..0000000000 Binary files a/skins/_old/Fever/Fever1 red/active/left.bmp and /dev/null differ diff --git a/skins/_old/Fever/Fever1 red/active/oper.bmp b/skins/_old/Fever/Fever1 red/active/oper.bmp deleted file mode 100644 index 9ca624a875..0000000000 Binary files a/skins/_old/Fever/Fever1 red/active/oper.bmp and /dev/null differ diff --git a/skins/_old/Fever/Fever1 red/fever_red.dtp b/skins/_old/Fever/Fever1 red/fever_red.dtp deleted file mode 100644 index 4be947ac31..0000000000 Binary files a/skins/_old/Fever/Fever1 red/fever_red.dtp and /dev/null differ diff --git a/skins/_old/Fever/Fever1 red/inactive/base.bmp b/skins/_old/Fever/Fever1 red/inactive/base.bmp deleted file mode 100644 index 4197dc2f99..0000000000 Binary files a/skins/_old/Fever/Fever1 red/inactive/base.bmp and /dev/null differ diff --git a/skins/_old/Fever/Fever1 red/inactive/left.bmp b/skins/_old/Fever/Fever1 red/inactive/left.bmp deleted file mode 100644 index b7de5f792f..0000000000 Binary files a/skins/_old/Fever/Fever1 red/inactive/left.bmp and /dev/null differ diff --git a/skins/_old/Fever/Fever1 red/inactive/oper.bmp b/skins/_old/Fever/Fever1 red/inactive/oper.bmp deleted file mode 100644 index 75d6d3f27a..0000000000 Binary files a/skins/_old/Fever/Fever1 red/inactive/oper.bmp and /dev/null differ diff --git a/skins/_old/Fever/Fever1 red/red.png b/skins/_old/Fever/Fever1 red/red.png deleted file mode 100644 index 1bab8647d3..0000000000 Binary files a/skins/_old/Fever/Fever1 red/red.png and /dev/null differ diff --git a/skins/_old/Fever/Fever1 red/skin.inc b/skins/_old/Fever/Fever1 red/skin.inc deleted file mode 100644 index 81a6bd8f3f..0000000000 --- a/skins/_old/Fever/Fever1 red/skin.inc +++ /dev/null @@ -1,239 +0,0 @@ -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; ;; -;; Copyright (C) KolibriOS team 2004-2017. All rights reserved. ;; -;; Distributed under terms of the GNU General Public License ;; -;; ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; - -;============================================================================ -; This file should be used to generate skins of new standard -;============================================================================ -; skin file structure: -;---------------------------------------------------------------------------- -; header: -; dd 'SKIN' -; dd = version (1 for now) -; dd @ params -; dd @ buttons -; dd @ bitmaps -; ... -;---------------------------------------------------------------------------- -; NOTE: order of sections listed below is insignificant -; since they're identified by pointer in above header -;---------------------------------------------------------------------------- -; ... -; params: -; dd = skin height -; dw = right margin -; dw = left margin -; dw = bottom margin -; dw = top margin -; dd = inner line color -; dd = outer line color -; dd = frame color -; dd = dtp file size -; ?? = dtp file itself -; ... -;---------------------------------------------------------------------------- -; ... -; buttons: -; dd = button type (1 = close, 2 = minimize) -; dw = left button coord (could be negative) -; dw = top button coord (could be negative) -; dw = button width -; dw = button height -; ... etc for all buttons -; dd = 0 (end of buttons list) -; ... -;---------------------------------------------------------------------------- -; ... -; bitmaps: -; dw = bitmap kind (1 = left, 2 = oper, 3 = base) -; dw = bitmap type (1 = active, 0 = inactive) -; dd @ bitmap -; ... etc for all bitmaps -; dd 0 (end of bitmaps list) -; ... -;---------------------------------------------------------------------------- -; ... -; bitmap: -; dd = bitmap width -; dd = bitmap height -; ?? = raw bitmap data -; ... etc for all bitmaps -; ... -;============================================================================ - -dd 'SKIN',1,__params__,__buttons__,__bitmaps__ - -struc BITMAPFILEHEADER { - .bfType dw ? ; WORD - .bfSize dd ? ; DWORD - .bfReserved1 dw ? ; WORD - .bfReserved2 dw ? ; WORD - .bfOffBits dd ? ; DWORD -} - -struc BITMAPINFOHEADER { - .biSize dd ? ; DWORD - .biWidth dd ? ; LONG - .biHeight dd ? ; LONG - .biPlanes dw ? ; WORD - .biBitCount dw ? ; WORD - .biCompression dd ? ; DWORD - .biSizeImage dd ? ; DWORD - .biXPelsPerMeter dd ? ; LONG - .biYPelsPerMeter dd ? ; LONG - .biClrUsed dd ? ; DWORD - .biClrImportant dd ? ; DWORD -} - -struc _bmp { - .h BITMAPFILEHEADER - .i BITMAPINFOHEADER -} -virtual at 0 - _bmp _bmp -end virtual - -macro BITMAP _name*,_fname* -{ - local w,h,a,r,g,b - virtual at 0 - _file equ _#_name - _file:: - file _fname - end virtual - load w dword from _file:_bmp.i.biWidth - load h dword from _file:_bmp.i.biHeight - load hsize dword from _file:_bmp.h.bfOffBits - align 4 - label _name - .width = w - .height = h - dd w,h - a=hsize+(w*3+(w mod 4))*(h-1) - size = $ - repeat h - repeat w - load r from _file:a+0 - load g from _file:a+1 - load b from _file:a+2 - db r,g,b - a=a+3 - end repeat - a=a-w*3*2-(w mod 4) - end repeat -} - -macro define_colors name,[col,val] -{ - common - local a,b,c - forward - match =binner,col \{ a = val \} - match =bouter,col \{ b = val \} - match =bframe,col \{ c = val \} - common - name equ a,b,c -} - -macro SKIN_PARAMS [a] -{ - common - local _height,_margins,_colors,_colors_1,_dtp - __params__: - forward - match qq == ww,a - \{ - match =height,qq \\{ _height = ww \\} - match =margins,qq \\{ - match [q1:q2:q3:q4],ww - \\\{ - _margins equ q3,q1,q4,q2 - \\\} - \\} - match =colors =active,qq - \\{ - match [q10==q11:q20==q21:q30==q31],ww - \\\{ - define_colors _colors,q10,q11,q20,q21,q30,q31 - \\\} - \\} - match =colors =inactive,qq - \\{ - match [q10==q11:q20==q21:q30==q31],ww - \\\{ - define_colors _colors_1,q10,q11,q20,q21,q30,q31 - \\\} - \\} - match =dtp,qq \\{ _dtp equ ww \\} - \} - common - dd _height - dw _margins - dd _colors,_colors_1 - dd @f - $ - 4 - file _dtp - @@: -} - -macro SKIN_BUTTONS [a] -{ - common - local btn - __buttons__: - forward - match qq == ww,a - \{ - btn = 0 - match =close,qq \\{ btn = 1 \\} - match =minimize,qq \\{ btn = 2 \\} - match [q1:q2][q3:q4],ww - \\{ - if btn <> 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 -} diff --git a/skins/_old/Fever/screen.png b/skins/_old/Fever/screen.png deleted file mode 100644 index d2e42381bd..0000000000 Binary files a/skins/_old/Fever/screen.png and /dev/null differ diff --git a/skins/_old/MetalGearArrows/1.MetalGearArrows/1.MetalGearArrows.DTP b/skins/_old/MetalGearArrows/1.MetalGearArrows.DTP similarity index 100% rename from skins/_old/MetalGearArrows/1.MetalGearArrows/1.MetalGearArrows.DTP rename to skins/_old/MetalGearArrows/1.MetalGearArrows.DTP diff --git a/skins/_old/MetalGearArrows/1.MetalGearArrows/1.MetalGearArrows.asm b/skins/_old/MetalGearArrows/1.MetalGearArrows.asm similarity index 100% rename from skins/_old/MetalGearArrows/1.MetalGearArrows/1.MetalGearArrows.asm rename to skins/_old/MetalGearArrows/1.MetalGearArrows.asm diff --git a/skins/_old/MetalGearArrows/1.MetalGearArrows/skin.inc b/skins/_old/MetalGearArrows/1.MetalGearArrows/skin.inc deleted file mode 100644 index 81a6bd8f3f..0000000000 --- a/skins/_old/MetalGearArrows/1.MetalGearArrows/skin.inc +++ /dev/null @@ -1,239 +0,0 @@ -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; ;; -;; Copyright (C) KolibriOS team 2004-2017. All rights reserved. ;; -;; Distributed under terms of the GNU General Public License ;; -;; ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; - -;============================================================================ -; This file should be used to generate skins of new standard -;============================================================================ -; skin file structure: -;---------------------------------------------------------------------------- -; header: -; dd 'SKIN' -; dd = version (1 for now) -; dd @ params -; dd @ buttons -; dd @ bitmaps -; ... -;---------------------------------------------------------------------------- -; NOTE: order of sections listed below is insignificant -; since they're identified by pointer in above header -;---------------------------------------------------------------------------- -; ... -; params: -; dd = skin height -; dw = right margin -; dw = left margin -; dw = bottom margin -; dw = top margin -; dd = inner line color -; dd = outer line color -; dd = frame color -; dd = dtp file size -; ?? = dtp file itself -; ... -;---------------------------------------------------------------------------- -; ... -; buttons: -; dd = button type (1 = close, 2 = minimize) -; dw = left button coord (could be negative) -; dw = top button coord (could be negative) -; dw = button width -; dw = button height -; ... etc for all buttons -; dd = 0 (end of buttons list) -; ... -;---------------------------------------------------------------------------- -; ... -; bitmaps: -; dw = bitmap kind (1 = left, 2 = oper, 3 = base) -; dw = bitmap type (1 = active, 0 = inactive) -; dd @ bitmap -; ... etc for all bitmaps -; dd 0 (end of bitmaps list) -; ... -;---------------------------------------------------------------------------- -; ... -; bitmap: -; dd = bitmap width -; dd = bitmap height -; ?? = raw bitmap data -; ... etc for all bitmaps -; ... -;============================================================================ - -dd 'SKIN',1,__params__,__buttons__,__bitmaps__ - -struc BITMAPFILEHEADER { - .bfType dw ? ; WORD - .bfSize dd ? ; DWORD - .bfReserved1 dw ? ; WORD - .bfReserved2 dw ? ; WORD - .bfOffBits dd ? ; DWORD -} - -struc BITMAPINFOHEADER { - .biSize dd ? ; DWORD - .biWidth dd ? ; LONG - .biHeight dd ? ; LONG - .biPlanes dw ? ; WORD - .biBitCount dw ? ; WORD - .biCompression dd ? ; DWORD - .biSizeImage dd ? ; DWORD - .biXPelsPerMeter dd ? ; LONG - .biYPelsPerMeter dd ? ; LONG - .biClrUsed dd ? ; DWORD - .biClrImportant dd ? ; DWORD -} - -struc _bmp { - .h BITMAPFILEHEADER - .i BITMAPINFOHEADER -} -virtual at 0 - _bmp _bmp -end virtual - -macro BITMAP _name*,_fname* -{ - local w,h,a,r,g,b - virtual at 0 - _file equ _#_name - _file:: - file _fname - end virtual - load w dword from _file:_bmp.i.biWidth - load h dword from _file:_bmp.i.biHeight - load hsize dword from _file:_bmp.h.bfOffBits - align 4 - label _name - .width = w - .height = h - dd w,h - a=hsize+(w*3+(w mod 4))*(h-1) - size = $ - repeat h - repeat w - load r from _file:a+0 - load g from _file:a+1 - load b from _file:a+2 - db r,g,b - a=a+3 - end repeat - a=a-w*3*2-(w mod 4) - end repeat -} - -macro define_colors name,[col,val] -{ - common - local a,b,c - forward - match =binner,col \{ a = val \} - match =bouter,col \{ b = val \} - match =bframe,col \{ c = val \} - common - name equ a,b,c -} - -macro SKIN_PARAMS [a] -{ - common - local _height,_margins,_colors,_colors_1,_dtp - __params__: - forward - match qq == ww,a - \{ - match =height,qq \\{ _height = ww \\} - match =margins,qq \\{ - match [q1:q2:q3:q4],ww - \\\{ - _margins equ q3,q1,q4,q2 - \\\} - \\} - match =colors =active,qq - \\{ - match [q10==q11:q20==q21:q30==q31],ww - \\\{ - define_colors _colors,q10,q11,q20,q21,q30,q31 - \\\} - \\} - match =colors =inactive,qq - \\{ - match [q10==q11:q20==q21:q30==q31],ww - \\\{ - define_colors _colors_1,q10,q11,q20,q21,q30,q31 - \\\} - \\} - match =dtp,qq \\{ _dtp equ ww \\} - \} - common - dd _height - dw _margins - dd _colors,_colors_1 - dd @f - $ - 4 - file _dtp - @@: -} - -macro SKIN_BUTTONS [a] -{ - common - local btn - __buttons__: - forward - match qq == ww,a - \{ - btn = 0 - match =close,qq \\{ btn = 1 \\} - match =minimize,qq \\{ btn = 2 \\} - match [q1:q2][q3:q4],ww - \\{ - if btn <> 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 -} diff --git a/skins/_old/MetalGearArrows/2.MetalGearArrows/2.MetalGearArrows.DTP b/skins/_old/MetalGearArrows/2.MetalGearArrows/2.MetalGearArrows.DTP deleted file mode 100644 index 74b285012c..0000000000 Binary files a/skins/_old/MetalGearArrows/2.MetalGearArrows/2.MetalGearArrows.DTP and /dev/null differ diff --git a/skins/_old/MetalGearArrows/2.MetalGearArrows/2.MetalGearArrows.asm b/skins/_old/MetalGearArrows/2.MetalGearArrows/2.MetalGearArrows.asm deleted file mode 100644 index f06fd9d2a6..0000000000 --- a/skins/_old/MetalGearArrows/2.MetalGearArrows/2.MetalGearArrows.asm +++ /dev/null @@ -1,35 +0,0 @@ -include 'skin.inc' - -SKIN_PARAMS \ - height = bmp_base.height,\ ; skin height - margins = [6:1:43:1],\ ; margins [left:top:right:bottom] - colors active = [binner=0x696969:\ ; border inner color - bouter=0x696969:\ ; border outer color - bframe=0x808080],\ ; border frame color - colors inactive = [binner=0x707070:\ ; border inner color - bouter=0x707070:\ ; border outer color - bframe=0x808080],\ ; border frame color - dtp = '2.MetalGearArrows.DTP' ; dtp colors - -SKIN_BUTTONS \ - close = [-25:5][16:16],\ ; buttons coordinates - minimize = [-47:5][16:16] ; [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 ,'active/left.bmp' ; skin bitmaps -BITMAP bmp_oper ,'active/oper.bmp' -BITMAP bmp_base ,'active/base.bmp' -BITMAP bmp_left1,'inactive/left.bmp' -BITMAP bmp_oper1,'inactive/oper.bmp' -BITMAP bmp_base1,'inactive/base.bmp' - -;================================; -; Created by Rock_maniak_forever ; -;================================; diff --git a/skins/_old/MetalGearArrows/2.MetalGearArrows/2.MetalGearArrows.png b/skins/_old/MetalGearArrows/2.MetalGearArrows/2.MetalGearArrows.png deleted file mode 100644 index 09f8850835..0000000000 Binary files a/skins/_old/MetalGearArrows/2.MetalGearArrows/2.MetalGearArrows.png and /dev/null differ diff --git a/skins/_old/MetalGearArrows/2.MetalGearArrows/Tupfile.lua b/skins/_old/MetalGearArrows/2.MetalGearArrows/Tupfile.lua deleted file mode 100644 index 8a23ea5989..0000000000 --- a/skins/_old/MetalGearArrows/2.MetalGearArrows/Tupfile.lua +++ /dev/null @@ -1,2 +0,0 @@ -if tup.getconfig("NO_FASM") ~= "" then return end -tup.rule("2.MetalGearArrows.asm", 'fasm "%f" "%o" ' .. tup.getconfig("KPACK_CMD"), "2.MetalGearArrows.skn") diff --git a/skins/_old/MetalGearArrows/2.MetalGearArrows/active/base.bmp b/skins/_old/MetalGearArrows/2.MetalGearArrows/active/base.bmp deleted file mode 100644 index abc3428898..0000000000 Binary files a/skins/_old/MetalGearArrows/2.MetalGearArrows/active/base.bmp and /dev/null differ diff --git a/skins/_old/MetalGearArrows/2.MetalGearArrows/active/left.bmp b/skins/_old/MetalGearArrows/2.MetalGearArrows/active/left.bmp deleted file mode 100644 index 6c83a8170d..0000000000 Binary files a/skins/_old/MetalGearArrows/2.MetalGearArrows/active/left.bmp and /dev/null differ diff --git a/skins/_old/MetalGearArrows/2.MetalGearArrows/active/oper.bmp b/skins/_old/MetalGearArrows/2.MetalGearArrows/active/oper.bmp deleted file mode 100644 index d231b3d4a5..0000000000 Binary files a/skins/_old/MetalGearArrows/2.MetalGearArrows/active/oper.bmp and /dev/null differ diff --git a/skins/_old/MetalGearArrows/2.MetalGearArrows/inactive/base.bmp b/skins/_old/MetalGearArrows/2.MetalGearArrows/inactive/base.bmp deleted file mode 100644 index b797446d3e..0000000000 Binary files a/skins/_old/MetalGearArrows/2.MetalGearArrows/inactive/base.bmp and /dev/null differ diff --git a/skins/_old/MetalGearArrows/2.MetalGearArrows/inactive/left.bmp b/skins/_old/MetalGearArrows/2.MetalGearArrows/inactive/left.bmp deleted file mode 100644 index d620a5213f..0000000000 Binary files a/skins/_old/MetalGearArrows/2.MetalGearArrows/inactive/left.bmp and /dev/null differ diff --git a/skins/_old/MetalGearArrows/2.MetalGearArrows/inactive/oper.bmp b/skins/_old/MetalGearArrows/2.MetalGearArrows/inactive/oper.bmp deleted file mode 100644 index 3f014a1945..0000000000 Binary files a/skins/_old/MetalGearArrows/2.MetalGearArrows/inactive/oper.bmp and /dev/null differ diff --git a/skins/_old/MetalGearArrows/2.MetalGearArrows/skin.inc b/skins/_old/MetalGearArrows/2.MetalGearArrows/skin.inc deleted file mode 100644 index 81a6bd8f3f..0000000000 --- a/skins/_old/MetalGearArrows/2.MetalGearArrows/skin.inc +++ /dev/null @@ -1,239 +0,0 @@ -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; ;; -;; Copyright (C) KolibriOS team 2004-2017. All rights reserved. ;; -;; Distributed under terms of the GNU General Public License ;; -;; ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; - -;============================================================================ -; This file should be used to generate skins of new standard -;============================================================================ -; skin file structure: -;---------------------------------------------------------------------------- -; header: -; dd 'SKIN' -; dd = version (1 for now) -; dd @ params -; dd @ buttons -; dd @ bitmaps -; ... -;---------------------------------------------------------------------------- -; NOTE: order of sections listed below is insignificant -; since they're identified by pointer in above header -;---------------------------------------------------------------------------- -; ... -; params: -; dd = skin height -; dw = right margin -; dw = left margin -; dw = bottom margin -; dw = top margin -; dd = inner line color -; dd = outer line color -; dd = frame color -; dd = dtp file size -; ?? = dtp file itself -; ... -;---------------------------------------------------------------------------- -; ... -; buttons: -; dd = button type (1 = close, 2 = minimize) -; dw = left button coord (could be negative) -; dw = top button coord (could be negative) -; dw = button width -; dw = button height -; ... etc for all buttons -; dd = 0 (end of buttons list) -; ... -;---------------------------------------------------------------------------- -; ... -; bitmaps: -; dw = bitmap kind (1 = left, 2 = oper, 3 = base) -; dw = bitmap type (1 = active, 0 = inactive) -; dd @ bitmap -; ... etc for all bitmaps -; dd 0 (end of bitmaps list) -; ... -;---------------------------------------------------------------------------- -; ... -; bitmap: -; dd = bitmap width -; dd = bitmap height -; ?? = raw bitmap data -; ... etc for all bitmaps -; ... -;============================================================================ - -dd 'SKIN',1,__params__,__buttons__,__bitmaps__ - -struc BITMAPFILEHEADER { - .bfType dw ? ; WORD - .bfSize dd ? ; DWORD - .bfReserved1 dw ? ; WORD - .bfReserved2 dw ? ; WORD - .bfOffBits dd ? ; DWORD -} - -struc BITMAPINFOHEADER { - .biSize dd ? ; DWORD - .biWidth dd ? ; LONG - .biHeight dd ? ; LONG - .biPlanes dw ? ; WORD - .biBitCount dw ? ; WORD - .biCompression dd ? ; DWORD - .biSizeImage dd ? ; DWORD - .biXPelsPerMeter dd ? ; LONG - .biYPelsPerMeter dd ? ; LONG - .biClrUsed dd ? ; DWORD - .biClrImportant dd ? ; DWORD -} - -struc _bmp { - .h BITMAPFILEHEADER - .i BITMAPINFOHEADER -} -virtual at 0 - _bmp _bmp -end virtual - -macro BITMAP _name*,_fname* -{ - local w,h,a,r,g,b - virtual at 0 - _file equ _#_name - _file:: - file _fname - end virtual - load w dword from _file:_bmp.i.biWidth - load h dword from _file:_bmp.i.biHeight - load hsize dword from _file:_bmp.h.bfOffBits - align 4 - label _name - .width = w - .height = h - dd w,h - a=hsize+(w*3+(w mod 4))*(h-1) - size = $ - repeat h - repeat w - load r from _file:a+0 - load g from _file:a+1 - load b from _file:a+2 - db r,g,b - a=a+3 - end repeat - a=a-w*3*2-(w mod 4) - end repeat -} - -macro define_colors name,[col,val] -{ - common - local a,b,c - forward - match =binner,col \{ a = val \} - match =bouter,col \{ b = val \} - match =bframe,col \{ c = val \} - common - name equ a,b,c -} - -macro SKIN_PARAMS [a] -{ - common - local _height,_margins,_colors,_colors_1,_dtp - __params__: - forward - match qq == ww,a - \{ - match =height,qq \\{ _height = ww \\} - match =margins,qq \\{ - match [q1:q2:q3:q4],ww - \\\{ - _margins equ q3,q1,q4,q2 - \\\} - \\} - match =colors =active,qq - \\{ - match [q10==q11:q20==q21:q30==q31],ww - \\\{ - define_colors _colors,q10,q11,q20,q21,q30,q31 - \\\} - \\} - match =colors =inactive,qq - \\{ - match [q10==q11:q20==q21:q30==q31],ww - \\\{ - define_colors _colors_1,q10,q11,q20,q21,q30,q31 - \\\} - \\} - match =dtp,qq \\{ _dtp equ ww \\} - \} - common - dd _height - dw _margins - dd _colors,_colors_1 - dd @f - $ - 4 - file _dtp - @@: -} - -macro SKIN_BUTTONS [a] -{ - common - local btn - __buttons__: - forward - match qq == ww,a - \{ - btn = 0 - match =close,qq \\{ btn = 1 \\} - match =minimize,qq \\{ btn = 2 \\} - match [q1:q2][q3:q4],ww - \\{ - if btn <> 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 -} diff --git a/skins/_old/MetalGearArrows/3.MetalGearArrows/3.MetalGearArrows.DTP b/skins/_old/MetalGearArrows/3.MetalGearArrows/3.MetalGearArrows.DTP deleted file mode 100644 index 74b285012c..0000000000 Binary files a/skins/_old/MetalGearArrows/3.MetalGearArrows/3.MetalGearArrows.DTP and /dev/null differ diff --git a/skins/_old/MetalGearArrows/3.MetalGearArrows/3.MetalGearArrows.asm b/skins/_old/MetalGearArrows/3.MetalGearArrows/3.MetalGearArrows.asm deleted file mode 100644 index 419206cf4f..0000000000 --- a/skins/_old/MetalGearArrows/3.MetalGearArrows/3.MetalGearArrows.asm +++ /dev/null @@ -1,35 +0,0 @@ -include 'skin.inc' - -SKIN_PARAMS \ - height = bmp_base.height,\ ; skin height - margins = [6:1:43:1],\ ; margins [left:top:right:bottom] - colors active = [binner=0x696969:\ ; border inner color - bouter=0x696969:\ ; border outer color - bframe=0x808080],\ ; border frame color - colors inactive = [binner=0x707070:\ ; border inner color - bouter=0x707070:\ ; border outer color - bframe=0x808080],\ ; border frame color - dtp = '3.MetalGearArrows.DTP' ; dtp colors - -SKIN_BUTTONS \ - close = [-25:5][16:16],\ ; buttons coordinates - minimize = [-47:5][16:16] ; [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 ,'active/left.bmp' ; skin bitmaps -BITMAP bmp_oper ,'active/oper.bmp' -BITMAP bmp_base ,'active/base.bmp' -BITMAP bmp_left1,'inactive/left.bmp' -BITMAP bmp_oper1,'inactive/oper.bmp' -BITMAP bmp_base1,'inactive/base.bmp' - -;================================; -; Created by Rock_maniak_forever ; -;================================; diff --git a/skins/_old/MetalGearArrows/3.MetalGearArrows/3.MetalGearArrows.png b/skins/_old/MetalGearArrows/3.MetalGearArrows/3.MetalGearArrows.png deleted file mode 100644 index b6012d5a24..0000000000 Binary files a/skins/_old/MetalGearArrows/3.MetalGearArrows/3.MetalGearArrows.png and /dev/null differ diff --git a/skins/_old/MetalGearArrows/3.MetalGearArrows/Tupfile.lua b/skins/_old/MetalGearArrows/3.MetalGearArrows/Tupfile.lua deleted file mode 100644 index 94d2c44587..0000000000 --- a/skins/_old/MetalGearArrows/3.MetalGearArrows/Tupfile.lua +++ /dev/null @@ -1,2 +0,0 @@ -if tup.getconfig("NO_FASM") ~= "" then return end -tup.rule("3.MetalGearArrows.asm", 'fasm "%f" "%o" ' .. tup.getconfig("KPACK_CMD"), "3.MetalGearArrows.skn") diff --git a/skins/_old/MetalGearArrows/3.MetalGearArrows/active/base.bmp b/skins/_old/MetalGearArrows/3.MetalGearArrows/active/base.bmp deleted file mode 100644 index abc3428898..0000000000 Binary files a/skins/_old/MetalGearArrows/3.MetalGearArrows/active/base.bmp and /dev/null differ diff --git a/skins/_old/MetalGearArrows/3.MetalGearArrows/active/left.bmp b/skins/_old/MetalGearArrows/3.MetalGearArrows/active/left.bmp deleted file mode 100644 index 6c83a8170d..0000000000 Binary files a/skins/_old/MetalGearArrows/3.MetalGearArrows/active/left.bmp and /dev/null differ diff --git a/skins/_old/MetalGearArrows/3.MetalGearArrows/active/oper.bmp b/skins/_old/MetalGearArrows/3.MetalGearArrows/active/oper.bmp deleted file mode 100644 index f0e972184f..0000000000 Binary files a/skins/_old/MetalGearArrows/3.MetalGearArrows/active/oper.bmp and /dev/null differ diff --git a/skins/_old/MetalGearArrows/3.MetalGearArrows/inactive/base.bmp b/skins/_old/MetalGearArrows/3.MetalGearArrows/inactive/base.bmp deleted file mode 100644 index b797446d3e..0000000000 Binary files a/skins/_old/MetalGearArrows/3.MetalGearArrows/inactive/base.bmp and /dev/null differ diff --git a/skins/_old/MetalGearArrows/3.MetalGearArrows/inactive/left.bmp b/skins/_old/MetalGearArrows/3.MetalGearArrows/inactive/left.bmp deleted file mode 100644 index d620a5213f..0000000000 Binary files a/skins/_old/MetalGearArrows/3.MetalGearArrows/inactive/left.bmp and /dev/null differ diff --git a/skins/_old/MetalGearArrows/3.MetalGearArrows/inactive/oper.bmp b/skins/_old/MetalGearArrows/3.MetalGearArrows/inactive/oper.bmp deleted file mode 100644 index 8f61e02fed..0000000000 Binary files a/skins/_old/MetalGearArrows/3.MetalGearArrows/inactive/oper.bmp and /dev/null differ diff --git a/skins/_old/MetalGearArrows/3.MetalGearArrows/skin.inc b/skins/_old/MetalGearArrows/3.MetalGearArrows/skin.inc deleted file mode 100644 index 81a6bd8f3f..0000000000 --- a/skins/_old/MetalGearArrows/3.MetalGearArrows/skin.inc +++ /dev/null @@ -1,239 +0,0 @@ -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; ;; -;; Copyright (C) KolibriOS team 2004-2017. All rights reserved. ;; -;; Distributed under terms of the GNU General Public License ;; -;; ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; - -;============================================================================ -; This file should be used to generate skins of new standard -;============================================================================ -; skin file structure: -;---------------------------------------------------------------------------- -; header: -; dd 'SKIN' -; dd = version (1 for now) -; dd @ params -; dd @ buttons -; dd @ bitmaps -; ... -;---------------------------------------------------------------------------- -; NOTE: order of sections listed below is insignificant -; since they're identified by pointer in above header -;---------------------------------------------------------------------------- -; ... -; params: -; dd = skin height -; dw = right margin -; dw = left margin -; dw = bottom margin -; dw = top margin -; dd = inner line color -; dd = outer line color -; dd = frame color -; dd = dtp file size -; ?? = dtp file itself -; ... -;---------------------------------------------------------------------------- -; ... -; buttons: -; dd = button type (1 = close, 2 = minimize) -; dw = left button coord (could be negative) -; dw = top button coord (could be negative) -; dw = button width -; dw = button height -; ... etc for all buttons -; dd = 0 (end of buttons list) -; ... -;---------------------------------------------------------------------------- -; ... -; bitmaps: -; dw = bitmap kind (1 = left, 2 = oper, 3 = base) -; dw = bitmap type (1 = active, 0 = inactive) -; dd @ bitmap -; ... etc for all bitmaps -; dd 0 (end of bitmaps list) -; ... -;---------------------------------------------------------------------------- -; ... -; bitmap: -; dd = bitmap width -; dd = bitmap height -; ?? = raw bitmap data -; ... etc for all bitmaps -; ... -;============================================================================ - -dd 'SKIN',1,__params__,__buttons__,__bitmaps__ - -struc BITMAPFILEHEADER { - .bfType dw ? ; WORD - .bfSize dd ? ; DWORD - .bfReserved1 dw ? ; WORD - .bfReserved2 dw ? ; WORD - .bfOffBits dd ? ; DWORD -} - -struc BITMAPINFOHEADER { - .biSize dd ? ; DWORD - .biWidth dd ? ; LONG - .biHeight dd ? ; LONG - .biPlanes dw ? ; WORD - .biBitCount dw ? ; WORD - .biCompression dd ? ; DWORD - .biSizeImage dd ? ; DWORD - .biXPelsPerMeter dd ? ; LONG - .biYPelsPerMeter dd ? ; LONG - .biClrUsed dd ? ; DWORD - .biClrImportant dd ? ; DWORD -} - -struc _bmp { - .h BITMAPFILEHEADER - .i BITMAPINFOHEADER -} -virtual at 0 - _bmp _bmp -end virtual - -macro BITMAP _name*,_fname* -{ - local w,h,a,r,g,b - virtual at 0 - _file equ _#_name - _file:: - file _fname - end virtual - load w dword from _file:_bmp.i.biWidth - load h dword from _file:_bmp.i.biHeight - load hsize dword from _file:_bmp.h.bfOffBits - align 4 - label _name - .width = w - .height = h - dd w,h - a=hsize+(w*3+(w mod 4))*(h-1) - size = $ - repeat h - repeat w - load r from _file:a+0 - load g from _file:a+1 - load b from _file:a+2 - db r,g,b - a=a+3 - end repeat - a=a-w*3*2-(w mod 4) - end repeat -} - -macro define_colors name,[col,val] -{ - common - local a,b,c - forward - match =binner,col \{ a = val \} - match =bouter,col \{ b = val \} - match =bframe,col \{ c = val \} - common - name equ a,b,c -} - -macro SKIN_PARAMS [a] -{ - common - local _height,_margins,_colors,_colors_1,_dtp - __params__: - forward - match qq == ww,a - \{ - match =height,qq \\{ _height = ww \\} - match =margins,qq \\{ - match [q1:q2:q3:q4],ww - \\\{ - _margins equ q3,q1,q4,q2 - \\\} - \\} - match =colors =active,qq - \\{ - match [q10==q11:q20==q21:q30==q31],ww - \\\{ - define_colors _colors,q10,q11,q20,q21,q30,q31 - \\\} - \\} - match =colors =inactive,qq - \\{ - match [q10==q11:q20==q21:q30==q31],ww - \\\{ - define_colors _colors_1,q10,q11,q20,q21,q30,q31 - \\\} - \\} - match =dtp,qq \\{ _dtp equ ww \\} - \} - common - dd _height - dw _margins - dd _colors,_colors_1 - dd @f - $ - 4 - file _dtp - @@: -} - -macro SKIN_BUTTONS [a] -{ - common - local btn - __buttons__: - forward - match qq == ww,a - \{ - btn = 0 - match =close,qq \\{ btn = 1 \\} - match =minimize,qq \\{ btn = 2 \\} - match [q1:q2][q3:q4],ww - \\{ - if btn <> 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 -} diff --git a/skins/_old/MetalGearArrows/4.MetalGearArrows/4.MetalGearArrows.DTP b/skins/_old/MetalGearArrows/4.MetalGearArrows/4.MetalGearArrows.DTP deleted file mode 100644 index 74b285012c..0000000000 Binary files a/skins/_old/MetalGearArrows/4.MetalGearArrows/4.MetalGearArrows.DTP and /dev/null differ diff --git a/skins/_old/MetalGearArrows/4.MetalGearArrows/4.MetalGearArrows.asm b/skins/_old/MetalGearArrows/4.MetalGearArrows/4.MetalGearArrows.asm deleted file mode 100644 index 828277b3d2..0000000000 --- a/skins/_old/MetalGearArrows/4.MetalGearArrows/4.MetalGearArrows.asm +++ /dev/null @@ -1,35 +0,0 @@ -include 'skin.inc' - -SKIN_PARAMS \ - height = bmp_base.height,\ ; skin height - margins = [6:1:43:1],\ ; margins [left:top:right:bottom] - colors active = [binner=0x696969:\ ; border inner color - bouter=0x696969:\ ; border outer color - bframe=0x808080],\ ; border frame color - colors inactive = [binner=0x707070:\ ; border inner color - bouter=0x707070:\ ; border outer color - bframe=0x808080],\ ; border frame color - dtp = '4.MetalGearArrows.DTP' ; dtp colors - -SKIN_BUTTONS \ - close = [-25:5][16:16],\ ; buttons coordinates - minimize = [-47:5][16:16] ; [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 ,'active/left.bmp' ; skin bitmaps -BITMAP bmp_oper ,'active/oper.bmp' -BITMAP bmp_base ,'active/base.bmp' -BITMAP bmp_left1,'inactive/left.bmp' -BITMAP bmp_oper1,'inactive/oper.bmp' -BITMAP bmp_base1,'inactive/base.bmp' - -;================================; -; Created by Rock_maniak_forever ; -;================================; diff --git a/skins/_old/MetalGearArrows/4.MetalGearArrows/4.MetalGearArrows.png b/skins/_old/MetalGearArrows/4.MetalGearArrows/4.MetalGearArrows.png deleted file mode 100644 index b8b20518f1..0000000000 Binary files a/skins/_old/MetalGearArrows/4.MetalGearArrows/4.MetalGearArrows.png and /dev/null differ diff --git a/skins/_old/MetalGearArrows/4.MetalGearArrows/Tupfile.lua b/skins/_old/MetalGearArrows/4.MetalGearArrows/Tupfile.lua deleted file mode 100644 index a4287edef7..0000000000 --- a/skins/_old/MetalGearArrows/4.MetalGearArrows/Tupfile.lua +++ /dev/null @@ -1,2 +0,0 @@ -if tup.getconfig("NO_FASM") ~= "" then return end -tup.rule("4.MetalGearArrows.asm", 'fasm "%f" "%o" ' .. tup.getconfig("KPACK_CMD"), "4.MetalGearArrows.skn") diff --git a/skins/_old/MetalGearArrows/4.MetalGearArrows/active/base.bmp b/skins/_old/MetalGearArrows/4.MetalGearArrows/active/base.bmp deleted file mode 100644 index abc3428898..0000000000 Binary files a/skins/_old/MetalGearArrows/4.MetalGearArrows/active/base.bmp and /dev/null differ diff --git a/skins/_old/MetalGearArrows/4.MetalGearArrows/active/left.bmp b/skins/_old/MetalGearArrows/4.MetalGearArrows/active/left.bmp deleted file mode 100644 index 6c83a8170d..0000000000 Binary files a/skins/_old/MetalGearArrows/4.MetalGearArrows/active/left.bmp and /dev/null differ diff --git a/skins/_old/MetalGearArrows/4.MetalGearArrows/active/oper.bmp b/skins/_old/MetalGearArrows/4.MetalGearArrows/active/oper.bmp deleted file mode 100644 index 1afc3dc338..0000000000 Binary files a/skins/_old/MetalGearArrows/4.MetalGearArrows/active/oper.bmp and /dev/null differ diff --git a/skins/_old/MetalGearArrows/4.MetalGearArrows/inactive/base.bmp b/skins/_old/MetalGearArrows/4.MetalGearArrows/inactive/base.bmp deleted file mode 100644 index b797446d3e..0000000000 Binary files a/skins/_old/MetalGearArrows/4.MetalGearArrows/inactive/base.bmp and /dev/null differ diff --git a/skins/_old/MetalGearArrows/4.MetalGearArrows/inactive/left.bmp b/skins/_old/MetalGearArrows/4.MetalGearArrows/inactive/left.bmp deleted file mode 100644 index d620a5213f..0000000000 Binary files a/skins/_old/MetalGearArrows/4.MetalGearArrows/inactive/left.bmp and /dev/null differ diff --git a/skins/_old/MetalGearArrows/4.MetalGearArrows/inactive/oper.bmp b/skins/_old/MetalGearArrows/4.MetalGearArrows/inactive/oper.bmp deleted file mode 100644 index 661ffe2169..0000000000 Binary files a/skins/_old/MetalGearArrows/4.MetalGearArrows/inactive/oper.bmp and /dev/null differ diff --git a/skins/_old/MetalGearArrows/4.MetalGearArrows/skin.inc b/skins/_old/MetalGearArrows/4.MetalGearArrows/skin.inc deleted file mode 100644 index 81a6bd8f3f..0000000000 --- a/skins/_old/MetalGearArrows/4.MetalGearArrows/skin.inc +++ /dev/null @@ -1,239 +0,0 @@ -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; ;; -;; Copyright (C) KolibriOS team 2004-2017. All rights reserved. ;; -;; Distributed under terms of the GNU General Public License ;; -;; ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; - -;============================================================================ -; This file should be used to generate skins of new standard -;============================================================================ -; skin file structure: -;---------------------------------------------------------------------------- -; header: -; dd 'SKIN' -; dd = version (1 for now) -; dd @ params -; dd @ buttons -; dd @ bitmaps -; ... -;---------------------------------------------------------------------------- -; NOTE: order of sections listed below is insignificant -; since they're identified by pointer in above header -;---------------------------------------------------------------------------- -; ... -; params: -; dd = skin height -; dw = right margin -; dw = left margin -; dw = bottom margin -; dw = top margin -; dd = inner line color -; dd = outer line color -; dd = frame color -; dd = dtp file size -; ?? = dtp file itself -; ... -;---------------------------------------------------------------------------- -; ... -; buttons: -; dd = button type (1 = close, 2 = minimize) -; dw = left button coord (could be negative) -; dw = top button coord (could be negative) -; dw = button width -; dw = button height -; ... etc for all buttons -; dd = 0 (end of buttons list) -; ... -;---------------------------------------------------------------------------- -; ... -; bitmaps: -; dw = bitmap kind (1 = left, 2 = oper, 3 = base) -; dw = bitmap type (1 = active, 0 = inactive) -; dd @ bitmap -; ... etc for all bitmaps -; dd 0 (end of bitmaps list) -; ... -;---------------------------------------------------------------------------- -; ... -; bitmap: -; dd = bitmap width -; dd = bitmap height -; ?? = raw bitmap data -; ... etc for all bitmaps -; ... -;============================================================================ - -dd 'SKIN',1,__params__,__buttons__,__bitmaps__ - -struc BITMAPFILEHEADER { - .bfType dw ? ; WORD - .bfSize dd ? ; DWORD - .bfReserved1 dw ? ; WORD - .bfReserved2 dw ? ; WORD - .bfOffBits dd ? ; DWORD -} - -struc BITMAPINFOHEADER { - .biSize dd ? ; DWORD - .biWidth dd ? ; LONG - .biHeight dd ? ; LONG - .biPlanes dw ? ; WORD - .biBitCount dw ? ; WORD - .biCompression dd ? ; DWORD - .biSizeImage dd ? ; DWORD - .biXPelsPerMeter dd ? ; LONG - .biYPelsPerMeter dd ? ; LONG - .biClrUsed dd ? ; DWORD - .biClrImportant dd ? ; DWORD -} - -struc _bmp { - .h BITMAPFILEHEADER - .i BITMAPINFOHEADER -} -virtual at 0 - _bmp _bmp -end virtual - -macro BITMAP _name*,_fname* -{ - local w,h,a,r,g,b - virtual at 0 - _file equ _#_name - _file:: - file _fname - end virtual - load w dword from _file:_bmp.i.biWidth - load h dword from _file:_bmp.i.biHeight - load hsize dword from _file:_bmp.h.bfOffBits - align 4 - label _name - .width = w - .height = h - dd w,h - a=hsize+(w*3+(w mod 4))*(h-1) - size = $ - repeat h - repeat w - load r from _file:a+0 - load g from _file:a+1 - load b from _file:a+2 - db r,g,b - a=a+3 - end repeat - a=a-w*3*2-(w mod 4) - end repeat -} - -macro define_colors name,[col,val] -{ - common - local a,b,c - forward - match =binner,col \{ a = val \} - match =bouter,col \{ b = val \} - match =bframe,col \{ c = val \} - common - name equ a,b,c -} - -macro SKIN_PARAMS [a] -{ - common - local _height,_margins,_colors,_colors_1,_dtp - __params__: - forward - match qq == ww,a - \{ - match =height,qq \\{ _height = ww \\} - match =margins,qq \\{ - match [q1:q2:q3:q4],ww - \\\{ - _margins equ q3,q1,q4,q2 - \\\} - \\} - match =colors =active,qq - \\{ - match [q10==q11:q20==q21:q30==q31],ww - \\\{ - define_colors _colors,q10,q11,q20,q21,q30,q31 - \\\} - \\} - match =colors =inactive,qq - \\{ - match [q10==q11:q20==q21:q30==q31],ww - \\\{ - define_colors _colors_1,q10,q11,q20,q21,q30,q31 - \\\} - \\} - match =dtp,qq \\{ _dtp equ ww \\} - \} - common - dd _height - dw _margins - dd _colors,_colors_1 - dd @f - $ - 4 - file _dtp - @@: -} - -macro SKIN_BUTTONS [a] -{ - common - local btn - __buttons__: - forward - match qq == ww,a - \{ - btn = 0 - match =close,qq \\{ btn = 1 \\} - match =minimize,qq \\{ btn = 2 \\} - match [q1:q2][q3:q4],ww - \\{ - if btn <> 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 -} diff --git a/skins/_old/MetalGearArrows/1.MetalGearArrows/1.MetalGearArrows.png b/skins/_old/MetalGearArrows/MetalGearArrows.png similarity index 100% rename from skins/_old/MetalGearArrows/1.MetalGearArrows/1.MetalGearArrows.png rename to skins/_old/MetalGearArrows/MetalGearArrows.png diff --git a/skins/_old/MetalGearArrows/1.MetalGearArrows/Tupfile.lua b/skins/_old/MetalGearArrows/Tupfile.lua similarity index 100% rename from skins/_old/MetalGearArrows/1.MetalGearArrows/Tupfile.lua rename to skins/_old/MetalGearArrows/Tupfile.lua diff --git a/skins/_old/MetalGearArrows/1.MetalGearArrows/active/base.bmp b/skins/_old/MetalGearArrows/active/base.bmp similarity index 100% rename from skins/_old/MetalGearArrows/1.MetalGearArrows/active/base.bmp rename to skins/_old/MetalGearArrows/active/base.bmp diff --git a/skins/_old/MetalGearArrows/1.MetalGearArrows/active/left.bmp b/skins/_old/MetalGearArrows/active/left.bmp similarity index 100% rename from skins/_old/MetalGearArrows/1.MetalGearArrows/active/left.bmp rename to skins/_old/MetalGearArrows/active/left.bmp diff --git a/skins/_old/MetalGearArrows/1.MetalGearArrows/active/oper.bmp b/skins/_old/MetalGearArrows/active/oper.bmp similarity index 100% rename from skins/_old/MetalGearArrows/1.MetalGearArrows/active/oper.bmp rename to skins/_old/MetalGearArrows/active/oper.bmp diff --git a/skins/_old/MetalGearArrows/1.MetalGearArrows/inactive/base.bmp b/skins/_old/MetalGearArrows/inactive/base.bmp similarity index 100% rename from skins/_old/MetalGearArrows/1.MetalGearArrows/inactive/base.bmp rename to skins/_old/MetalGearArrows/inactive/base.bmp diff --git a/skins/_old/MetalGearArrows/1.MetalGearArrows/inactive/left.bmp b/skins/_old/MetalGearArrows/inactive/left.bmp similarity index 100% rename from skins/_old/MetalGearArrows/1.MetalGearArrows/inactive/left.bmp rename to skins/_old/MetalGearArrows/inactive/left.bmp diff --git a/skins/_old/MetalGearArrows/1.MetalGearArrows/inactive/oper.bmp b/skins/_old/MetalGearArrows/inactive/oper.bmp similarity index 100% rename from skins/_old/MetalGearArrows/1.MetalGearArrows/inactive/oper.bmp rename to skins/_old/MetalGearArrows/inactive/oper.bmp diff --git a/skins/_old/MetalGearArrows/screenshot.png b/skins/_old/MetalGearArrows/screenshot.png deleted file mode 100644 index 83e67e7a6d..0000000000 Binary files a/skins/_old/MetalGearArrows/screenshot.png and /dev/null differ diff --git a/skins/_old/Brick/1.Brick/skin.inc b/skins/_old/MetalGearArrows/skin.inc similarity index 100% rename from skins/_old/Brick/1.Brick/skin.inc rename to skins/_old/MetalGearArrows/skin.inc