diff --git a/skins/Nova_skins/Nova_blue/About.txt b/skins/Nova_skins/Nova_blue/About.txt new file mode 100644 index 0000000000..600c7ecebc --- /dev/null +++ b/skins/Nova_skins/Nova_blue/About.txt @@ -0,0 +1,12 @@ + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Specially for KolibriOS. ;; +;; Skin created by Rock_maniak_forever. ;; +;; ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + +***************************************** +* Пролетарии всех стран, объединяйтесь! * +* Proletarian of all countryes, unite! * +***************************************** diff --git a/skins/Nova_skins/Nova_blue/Active/base.bmp b/skins/Nova_skins/Nova_blue/Active/base.bmp new file mode 100644 index 0000000000..02730219e5 Binary files /dev/null and b/skins/Nova_skins/Nova_blue/Active/base.bmp differ diff --git a/skins/Nova_skins/Nova_blue/Active/left.bmp b/skins/Nova_skins/Nova_blue/Active/left.bmp new file mode 100644 index 0000000000..3900f5339f Binary files /dev/null and b/skins/Nova_skins/Nova_blue/Active/left.bmp differ diff --git a/skins/Nova_skins/Nova_blue/Active/oper.bmp b/skins/Nova_skins/Nova_blue/Active/oper.bmp new file mode 100644 index 0000000000..43ad640732 Binary files /dev/null and b/skins/Nova_skins/Nova_blue/Active/oper.bmp differ diff --git a/skins/Nova_skins/Nova_blue/BLUE.DTP b/skins/Nova_skins/Nova_blue/BLUE.DTP new file mode 100644 index 0000000000..66c9bf2777 Binary files /dev/null and b/skins/Nova_skins/Nova_blue/BLUE.DTP differ diff --git a/skins/Nova_skins/Nova_blue/Inactive/base.bmp b/skins/Nova_skins/Nova_blue/Inactive/base.bmp new file mode 100644 index 0000000000..f577580335 Binary files /dev/null and b/skins/Nova_skins/Nova_blue/Inactive/base.bmp differ diff --git a/skins/Nova_skins/Nova_blue/Inactive/left.bmp b/skins/Nova_skins/Nova_blue/Inactive/left.bmp new file mode 100644 index 0000000000..928676798c Binary files /dev/null and b/skins/Nova_skins/Nova_blue/Inactive/left.bmp differ diff --git a/skins/Nova_skins/Nova_blue/Inactive/oper.bmp b/skins/Nova_skins/Nova_blue/Inactive/oper.bmp new file mode 100644 index 0000000000..4d693e8de5 Binary files /dev/null and b/skins/Nova_skins/Nova_blue/Inactive/oper.bmp differ diff --git a/skins/Nova_skins/Nova_blue/Nova_blue.asm b/skins/Nova_skins/Nova_blue/Nova_blue.asm new file mode 100644 index 0000000000..f62aff0cae --- /dev/null +++ b/skins/Nova_skins/Nova_blue/Nova_blue.asm @@ -0,0 +1,37 @@ +include 'my_skin.inc' + +SKIN_PARAMS \ + height = bmp_base.height,\ ; skin height + margins = [19:1:43:1],\ ; margins [left:top:right:bottom] + colors active = [binner=0x9FBCCD:\ ; border inner color + bouter=0x9FBCCD:\ ; border outer color + bframe=0x2E576F],\ ; border frame color + colors inactive = [binner=0xB7CDDA:\ ; border inner color + bouter=0xB7CDDA:\ ; border outer color + bframe=0x4D788E],\ ; border frame color + dtp = 'BLUE.DTP' ; dtp colors + +SKIN_BUTTONS \ + close = [-32:0][26:18],\ ; buttons coordinates + minimize = [-49:0][17: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/Nova_skins/Nova_blue/Nova_blue.skn b/skins/Nova_skins/Nova_blue/Nova_blue.skn new file mode 100644 index 0000000000..3cbe89fc36 Binary files /dev/null and b/skins/Nova_skins/Nova_blue/Nova_blue.skn differ diff --git a/skins/Nova_skins/Nova_blue/Screenshot.png b/skins/Nova_skins/Nova_blue/Screenshot.png new file mode 100644 index 0000000000..4772f207f6 Binary files /dev/null and b/skins/Nova_skins/Nova_blue/Screenshot.png differ diff --git a/skins/Nova_skins/Nova_blue/my_skin.inc b/skins/Nova_skins/Nova_blue/my_skin.inc new file mode 100644 index 0000000000..ccbb3c191c --- /dev/null +++ b/skins/Nova_skins/Nova_blue/my_skin.inc @@ -0,0 +1,235 @@ +;============================================================================ +; 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 _fname + load w dword from _bmp.i.biWidth + load h dword from _bmp.i.biHeight + end virtual + align 4 + label _name + .width = w + .height = h + dd w,h + a=54+(w*3+(w mod 4))*(h-1) + size = $ + repeat h + repeat w + virtual at 0 + file _fname + load r from a+0 + load g from a+1 + load b from a+2 + end virtual + 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,_dtp_sz + __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 + virtual at 0 + file _dtp + _dtp_sz = $ + end virtual + dd _dtp_sz + 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 +} \ No newline at end of file diff --git a/skins/Nova_skins/Nova_brown/About.txt b/skins/Nova_skins/Nova_brown/About.txt new file mode 100644 index 0000000000..600c7ecebc --- /dev/null +++ b/skins/Nova_skins/Nova_brown/About.txt @@ -0,0 +1,12 @@ + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Specially for KolibriOS. ;; +;; Skin created by Rock_maniak_forever. ;; +;; ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + +***************************************** +* Пролетарии всех стран, объединяйтесь! * +* Proletarian of all countryes, unite! * +***************************************** diff --git a/skins/Nova_skins/Nova_brown/Active/base.bmp b/skins/Nova_skins/Nova_brown/Active/base.bmp new file mode 100644 index 0000000000..7ac78a4181 Binary files /dev/null and b/skins/Nova_skins/Nova_brown/Active/base.bmp differ diff --git a/skins/Nova_skins/Nova_brown/Active/left.bmp b/skins/Nova_skins/Nova_brown/Active/left.bmp new file mode 100644 index 0000000000..b53220c959 Binary files /dev/null and b/skins/Nova_skins/Nova_brown/Active/left.bmp differ diff --git a/skins/Nova_skins/Nova_brown/Active/oper.bmp b/skins/Nova_skins/Nova_brown/Active/oper.bmp new file mode 100644 index 0000000000..f4eeb647de Binary files /dev/null and b/skins/Nova_skins/Nova_brown/Active/oper.bmp differ diff --git a/skins/Nova_skins/Nova_brown/Inactive/base.bmp b/skins/Nova_skins/Nova_brown/Inactive/base.bmp new file mode 100644 index 0000000000..975ebe3328 Binary files /dev/null and b/skins/Nova_skins/Nova_brown/Inactive/base.bmp differ diff --git a/skins/Nova_skins/Nova_brown/Inactive/left.bmp b/skins/Nova_skins/Nova_brown/Inactive/left.bmp new file mode 100644 index 0000000000..d3996dadd1 Binary files /dev/null and b/skins/Nova_skins/Nova_brown/Inactive/left.bmp differ diff --git a/skins/Nova_skins/Nova_brown/Inactive/oper.bmp b/skins/Nova_skins/Nova_brown/Inactive/oper.bmp new file mode 100644 index 0000000000..4f766ca9bb Binary files /dev/null and b/skins/Nova_skins/Nova_brown/Inactive/oper.bmp differ diff --git a/skins/Nova_skins/Nova_brown/Nova_brown.asm b/skins/Nova_skins/Nova_brown/Nova_brown.asm new file mode 100644 index 0000000000..0e683d5cfc --- /dev/null +++ b/skins/Nova_skins/Nova_brown/Nova_brown.asm @@ -0,0 +1,39 @@ +include 'my_skin.inc' + +SKIN_PARAMS \ + height = bmp_base.height,\ ; skin height + margins = [19:1:43:1],\ ; margins [left:top:right:bottom] + colors active = [binner=0xDFB498:\ ; border inner color + bouter=0xDFB498:\ ; border outer color + bframe=0x874B24],\ ; border frame color + colors inactive = [binner=0xE8C7B1:\ ; border inner color + bouter=0xE8C7B1:\ ; border outer color + bframe=0xA36C40],\ ; border frame color + dtp = 'ORANGE.DTP' ; dtp colors + +SKIN_BUTTONS \ + close = [-32:0][26:18],\ ; buttons coordinates + minimize = [-49:0][17: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 ; +;================================; + +; C06A32 + +; 874B24 \ No newline at end of file diff --git a/skins/Nova_skins/Nova_brown/Nova_brown.skn b/skins/Nova_skins/Nova_brown/Nova_brown.skn new file mode 100644 index 0000000000..0ece02e1cc Binary files /dev/null and b/skins/Nova_skins/Nova_brown/Nova_brown.skn differ diff --git a/skins/Nova_skins/Nova_brown/ORANGE.DTP b/skins/Nova_skins/Nova_brown/ORANGE.DTP new file mode 100644 index 0000000000..aca152d836 Binary files /dev/null and b/skins/Nova_skins/Nova_brown/ORANGE.DTP differ diff --git a/skins/Nova_skins/Nova_brown/Screenshot.png b/skins/Nova_skins/Nova_brown/Screenshot.png new file mode 100644 index 0000000000..8be68b1515 Binary files /dev/null and b/skins/Nova_skins/Nova_brown/Screenshot.png differ diff --git a/skins/Nova_skins/Nova_brown/my_skin.inc b/skins/Nova_skins/Nova_brown/my_skin.inc new file mode 100644 index 0000000000..ccbb3c191c --- /dev/null +++ b/skins/Nova_skins/Nova_brown/my_skin.inc @@ -0,0 +1,235 @@ +;============================================================================ +; 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 _fname + load w dword from _bmp.i.biWidth + load h dword from _bmp.i.biHeight + end virtual + align 4 + label _name + .width = w + .height = h + dd w,h + a=54+(w*3+(w mod 4))*(h-1) + size = $ + repeat h + repeat w + virtual at 0 + file _fname + load r from a+0 + load g from a+1 + load b from a+2 + end virtual + 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,_dtp_sz + __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 + virtual at 0 + file _dtp + _dtp_sz = $ + end virtual + dd _dtp_sz + 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 +} \ No newline at end of file diff --git a/skins/Nova_skins/Nova_green/About.txt b/skins/Nova_skins/Nova_green/About.txt new file mode 100644 index 0000000000..600c7ecebc --- /dev/null +++ b/skins/Nova_skins/Nova_green/About.txt @@ -0,0 +1,12 @@ + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Specially for KolibriOS. ;; +;; Skin created by Rock_maniak_forever. ;; +;; ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + +***************************************** +* Пролетарии всех стран, объединяйтесь! * +* Proletarian of all countryes, unite! * +***************************************** diff --git a/skins/Nova_skins/Nova_green/Active/base.bmp b/skins/Nova_skins/Nova_green/Active/base.bmp new file mode 100644 index 0000000000..99cecb1633 Binary files /dev/null and b/skins/Nova_skins/Nova_green/Active/base.bmp differ diff --git a/skins/Nova_skins/Nova_green/Active/left.bmp b/skins/Nova_skins/Nova_green/Active/left.bmp new file mode 100644 index 0000000000..16c21c912e Binary files /dev/null and b/skins/Nova_skins/Nova_green/Active/left.bmp differ diff --git a/skins/Nova_skins/Nova_green/Active/oper.bmp b/skins/Nova_skins/Nova_green/Active/oper.bmp new file mode 100644 index 0000000000..8a765a26a8 Binary files /dev/null and b/skins/Nova_skins/Nova_green/Active/oper.bmp differ diff --git a/skins/Nova_skins/Nova_green/GREEN.DTP b/skins/Nova_skins/Nova_green/GREEN.DTP new file mode 100644 index 0000000000..17df4240d5 Binary files /dev/null and b/skins/Nova_skins/Nova_green/GREEN.DTP differ diff --git a/skins/Nova_skins/Nova_green/Inactive/base.bmp b/skins/Nova_skins/Nova_green/Inactive/base.bmp new file mode 100644 index 0000000000..fb31853c66 Binary files /dev/null and b/skins/Nova_skins/Nova_green/Inactive/base.bmp differ diff --git a/skins/Nova_skins/Nova_green/Inactive/left.bmp b/skins/Nova_skins/Nova_green/Inactive/left.bmp new file mode 100644 index 0000000000..23e5bcfdd4 Binary files /dev/null and b/skins/Nova_skins/Nova_green/Inactive/left.bmp differ diff --git a/skins/Nova_skins/Nova_green/Inactive/oper.bmp b/skins/Nova_skins/Nova_green/Inactive/oper.bmp new file mode 100644 index 0000000000..809dd6ef97 Binary files /dev/null and b/skins/Nova_skins/Nova_green/Inactive/oper.bmp differ diff --git a/skins/Nova_skins/Nova_green/Nova_green.asm b/skins/Nova_skins/Nova_green/Nova_green.asm new file mode 100644 index 0000000000..fdd92d8d31 --- /dev/null +++ b/skins/Nova_skins/Nova_green/Nova_green.asm @@ -0,0 +1,39 @@ +include 'my_skin.inc' + +SKIN_PARAMS \ + height = bmp_base.height,\ ; skin height + margins = [19:1:43:1],\ ; margins [left:top:right:bottom] + colors active = [binner=0x9CD1A5:\ ; border inner color + bouter=0x9CD1A5:\ ; border outer color + bframe=0x297436],\ ; border frame color + colors inactive = [binner=0xB4DEBC:\ ; border inner color + bouter=0xB4DEBC:\ ; border outer color + bframe=0x479355],\ ; border frame color + dtp = 'GREEN.DTP' ; dtp colors + +SKIN_BUTTONS \ + close = [-32:0][26:18],\ ; buttons coordinates + minimize = [-49:0][17: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 ; +;================================; + +; 3AA44C + +; 297436 \ No newline at end of file diff --git a/skins/Nova_skins/Nova_green/Nova_green.skn b/skins/Nova_skins/Nova_green/Nova_green.skn new file mode 100644 index 0000000000..1b72bfa37f Binary files /dev/null and b/skins/Nova_skins/Nova_green/Nova_green.skn differ diff --git a/skins/Nova_skins/Nova_green/Screenshot.png b/skins/Nova_skins/Nova_green/Screenshot.png new file mode 100644 index 0000000000..4fe01a97ec Binary files /dev/null and b/skins/Nova_skins/Nova_green/Screenshot.png differ diff --git a/skins/Nova_skins/Nova_green/my_skin.inc b/skins/Nova_skins/Nova_green/my_skin.inc new file mode 100644 index 0000000000..ccbb3c191c --- /dev/null +++ b/skins/Nova_skins/Nova_green/my_skin.inc @@ -0,0 +1,235 @@ +;============================================================================ +; 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 _fname + load w dword from _bmp.i.biWidth + load h dword from _bmp.i.biHeight + end virtual + align 4 + label _name + .width = w + .height = h + dd w,h + a=54+(w*3+(w mod 4))*(h-1) + size = $ + repeat h + repeat w + virtual at 0 + file _fname + load r from a+0 + load g from a+1 + load b from a+2 + end virtual + 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,_dtp_sz + __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 + virtual at 0 + file _dtp + _dtp_sz = $ + end virtual + dd _dtp_sz + 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 +} \ No newline at end of file diff --git a/skins/Nova_skins/Nova_grey/About.txt b/skins/Nova_skins/Nova_grey/About.txt new file mode 100644 index 0000000000..600c7ecebc --- /dev/null +++ b/skins/Nova_skins/Nova_grey/About.txt @@ -0,0 +1,12 @@ + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Specially for KolibriOS. ;; +;; Skin created by Rock_maniak_forever. ;; +;; ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + +***************************************** +* Пролетарии всех стран, объединяйтесь! * +* Proletarian of all countryes, unite! * +***************************************** diff --git a/skins/Nova_skins/Nova_grey/Active/base.bmp b/skins/Nova_skins/Nova_grey/Active/base.bmp new file mode 100644 index 0000000000..b050b09060 Binary files /dev/null and b/skins/Nova_skins/Nova_grey/Active/base.bmp differ diff --git a/skins/Nova_skins/Nova_grey/Active/left.bmp b/skins/Nova_skins/Nova_grey/Active/left.bmp new file mode 100644 index 0000000000..ddd50cfe92 Binary files /dev/null and b/skins/Nova_skins/Nova_grey/Active/left.bmp differ diff --git a/skins/Nova_skins/Nova_grey/Active/oper.bmp b/skins/Nova_skins/Nova_grey/Active/oper.bmp new file mode 100644 index 0000000000..b9b653982e Binary files /dev/null and b/skins/Nova_skins/Nova_grey/Active/oper.bmp differ diff --git a/skins/Nova_skins/Nova_grey/GREY.DTP b/skins/Nova_skins/Nova_grey/GREY.DTP new file mode 100644 index 0000000000..786964100a Binary files /dev/null and b/skins/Nova_skins/Nova_grey/GREY.DTP differ diff --git a/skins/Nova_skins/Nova_grey/Inactive/base.bmp b/skins/Nova_skins/Nova_grey/Inactive/base.bmp new file mode 100644 index 0000000000..0d8c6ee47a Binary files /dev/null and b/skins/Nova_skins/Nova_grey/Inactive/base.bmp differ diff --git a/skins/Nova_skins/Nova_grey/Inactive/left.bmp b/skins/Nova_skins/Nova_grey/Inactive/left.bmp new file mode 100644 index 0000000000..1b3803b603 Binary files /dev/null and b/skins/Nova_skins/Nova_grey/Inactive/left.bmp differ diff --git a/skins/Nova_skins/Nova_grey/Inactive/oper.bmp b/skins/Nova_skins/Nova_grey/Inactive/oper.bmp new file mode 100644 index 0000000000..4550459a6d Binary files /dev/null and b/skins/Nova_skins/Nova_grey/Inactive/oper.bmp differ diff --git a/skins/Nova_skins/Nova_grey/Nova_grey.asm b/skins/Nova_skins/Nova_grey/Nova_grey.asm new file mode 100644 index 0000000000..bd137adb92 --- /dev/null +++ b/skins/Nova_skins/Nova_grey/Nova_grey.asm @@ -0,0 +1,39 @@ +include 'my_skin.inc' + +SKIN_PARAMS \ + height = bmp_base.height,\ ; skin height + margins = [19:1:43:1],\ ; margins [left:top:right:bottom] + colors active = [binner=0xD0D0D0:\ ; border inner color + bouter=0xD0D0D0:\ ; border outer color + bframe=0x727272],\ ; border frame color + colors inactive = [binner=0xDDDDDD:\ ; border inner color + bouter=0xDDDDDD:\ ; border outer color + bframe=0x919191],\ ; border frame color + dtp = 'GREY.DTP' ; dtp colors + +SKIN_BUTTONS \ + close = [-32:0][26:18],\ ; buttons coordinates + minimize = [-49:0][17: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 ; +;================================; + +; A2A2A2 + +; 727272 \ No newline at end of file diff --git a/skins/Nova_skins/Nova_grey/Nova_grey.skn b/skins/Nova_skins/Nova_grey/Nova_grey.skn new file mode 100644 index 0000000000..4d3190a1e9 Binary files /dev/null and b/skins/Nova_skins/Nova_grey/Nova_grey.skn differ diff --git a/skins/Nova_skins/Nova_grey/Screenshot.png b/skins/Nova_skins/Nova_grey/Screenshot.png new file mode 100644 index 0000000000..5f7910e362 Binary files /dev/null and b/skins/Nova_skins/Nova_grey/Screenshot.png differ diff --git a/skins/Nova_skins/Nova_grey/my_skin.inc b/skins/Nova_skins/Nova_grey/my_skin.inc new file mode 100644 index 0000000000..ccbb3c191c --- /dev/null +++ b/skins/Nova_skins/Nova_grey/my_skin.inc @@ -0,0 +1,235 @@ +;============================================================================ +; 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 _fname + load w dword from _bmp.i.biWidth + load h dword from _bmp.i.biHeight + end virtual + align 4 + label _name + .width = w + .height = h + dd w,h + a=54+(w*3+(w mod 4))*(h-1) + size = $ + repeat h + repeat w + virtual at 0 + file _fname + load r from a+0 + load g from a+1 + load b from a+2 + end virtual + 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,_dtp_sz + __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 + virtual at 0 + file _dtp + _dtp_sz = $ + end virtual + dd _dtp_sz + 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 +} \ No newline at end of file diff --git a/skins/Nova_skins/Nova_pink/About.txt b/skins/Nova_skins/Nova_pink/About.txt new file mode 100644 index 0000000000..600c7ecebc --- /dev/null +++ b/skins/Nova_skins/Nova_pink/About.txt @@ -0,0 +1,12 @@ + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Specially for KolibriOS. ;; +;; Skin created by Rock_maniak_forever. ;; +;; ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + +***************************************** +* Пролетарии всех стран, объединяйтесь! * +* Proletarian of all countryes, unite! * +***************************************** diff --git a/skins/Nova_skins/Nova_pink/Active/base.bmp b/skins/Nova_skins/Nova_pink/Active/base.bmp new file mode 100644 index 0000000000..5661e1b0d3 Binary files /dev/null and b/skins/Nova_skins/Nova_pink/Active/base.bmp differ diff --git a/skins/Nova_skins/Nova_pink/Active/left.bmp b/skins/Nova_skins/Nova_pink/Active/left.bmp new file mode 100644 index 0000000000..0112213aed Binary files /dev/null and b/skins/Nova_skins/Nova_pink/Active/left.bmp differ diff --git a/skins/Nova_skins/Nova_pink/Active/oper.bmp b/skins/Nova_skins/Nova_pink/Active/oper.bmp new file mode 100644 index 0000000000..6e4572eee5 Binary files /dev/null and b/skins/Nova_skins/Nova_pink/Active/oper.bmp differ diff --git a/skins/Nova_skins/Nova_pink/Inactive/base.bmp b/skins/Nova_skins/Nova_pink/Inactive/base.bmp new file mode 100644 index 0000000000..28db327aab Binary files /dev/null and b/skins/Nova_skins/Nova_pink/Inactive/base.bmp differ diff --git a/skins/Nova_skins/Nova_pink/Inactive/left.bmp b/skins/Nova_skins/Nova_pink/Inactive/left.bmp new file mode 100644 index 0000000000..674ef74454 Binary files /dev/null and b/skins/Nova_skins/Nova_pink/Inactive/left.bmp differ diff --git a/skins/Nova_skins/Nova_pink/Inactive/oper.bmp b/skins/Nova_skins/Nova_pink/Inactive/oper.bmp new file mode 100644 index 0000000000..adda75dfc5 Binary files /dev/null and b/skins/Nova_skins/Nova_pink/Inactive/oper.bmp differ diff --git a/skins/Nova_skins/Nova_pink/Nova_pink.asm b/skins/Nova_skins/Nova_pink/Nova_pink.asm new file mode 100644 index 0000000000..07bebb5107 --- /dev/null +++ b/skins/Nova_skins/Nova_pink/Nova_pink.asm @@ -0,0 +1,39 @@ +include 'my_skin.inc' + +SKIN_PARAMS \ + height = bmp_base.height,\ ; skin height + margins = [19:1:43:1],\ ; margins [left:top:right:bottom] + colors active = [binner=0xD79ED2:\ ; border inner color + bouter=0xD79ED2:\ ; border outer color + bframe=0x7C2C76],\ ; border frame color + colors inactive = [binner=0xE2B6DE:\ ; border inner color + bouter=0xE2B6DE:\ ; border outer color + bframe=0x994A95],\ ; border frame color + dtp = 'PINK.DTP' ; dtp colors + +SKIN_BUTTONS \ + close = [-32:0][26:18],\ ; buttons coordinates + minimize = [-49:0][17: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 ; +;================================; + +; B03EA7 + +; 7C2C76 \ No newline at end of file diff --git a/skins/Nova_skins/Nova_pink/Nova_pink.skn b/skins/Nova_skins/Nova_pink/Nova_pink.skn new file mode 100644 index 0000000000..dbc07d23e4 Binary files /dev/null and b/skins/Nova_skins/Nova_pink/Nova_pink.skn differ diff --git a/skins/Nova_skins/Nova_pink/PINK.DTP b/skins/Nova_skins/Nova_pink/PINK.DTP new file mode 100644 index 0000000000..30c401029d Binary files /dev/null and b/skins/Nova_skins/Nova_pink/PINK.DTP differ diff --git a/skins/Nova_skins/Nova_pink/Screenshot.png b/skins/Nova_skins/Nova_pink/Screenshot.png new file mode 100644 index 0000000000..20bf09898c Binary files /dev/null and b/skins/Nova_skins/Nova_pink/Screenshot.png differ diff --git a/skins/Nova_skins/Nova_pink/my_skin.inc b/skins/Nova_skins/Nova_pink/my_skin.inc new file mode 100644 index 0000000000..ccbb3c191c --- /dev/null +++ b/skins/Nova_skins/Nova_pink/my_skin.inc @@ -0,0 +1,235 @@ +;============================================================================ +; 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 _fname + load w dword from _bmp.i.biWidth + load h dword from _bmp.i.biHeight + end virtual + align 4 + label _name + .width = w + .height = h + dd w,h + a=54+(w*3+(w mod 4))*(h-1) + size = $ + repeat h + repeat w + virtual at 0 + file _fname + load r from a+0 + load g from a+1 + load b from a+2 + end virtual + 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,_dtp_sz + __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 + virtual at 0 + file _dtp + _dtp_sz = $ + end virtual + dd _dtp_sz + 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 +} \ No newline at end of file diff --git a/skins/Nova_skins/Nova_red/About.txt b/skins/Nova_skins/Nova_red/About.txt new file mode 100644 index 0000000000..600c7ecebc --- /dev/null +++ b/skins/Nova_skins/Nova_red/About.txt @@ -0,0 +1,12 @@ + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Specially for KolibriOS. ;; +;; Skin created by Rock_maniak_forever. ;; +;; ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + +***************************************** +* Пролетарии всех стран, объединяйтесь! * +* Proletarian of all countryes, unite! * +***************************************** diff --git a/skins/Nova_skins/Nova_red/Active/base.bmp b/skins/Nova_skins/Nova_red/Active/base.bmp new file mode 100644 index 0000000000..d5cbabbd54 Binary files /dev/null and b/skins/Nova_skins/Nova_red/Active/base.bmp differ diff --git a/skins/Nova_skins/Nova_red/Active/left.bmp b/skins/Nova_skins/Nova_red/Active/left.bmp new file mode 100644 index 0000000000..3f95dca961 Binary files /dev/null and b/skins/Nova_skins/Nova_red/Active/left.bmp differ diff --git a/skins/Nova_skins/Nova_red/Active/oper.bmp b/skins/Nova_skins/Nova_red/Active/oper.bmp new file mode 100644 index 0000000000..6977ba47a8 Binary files /dev/null and b/skins/Nova_skins/Nova_red/Active/oper.bmp differ diff --git a/skins/Nova_skins/Nova_red/Inactive/base.bmp b/skins/Nova_skins/Nova_red/Inactive/base.bmp new file mode 100644 index 0000000000..4a2a8c9354 Binary files /dev/null and b/skins/Nova_skins/Nova_red/Inactive/base.bmp differ diff --git a/skins/Nova_skins/Nova_red/Inactive/left.bmp b/skins/Nova_skins/Nova_red/Inactive/left.bmp new file mode 100644 index 0000000000..f60bc6bcac Binary files /dev/null and b/skins/Nova_skins/Nova_red/Inactive/left.bmp differ diff --git a/skins/Nova_skins/Nova_red/Inactive/oper.bmp b/skins/Nova_skins/Nova_red/Inactive/oper.bmp new file mode 100644 index 0000000000..2f7fdd6f76 Binary files /dev/null and b/skins/Nova_skins/Nova_red/Inactive/oper.bmp differ diff --git a/skins/Nova_skins/Nova_red/Nova_red.asm b/skins/Nova_skins/Nova_red/Nova_red.asm new file mode 100644 index 0000000000..c675f35061 --- /dev/null +++ b/skins/Nova_skins/Nova_red/Nova_red.asm @@ -0,0 +1,39 @@ +include 'my_skin.inc' + +SKIN_PARAMS \ + height = bmp_base.height,\ ; skin height + margins = [19:1:43:1],\ ; margins [left:top:right:bottom] + colors active = [binner=0xDA9A9A:\ ; border inner color + bouter=0xDA9A9A:\ ; border outer color + bframe=0x812727],\ ; border frame color + colors inactive = [binner=0xE4B3B3:\ ; border inner color + bouter=0xE4B3B3:\ ; border outer color + bframe=0x9E4444],\ ; border frame color + dtp = 'RED.DTP' ; dtp colors + +SKIN_BUTTONS \ + close = [-32:0][26:18],\ ; buttons coordinates + minimize = [-49:0][17: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 ; +;================================; + +; B73737 + +; 812727 \ No newline at end of file diff --git a/skins/Nova_skins/Nova_red/Nova_red.skn b/skins/Nova_skins/Nova_red/Nova_red.skn new file mode 100644 index 0000000000..53afb0aacd Binary files /dev/null and b/skins/Nova_skins/Nova_red/Nova_red.skn differ diff --git a/skins/Nova_skins/Nova_red/RED.DTP b/skins/Nova_skins/Nova_red/RED.DTP new file mode 100644 index 0000000000..ab934aa25a Binary files /dev/null and b/skins/Nova_skins/Nova_red/RED.DTP differ diff --git a/skins/Nova_skins/Nova_red/Screenshot.png b/skins/Nova_skins/Nova_red/Screenshot.png new file mode 100644 index 0000000000..28b945d6cf Binary files /dev/null and b/skins/Nova_skins/Nova_red/Screenshot.png differ diff --git a/skins/Nova_skins/Nova_red/my_skin.inc b/skins/Nova_skins/Nova_red/my_skin.inc new file mode 100644 index 0000000000..ccbb3c191c --- /dev/null +++ b/skins/Nova_skins/Nova_red/my_skin.inc @@ -0,0 +1,235 @@ +;============================================================================ +; 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 _fname + load w dword from _bmp.i.biWidth + load h dword from _bmp.i.biHeight + end virtual + align 4 + label _name + .width = w + .height = h + dd w,h + a=54+(w*3+(w mod 4))*(h-1) + size = $ + repeat h + repeat w + virtual at 0 + file _fname + load r from a+0 + load g from a+1 + load b from a+2 + end virtual + 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,_dtp_sz + __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 + virtual at 0 + file _dtp + _dtp_sz = $ + end virtual + dd _dtp_sz + 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 +} \ No newline at end of file diff --git a/skins/Nova_skins/Nova_violet/About.txt b/skins/Nova_skins/Nova_violet/About.txt new file mode 100644 index 0000000000..600c7ecebc --- /dev/null +++ b/skins/Nova_skins/Nova_violet/About.txt @@ -0,0 +1,12 @@ + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; Specially for KolibriOS. ;; +;; Skin created by Rock_maniak_forever. ;; +;; ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + +***************************************** +* Пролетарии всех стран, объединяйтесь! * +* Proletarian of all countryes, unite! * +***************************************** diff --git a/skins/Nova_skins/Nova_violet/Active/base.bmp b/skins/Nova_skins/Nova_violet/Active/base.bmp new file mode 100644 index 0000000000..33a6ac118c Binary files /dev/null and b/skins/Nova_skins/Nova_violet/Active/base.bmp differ diff --git a/skins/Nova_skins/Nova_violet/Active/left.bmp b/skins/Nova_skins/Nova_violet/Active/left.bmp new file mode 100644 index 0000000000..a811aebe28 Binary files /dev/null and b/skins/Nova_skins/Nova_violet/Active/left.bmp differ diff --git a/skins/Nova_skins/Nova_violet/Active/oper.bmp b/skins/Nova_skins/Nova_violet/Active/oper.bmp new file mode 100644 index 0000000000..db674448ad Binary files /dev/null and b/skins/Nova_skins/Nova_violet/Active/oper.bmp differ diff --git a/skins/Nova_skins/Nova_violet/Inactive/base.bmp b/skins/Nova_skins/Nova_violet/Inactive/base.bmp new file mode 100644 index 0000000000..877a88d749 Binary files /dev/null and b/skins/Nova_skins/Nova_violet/Inactive/base.bmp differ diff --git a/skins/Nova_skins/Nova_violet/Inactive/left.bmp b/skins/Nova_skins/Nova_violet/Inactive/left.bmp new file mode 100644 index 0000000000..0b65740c9b Binary files /dev/null and b/skins/Nova_skins/Nova_violet/Inactive/left.bmp differ diff --git a/skins/Nova_skins/Nova_violet/Inactive/oper.bmp b/skins/Nova_skins/Nova_violet/Inactive/oper.bmp new file mode 100644 index 0000000000..4373c2b0ba Binary files /dev/null and b/skins/Nova_skins/Nova_violet/Inactive/oper.bmp differ diff --git a/skins/Nova_skins/Nova_violet/Nova_violet.asm b/skins/Nova_skins/Nova_violet/Nova_violet.asm new file mode 100644 index 0000000000..57b9cf774a --- /dev/null +++ b/skins/Nova_skins/Nova_violet/Nova_violet.asm @@ -0,0 +1,39 @@ +include 'my_skin.inc' + +SKIN_PARAMS \ + height = bmp_base.height,\ ; skin height + margins = [19:1:43:1],\ ; margins [left:top:right:bottom] + colors active = [binner=0xBB9BDA:\ ; border inner color + bouter=0xBB9BDA:\ ; border outer color + bframe=0x552881],\ ; border frame color + colors inactive = [binner=0xCCB4E4:\ ; border inner color + bouter=0xCCB4E4:\ ; border outer color + bframe=0x76459E],\ ; border frame color + dtp = 'VIOLET.DTP' ; dtp colors + +SKIN_BUTTONS \ + close = [-32:0][26:18],\ ; buttons coordinates + minimize = [-49:0][17: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 ; +;================================; + +; 7838B7 + +; 552881 \ No newline at end of file diff --git a/skins/Nova_skins/Nova_violet/Nova_violet.skn b/skins/Nova_skins/Nova_violet/Nova_violet.skn new file mode 100644 index 0000000000..7895c1d692 Binary files /dev/null and b/skins/Nova_skins/Nova_violet/Nova_violet.skn differ diff --git a/skins/Nova_skins/Nova_violet/Screenshot.png b/skins/Nova_skins/Nova_violet/Screenshot.png new file mode 100644 index 0000000000..7ce413eb09 Binary files /dev/null and b/skins/Nova_skins/Nova_violet/Screenshot.png differ diff --git a/skins/Nova_skins/Nova_violet/VIOLET.DTP b/skins/Nova_skins/Nova_violet/VIOLET.DTP new file mode 100644 index 0000000000..a78039e369 Binary files /dev/null and b/skins/Nova_skins/Nova_violet/VIOLET.DTP differ diff --git a/skins/Nova_skins/Nova_violet/my_skin.inc b/skins/Nova_skins/Nova_violet/my_skin.inc new file mode 100644 index 0000000000..ccbb3c191c --- /dev/null +++ b/skins/Nova_skins/Nova_violet/my_skin.inc @@ -0,0 +1,235 @@ +;============================================================================ +; 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 _fname + load w dword from _bmp.i.biWidth + load h dword from _bmp.i.biHeight + end virtual + align 4 + label _name + .width = w + .height = h + dd w,h + a=54+(w*3+(w mod 4))*(h-1) + size = $ + repeat h + repeat w + virtual at 0 + file _fname + load r from a+0 + load g from a+1 + load b from a+2 + end virtual + 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,_dtp_sz + __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 + virtual at 0 + file _dtp + _dtp_sz = $ + end virtual + dd _dtp_sz + 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 +} \ No newline at end of file diff --git a/skins/Nova_skins/Screenshot.png b/skins/Nova_skins/Screenshot.png new file mode 100644 index 0000000000..eaaedb086e Binary files /dev/null and b/skins/Nova_skins/Screenshot.png differ