From 71b1a116a666ffc28d6da98d674a3c86304237ce Mon Sep 17 00:00:00 2001 From: CleverMouse Date: Fri, 15 Jun 2012 15:08:42 +0000 Subject: [PATCH] add missing sources of skins for autobuild git-svn-id: svn://kolibrios.org@2791 a494cfbc-eb01-0410-851d-a64ba20cac60 --- skins/CodeOpusC/Opus_A.skn | Bin 13000 -> 0 bytes skins/CodeOpusC/Opus_A/Opus_A.asm | 31 +++ .../{Opus_Alpha.dtp => Opus_A/Opus_A.dtp} | Bin skins/CodeOpusC/Opus_A/active/base.bmp | Bin 0 -> 606 bytes skins/CodeOpusC/Opus_A/active/left.bmp | Bin 0 -> 606 bytes skins/CodeOpusC/Opus_A/active/oper.bmp | Bin 0 -> 5390 bytes skins/CodeOpusC/Opus_A/inactive/base.bmp | Bin 0 -> 606 bytes skins/CodeOpusC/Opus_A/inactive/left.bmp | Bin 0 -> 606 bytes skins/CodeOpusC/Opus_A/inactive/oper.bmp | Bin 0 -> 5390 bytes skins/CodeOpusC/Opus_A/my_skin.inc | 235 ++++++++++++++++++ skins/CodeOpusC/Opus_B.skn | Bin 13000 -> 0 bytes skins/CodeOpusC/Opus_B/Opus_B.asm | 31 +++ .../{Opus_Blue.dtp => Opus_B/Opus_B.dtp} | Bin skins/CodeOpusC/Opus_B/active/base.bmp | Bin 0 -> 606 bytes skins/CodeOpusC/Opus_B/active/left.bmp | Bin 0 -> 606 bytes skins/CodeOpusC/Opus_B/active/oper.bmp | Bin 0 -> 5390 bytes skins/CodeOpusC/Opus_B/inactive/base.bmp | Bin 0 -> 606 bytes skins/CodeOpusC/Opus_B/inactive/left.bmp | Bin 0 -> 606 bytes skins/CodeOpusC/Opus_B/inactive/oper.bmp | Bin 0 -> 5390 bytes skins/CodeOpusC/Opus_B/my_skin.inc | 235 ++++++++++++++++++ skins/CodeOpusC/Opus_D.skn | Bin 13068 -> 0 bytes skins/CodeOpusC/Opus_D/Opus_D.asm | 31 +++ .../{Opus_Dusk.dtp => Opus_D/Opus_D.dtp} | Bin skins/CodeOpusC/Opus_D/active/base.bmp | Bin 0 -> 606 bytes skins/CodeOpusC/Opus_D/active/left.bmp | Bin 0 -> 606 bytes skins/CodeOpusC/Opus_D/active/oper.bmp | Bin 0 -> 5390 bytes skins/CodeOpusC/Opus_D/inactive/base.bmp | Bin 0 -> 606 bytes skins/CodeOpusC/Opus_D/inactive/left.bmp | Bin 0 -> 606 bytes skins/CodeOpusC/Opus_D/inactive/oper.bmp | Bin 0 -> 5390 bytes skins/CodeOpusC/Opus_D/my_skin.inc | 235 ++++++++++++++++++ skins/CodeOpusC/Opus_DA.skn | Bin 13068 -> 0 bytes skins/CodeOpusC/Opus_DA/Opus_DA.asm | 31 +++ .../Opus_DA.dtp} | Bin skins/CodeOpusC/Opus_DA/active/base.bmp | Bin 0 -> 606 bytes skins/CodeOpusC/Opus_DA/active/left.bmp | Bin 0 -> 606 bytes skins/CodeOpusC/Opus_DA/active/oper.bmp | Bin 0 -> 5390 bytes skins/CodeOpusC/Opus_DA/inactive/base.bmp | Bin 0 -> 606 bytes skins/CodeOpusC/Opus_DA/inactive/left.bmp | Bin 0 -> 606 bytes skins/CodeOpusC/Opus_DA/inactive/oper.bmp | Bin 0 -> 5390 bytes skins/CodeOpusC/Opus_DA/my_skin.inc | 235 ++++++++++++++++++ skins/CodeOpusC/Opus_G.skn | Bin 13068 -> 0 bytes skins/CodeOpusC/Opus_G/Opus_G.asm | 31 +++ .../{Opus_Green.dtp => Opus_G/Opus_G.dtp} | Bin skins/CodeOpusC/Opus_G/active/base.bmp | Bin 0 -> 606 bytes skins/CodeOpusC/Opus_G/active/left.bmp | Bin 0 -> 606 bytes skins/CodeOpusC/Opus_G/active/oper.bmp | Bin 0 -> 5390 bytes skins/CodeOpusC/Opus_G/inactive/base.bmp | Bin 0 -> 606 bytes skins/CodeOpusC/Opus_G/inactive/left.bmp | Bin 0 -> 606 bytes skins/CodeOpusC/Opus_G/inactive/oper.bmp | Bin 0 -> 5390 bytes skins/CodeOpusC/Opus_G/my_skin.inc | 235 ++++++++++++++++++ skins/Grey/active/base.bmp | Bin 0 -> 598 bytes skins/Grey/active/left.bmp | Bin 0 -> 326 bytes skins/Grey/active/oper.bmp | Bin 0 -> 1958 bytes skins/Grey/default.asm | 31 +++ skins/Grey/default.dtp | Bin 0 -> 40 bytes skins/Grey/default.skn | Bin 3378 -> 0 bytes skins/Grey/inactive/base.bmp | Bin 0 -> 598 bytes skins/Grey/inactive/left.bmp | Bin 0 -> 326 bytes skins/Grey/inactive/oper.bmp | Bin 0 -> 1958 bytes skins/Grey/my_skin.inc | 235 ++++++++++++++++++ skins/MetalColor/MCBlue.skn | Bin 10532 -> 0 bytes skins/MetalColor/MCBlue/MCBlue.asm | 31 +++ skins/MetalColor/{ => MCBlue}/MCBlue.dtp | Bin skins/MetalColor/MCBlue/active/base.bmp | Bin 0 -> 494 bytes skins/MetalColor/MCBlue/active/left.bmp | Bin 0 -> 406 bytes skins/MetalColor/MCBlue/active/oper.bmp | Bin 0 -> 4542 bytes skins/MetalColor/MCBlue/inactive/base.bmp | Bin 0 -> 494 bytes skins/MetalColor/MCBlue/inactive/left.bmp | Bin 0 -> 406 bytes skins/MetalColor/MCBlue/inactive/oper.bmp | Bin 0 -> 4542 bytes skins/MetalColor/MCBlue/my_skin.inc | 235 ++++++++++++++++++ skins/MetalColor/MCRed.skn | Bin 10532 -> 0 bytes skins/MetalColor/MCRed/MCRed.asm | 31 +++ .../{MetalColorRed.dtp => MCRed/MCRed.dtp} | Bin skins/MetalColor/MCRed/active/base.bmp | Bin 0 -> 494 bytes skins/MetalColor/MCRed/active/left.bmp | Bin 0 -> 406 bytes skins/MetalColor/MCRed/active/oper.bmp | Bin 0 -> 4542 bytes skins/MetalColor/MCRed/inactive/base.bmp | Bin 0 -> 494 bytes skins/MetalColor/MCRed/inactive/left.bmp | Bin 0 -> 406 bytes skins/MetalColor/MCRed/inactive/oper.bmp | Bin 0 -> 4542 bytes skins/MetalColor/MCRed/my_skin.inc | 235 ++++++++++++++++++ skins/MyTango/active/base.bmp | Bin 0 -> 422 bytes skins/MyTango/active/left.bmp | Bin 0 -> 606 bytes skins/MyTango/active/oper.bmp | Bin 0 -> 3366 bytes skins/MyTango/default.asm | 31 +++ skins/MyTango/default.dtp | Bin 0 -> 40 bytes skins/MyTango/default.skn | Bin 688 -> 0 bytes skins/MyTango/inactive/base.bmp | Bin 0 -> 422 bytes skins/MyTango/inactive/left.bmp | Bin 0 -> 606 bytes skins/MyTango/inactive/oper.bmp | Bin 0 -> 3366 bytes skins/MyTango/my_skin.inc | 235 ++++++++++++++++++ skins/OpusOs_Blue/OpusOs_Blue.asm | 31 +++ skins/OpusOs_Blue/OpusOs_Blue.dtp | Bin 0 -> 40 bytes skins/OpusOs_Blue/OpusOs_Blue.skn | Bin 1162 -> 0 bytes skins/OpusOs_Blue/active/base.bmp | Bin 0 -> 406 bytes skins/OpusOs_Blue/active/left.bmp | Bin 0 -> 582 bytes skins/OpusOs_Blue/active/oper.bmp | Bin 0 -> 2518 bytes skins/OpusOs_Blue/inactive/base.bmp | Bin 0 -> 406 bytes skins/OpusOs_Blue/inactive/left.bmp | Bin 0 -> 582 bytes skins/OpusOs_Blue/inactive/oper.bmp | Bin 0 -> 2518 bytes skins/OpusOs_Blue/my_skin.inc | 235 ++++++++++++++++++ skins/Syllable/Syllable.asm | 31 +++ skins/Syllable/Syllable.dtp | Bin 0 -> 40 bytes skins/Syllable/Syllable.skn | Bin 6108 -> 0 bytes skins/Syllable/active/base.bmp | Bin 0 -> 534 bytes skins/Syllable/active/left.bmp | Bin 0 -> 534 bytes skins/Syllable/active/oper.bmp | Bin 0 -> 2054 bytes skins/Syllable/inactive/base.bmp | Bin 0 -> 534 bytes skins/Syllable/inactive/left.bmp | Bin 0 -> 534 bytes skins/Syllable/inactive/oper.bmp | Bin 0 -> 2054 bytes skins/Syllable/my_skin.inc | 235 ++++++++++++++++++ skins/WIN311/Win311.asm | 31 +++ skins/WIN311/Win311.skn | Bin 8148 -> 0 bytes skins/WIN311/active/base.bmp | Bin 0 -> 582 bytes skins/WIN311/active/left.bmp | Bin 0 -> 582 bytes skins/WIN311/active/oper.bmp | Bin 0 -> 2958 bytes skins/WIN311/inactive/base.bmp | Bin 0 -> 582 bytes skins/WIN311/inactive/left.bmp | Bin 0 -> 582 bytes skins/WIN311/inactive/oper.bmp | Bin 0 -> 2958 bytes skins/WIN311/my_skin.inc | 235 ++++++++++++++++++ skins/nix/nix_big.skn | Bin 2007 -> 0 bytes skins/nix/nix_big/active/base.bmp | Bin 0 -> 182 bytes skins/nix/nix_big/active/left.bmp | Bin 0 -> 438 bytes skins/nix/nix_big/active/oper.bmp | Bin 0 -> 5046 bytes skins/nix/nix_big/inactive/base.bmp | Bin 0 -> 182 bytes skins/nix/nix_big/inactive/left.bmp | Bin 0 -> 438 bytes skins/nix/nix_big/inactive/oper.bmp | Bin 0 -> 5046 bytes skins/nix/nix_big/my_skin.inc | 235 ++++++++++++++++++ skins/nix/nix_big/nix_big.asm | 31 +++ skins/nix/nix_big/nix_big.dtp | Bin 0 -> 40 bytes skins/nix/nix_medium.skn | Bin 1434 -> 0 bytes skins/nix/nix_medium/active/base.bmp | Bin 0 -> 150 bytes skins/nix/nix_medium/active/left.bmp | Bin 0 -> 342 bytes skins/nix/nix_medium/active/oper.bmp | Bin 0 -> 2838 bytes skins/nix/nix_medium/inactive/base.bmp | Bin 0 -> 150 bytes skins/nix/nix_medium/inactive/left.bmp | Bin 0 -> 342 bytes skins/nix/nix_medium/inactive/oper.bmp | Bin 0 -> 2838 bytes skins/nix/nix_medium/my_skin.inc | 235 ++++++++++++++++++ skins/nix/nix_medium/nix_medium.asm | 31 +++ skins/nix/nix_medium/nix_medium.dtp | Bin 0 -> 40 bytes skins/nix/nix_small.skn | Bin 572 -> 0 bytes skins/nix/nix_small/active/base.bmp | Bin 0 -> 130 bytes skins/nix/nix_small/active/left.bmp | Bin 0 -> 282 bytes skins/nix/nix_small/active/oper.bmp | Bin 0 -> 1802 bytes skins/nix/nix_small/inactive/base.bmp | Bin 0 -> 130 bytes skins/nix/nix_small/inactive/left.bmp | Bin 0 -> 282 bytes skins/nix/nix_small/inactive/oper.bmp | Bin 0 -> 1802 bytes skins/nix/nix_small/my_skin.inc | 235 ++++++++++++++++++ skins/nix/nix_small/nix_small.asm | 31 +++ skins/nix/nix_small/nix_small.bin | Bin 0 -> 4113 bytes skins/nix/nix_small/nix_small.dtp | Bin 0 -> 40 bytes skins/subsilv/active/base.bmp | Bin 0 -> 330 bytes skins/subsilv/active/left.bmp | Bin 0 -> 606 bytes skins/subsilv/active/oper.bmp | Bin 0 -> 3734 bytes skins/subsilv/default.asm | 31 +++ skins/subsilv/default.skn | Bin 9204 -> 0 bytes skins/subsilv/inactive/base.bmp | Bin 0 -> 330 bytes skins/subsilv/inactive/left.bmp | Bin 0 -> 606 bytes skins/subsilv/inactive/oper.bmp | Bin 0 -> 3734 bytes skins/subsilv/my_skin.inc | 235 ++++++++++++++++++ skins/vista/active/base.bmp | Bin 0 -> 582 bytes skins/vista/active/left.bmp | Bin 0 -> 670 bytes skins/vista/active/oper.bmp | Bin 0 -> 4806 bytes skins/vista/default.asm | 31 +++ skins/vista/default.dtp | Bin 0 -> 40 bytes skins/vista/default.skn | Bin 1854 -> 0 bytes skins/vista/inactive/base.bmp | Bin 0 -> 582 bytes skins/vista/inactive/left.bmp | Bin 0 -> 670 bytes skins/vista/inactive/oper.bmp | Bin 0 -> 4806 bytes skins/vista/my_skin.inc | 235 ++++++++++++++++++ skins/winflat/active/base.bmp | Bin 0 -> 330 bytes skins/winflat/active/left.bmp | Bin 0 -> 606 bytes skins/winflat/active/oper.bmp | Bin 0 -> 3090 bytes skins/winflat/default.asm | 31 +++ skins/winflat/default.skn | Bin 7820 -> 0 bytes skins/winflat/inactive/base.bmp | Bin 0 -> 330 bytes skins/winflat/inactive/left.bmp | Bin 0 -> 606 bytes skins/winflat/inactive/oper.bmp | Bin 0 -> 3090 bytes skins/winflat/my_skin.inc | 235 ++++++++++++++++++ 178 files changed, 4788 insertions(+) delete mode 100644 skins/CodeOpusC/Opus_A.skn create mode 100644 skins/CodeOpusC/Opus_A/Opus_A.asm rename skins/CodeOpusC/{Opus_Alpha.dtp => Opus_A/Opus_A.dtp} (100%) create mode 100644 skins/CodeOpusC/Opus_A/active/base.bmp create mode 100644 skins/CodeOpusC/Opus_A/active/left.bmp create mode 100644 skins/CodeOpusC/Opus_A/active/oper.bmp create mode 100644 skins/CodeOpusC/Opus_A/inactive/base.bmp create mode 100644 skins/CodeOpusC/Opus_A/inactive/left.bmp create mode 100644 skins/CodeOpusC/Opus_A/inactive/oper.bmp create mode 100644 skins/CodeOpusC/Opus_A/my_skin.inc delete mode 100644 skins/CodeOpusC/Opus_B.skn create mode 100644 skins/CodeOpusC/Opus_B/Opus_B.asm rename skins/CodeOpusC/{Opus_Blue.dtp => Opus_B/Opus_B.dtp} (100%) create mode 100644 skins/CodeOpusC/Opus_B/active/base.bmp create mode 100644 skins/CodeOpusC/Opus_B/active/left.bmp create mode 100644 skins/CodeOpusC/Opus_B/active/oper.bmp create mode 100644 skins/CodeOpusC/Opus_B/inactive/base.bmp create mode 100644 skins/CodeOpusC/Opus_B/inactive/left.bmp create mode 100644 skins/CodeOpusC/Opus_B/inactive/oper.bmp create mode 100644 skins/CodeOpusC/Opus_B/my_skin.inc delete mode 100644 skins/CodeOpusC/Opus_D.skn create mode 100644 skins/CodeOpusC/Opus_D/Opus_D.asm rename skins/CodeOpusC/{Opus_Dusk.dtp => Opus_D/Opus_D.dtp} (100%) create mode 100644 skins/CodeOpusC/Opus_D/active/base.bmp create mode 100644 skins/CodeOpusC/Opus_D/active/left.bmp create mode 100644 skins/CodeOpusC/Opus_D/active/oper.bmp create mode 100644 skins/CodeOpusC/Opus_D/inactive/base.bmp create mode 100644 skins/CodeOpusC/Opus_D/inactive/left.bmp create mode 100644 skins/CodeOpusC/Opus_D/inactive/oper.bmp create mode 100644 skins/CodeOpusC/Opus_D/my_skin.inc delete mode 100644 skins/CodeOpusC/Opus_DA.skn create mode 100644 skins/CodeOpusC/Opus_DA/Opus_DA.asm rename skins/CodeOpusC/{Opus_DeviantART.dtp => Opus_DA/Opus_DA.dtp} (100%) create mode 100644 skins/CodeOpusC/Opus_DA/active/base.bmp create mode 100644 skins/CodeOpusC/Opus_DA/active/left.bmp create mode 100644 skins/CodeOpusC/Opus_DA/active/oper.bmp create mode 100644 skins/CodeOpusC/Opus_DA/inactive/base.bmp create mode 100644 skins/CodeOpusC/Opus_DA/inactive/left.bmp create mode 100644 skins/CodeOpusC/Opus_DA/inactive/oper.bmp create mode 100644 skins/CodeOpusC/Opus_DA/my_skin.inc delete mode 100644 skins/CodeOpusC/Opus_G.skn create mode 100644 skins/CodeOpusC/Opus_G/Opus_G.asm rename skins/CodeOpusC/{Opus_Green.dtp => Opus_G/Opus_G.dtp} (100%) create mode 100644 skins/CodeOpusC/Opus_G/active/base.bmp create mode 100644 skins/CodeOpusC/Opus_G/active/left.bmp create mode 100644 skins/CodeOpusC/Opus_G/active/oper.bmp create mode 100644 skins/CodeOpusC/Opus_G/inactive/base.bmp create mode 100644 skins/CodeOpusC/Opus_G/inactive/left.bmp create mode 100644 skins/CodeOpusC/Opus_G/inactive/oper.bmp create mode 100644 skins/CodeOpusC/Opus_G/my_skin.inc create mode 100644 skins/Grey/active/base.bmp create mode 100644 skins/Grey/active/left.bmp create mode 100644 skins/Grey/active/oper.bmp create mode 100644 skins/Grey/default.asm create mode 100644 skins/Grey/default.dtp delete mode 100644 skins/Grey/default.skn create mode 100644 skins/Grey/inactive/base.bmp create mode 100644 skins/Grey/inactive/left.bmp create mode 100644 skins/Grey/inactive/oper.bmp create mode 100644 skins/Grey/my_skin.inc delete mode 100644 skins/MetalColor/MCBlue.skn create mode 100644 skins/MetalColor/MCBlue/MCBlue.asm rename skins/MetalColor/{ => MCBlue}/MCBlue.dtp (100%) create mode 100644 skins/MetalColor/MCBlue/active/base.bmp create mode 100644 skins/MetalColor/MCBlue/active/left.bmp create mode 100644 skins/MetalColor/MCBlue/active/oper.bmp create mode 100644 skins/MetalColor/MCBlue/inactive/base.bmp create mode 100644 skins/MetalColor/MCBlue/inactive/left.bmp create mode 100644 skins/MetalColor/MCBlue/inactive/oper.bmp create mode 100644 skins/MetalColor/MCBlue/my_skin.inc delete mode 100644 skins/MetalColor/MCRed.skn create mode 100644 skins/MetalColor/MCRed/MCRed.asm rename skins/MetalColor/{MetalColorRed.dtp => MCRed/MCRed.dtp} (100%) create mode 100644 skins/MetalColor/MCRed/active/base.bmp create mode 100644 skins/MetalColor/MCRed/active/left.bmp create mode 100644 skins/MetalColor/MCRed/active/oper.bmp create mode 100644 skins/MetalColor/MCRed/inactive/base.bmp create mode 100644 skins/MetalColor/MCRed/inactive/left.bmp create mode 100644 skins/MetalColor/MCRed/inactive/oper.bmp create mode 100644 skins/MetalColor/MCRed/my_skin.inc create mode 100644 skins/MyTango/active/base.bmp create mode 100644 skins/MyTango/active/left.bmp create mode 100644 skins/MyTango/active/oper.bmp create mode 100644 skins/MyTango/default.asm create mode 100644 skins/MyTango/default.dtp delete mode 100644 skins/MyTango/default.skn create mode 100644 skins/MyTango/inactive/base.bmp create mode 100644 skins/MyTango/inactive/left.bmp create mode 100644 skins/MyTango/inactive/oper.bmp create mode 100644 skins/MyTango/my_skin.inc create mode 100644 skins/OpusOs_Blue/OpusOs_Blue.asm create mode 100644 skins/OpusOs_Blue/OpusOs_Blue.dtp delete mode 100644 skins/OpusOs_Blue/OpusOs_Blue.skn create mode 100644 skins/OpusOs_Blue/active/base.bmp create mode 100644 skins/OpusOs_Blue/active/left.bmp create mode 100644 skins/OpusOs_Blue/active/oper.bmp create mode 100644 skins/OpusOs_Blue/inactive/base.bmp create mode 100644 skins/OpusOs_Blue/inactive/left.bmp create mode 100644 skins/OpusOs_Blue/inactive/oper.bmp create mode 100644 skins/OpusOs_Blue/my_skin.inc create mode 100644 skins/Syllable/Syllable.asm create mode 100644 skins/Syllable/Syllable.dtp delete mode 100644 skins/Syllable/Syllable.skn create mode 100644 skins/Syllable/active/base.bmp create mode 100644 skins/Syllable/active/left.bmp create mode 100644 skins/Syllable/active/oper.bmp create mode 100644 skins/Syllable/inactive/base.bmp create mode 100644 skins/Syllable/inactive/left.bmp create mode 100644 skins/Syllable/inactive/oper.bmp create mode 100644 skins/Syllable/my_skin.inc create mode 100644 skins/WIN311/Win311.asm delete mode 100644 skins/WIN311/Win311.skn create mode 100644 skins/WIN311/active/base.bmp create mode 100644 skins/WIN311/active/left.bmp create mode 100644 skins/WIN311/active/oper.bmp create mode 100644 skins/WIN311/inactive/base.bmp create mode 100644 skins/WIN311/inactive/left.bmp create mode 100644 skins/WIN311/inactive/oper.bmp create mode 100644 skins/WIN311/my_skin.inc delete mode 100644 skins/nix/nix_big.skn create mode 100644 skins/nix/nix_big/active/base.bmp create mode 100644 skins/nix/nix_big/active/left.bmp create mode 100644 skins/nix/nix_big/active/oper.bmp create mode 100644 skins/nix/nix_big/inactive/base.bmp create mode 100644 skins/nix/nix_big/inactive/left.bmp create mode 100644 skins/nix/nix_big/inactive/oper.bmp create mode 100644 skins/nix/nix_big/my_skin.inc create mode 100644 skins/nix/nix_big/nix_big.asm create mode 100644 skins/nix/nix_big/nix_big.dtp delete mode 100644 skins/nix/nix_medium.skn create mode 100644 skins/nix/nix_medium/active/base.bmp create mode 100644 skins/nix/nix_medium/active/left.bmp create mode 100644 skins/nix/nix_medium/active/oper.bmp create mode 100644 skins/nix/nix_medium/inactive/base.bmp create mode 100644 skins/nix/nix_medium/inactive/left.bmp create mode 100644 skins/nix/nix_medium/inactive/oper.bmp create mode 100644 skins/nix/nix_medium/my_skin.inc create mode 100644 skins/nix/nix_medium/nix_medium.asm create mode 100644 skins/nix/nix_medium/nix_medium.dtp delete mode 100644 skins/nix/nix_small.skn create mode 100644 skins/nix/nix_small/active/base.bmp create mode 100644 skins/nix/nix_small/active/left.bmp create mode 100644 skins/nix/nix_small/active/oper.bmp create mode 100644 skins/nix/nix_small/inactive/base.bmp create mode 100644 skins/nix/nix_small/inactive/left.bmp create mode 100644 skins/nix/nix_small/inactive/oper.bmp create mode 100644 skins/nix/nix_small/my_skin.inc create mode 100644 skins/nix/nix_small/nix_small.asm create mode 100644 skins/nix/nix_small/nix_small.bin create mode 100644 skins/nix/nix_small/nix_small.dtp create mode 100644 skins/subsilv/active/base.bmp create mode 100644 skins/subsilv/active/left.bmp create mode 100644 skins/subsilv/active/oper.bmp create mode 100644 skins/subsilv/default.asm delete mode 100644 skins/subsilv/default.skn create mode 100644 skins/subsilv/inactive/base.bmp create mode 100644 skins/subsilv/inactive/left.bmp create mode 100644 skins/subsilv/inactive/oper.bmp create mode 100644 skins/subsilv/my_skin.inc create mode 100644 skins/vista/active/base.bmp create mode 100644 skins/vista/active/left.bmp create mode 100644 skins/vista/active/oper.bmp create mode 100644 skins/vista/default.asm create mode 100644 skins/vista/default.dtp delete mode 100644 skins/vista/default.skn create mode 100644 skins/vista/inactive/base.bmp create mode 100644 skins/vista/inactive/left.bmp create mode 100644 skins/vista/inactive/oper.bmp create mode 100644 skins/vista/my_skin.inc create mode 100644 skins/winflat/active/base.bmp create mode 100644 skins/winflat/active/left.bmp create mode 100644 skins/winflat/active/oper.bmp create mode 100644 skins/winflat/default.asm delete mode 100644 skins/winflat/default.skn create mode 100644 skins/winflat/inactive/base.bmp create mode 100644 skins/winflat/inactive/left.bmp create mode 100644 skins/winflat/inactive/oper.bmp create mode 100644 skins/winflat/my_skin.inc diff --git a/skins/CodeOpusC/Opus_A.skn b/skins/CodeOpusC/Opus_A.skn deleted file mode 100644 index adba5c32cdea5afa5b67b11c91daf640d5ca17c5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 13000 zcmeI1+f&=e702adI?eQ@FP-Uh`VaK6|3;?MzVxNdLp!}plenEWwd2^Xi@4a}V6c$^ z$BvoWiSZ~nPHZqS$XH-5;UWtObV2$Fgbj`aMht{v7pHk~KR+#AmfuAZDTY*yI1=Y~ zcF+FKcQ0pm&-wXJUjEr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H zx&MlpkW)$>sfY^_i+$%|V!1#H*c>EHH6qP-Ls1p8FeeE$37G1F%EfPo3sTK~e!S<> zJH*MjZ!(%h&VUKz;v)ing#8Hq>7hPNhiQ)a6`ur{E|)7`>|5@@2F5N(W*1ws3&!MH zD9^UFZ|Xe19n_fyI=6~gkGnh)FCIlg;(dlCAwHA}0juXS{Eba(Ts z*9-*1vA7V@tPtJ}jD_Nw5F!ymKZy)0A-54jO%8cxA;&(mFi28EGpdh8^h}4L&9TS? zePR&mIgW%;NN+?bbCc@Eh==KdB9!& zXL$}eV~dYrJ+dlUo1F0MJa-Yu@i6!qCOkgpd~2zxT;arAT;Zo*nMwo<=_-Vf)`z99T|A-~r-n_e&5gm++| zcX+tp=OZeyRpMrgSIkY+F*jSFBI#`ADtjFJnt;i>@&bJ4;zdbjn5sI486NFSO(v&u zCwWN~B~;)C7rC z6fn7=>V zuYuVv7gS)LLs~0GQz{B*GC?99Wr9R10+Vw)_hJE4v?G2E(0Ei!aY3rjF(39+byZRF zys^MMhqPAceg#DxW+EXH00tncor0GZ!fXr7*7h5D^BmMM!`!MOFbPmFnQ3Z=VUn%k zr5Kze&mk~UQ|;lepeSJCpLZT6mJ5SjAsfY&YNk1E_vG2mk;8 diff --git a/skins/CodeOpusC/Opus_A/Opus_A.asm b/skins/CodeOpusC/Opus_A/Opus_A.asm new file mode 100644 index 0000000000..33e8156423 --- /dev/null +++ b/skins/CodeOpusC/Opus_A/Opus_A.asm @@ -0,0 +1,31 @@ +include 'my_skin.inc' + +SKIN_PARAMS \ + height = bmp_base.height,\ ; skin height + margins = [8:3:10:2],\ ; margins [left:top:right:bottom] + colors active = [binner=0xDAD9D4:\ ; border inner color + bouter=0x93938F:\ ; border outer color + bframe=0xDAD9D4],\ ; border frame color + colors inactive = [binner=0xDAD9D4:\ ; border inner color + bouter=0x93938F:\ ; border outer color + bframe=0xDAD9D4],\ ; border frame color + dtp = 'Opus_A.dtp' ; dtp colors + +SKIN_BUTTONS \ + close = [-21:5][15:15],\ ; buttons coordinates + minimize = [-40:5][15:15] ; [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' diff --git a/skins/CodeOpusC/Opus_Alpha.dtp b/skins/CodeOpusC/Opus_A/Opus_A.dtp similarity index 100% rename from skins/CodeOpusC/Opus_Alpha.dtp rename to skins/CodeOpusC/Opus_A/Opus_A.dtp diff --git a/skins/CodeOpusC/Opus_A/active/base.bmp b/skins/CodeOpusC/Opus_A/active/base.bmp new file mode 100644 index 0000000000000000000000000000000000000000..189c06503f12c99a49fb6987054d0287a3486d33 GIT binary patch literal 606 zcmZ?rjbmZ}12Z700mK|YEDpqs3=%*RCp>JII?jW YRy4Vx6f1i2>^WBS9|u^tWHD9*0QxglrvLx| literal 0 HcmV?d00001 diff --git a/skins/CodeOpusC/Opus_A/active/left.bmp b/skins/CodeOpusC/Opus_A/active/left.bmp new file mode 100644 index 0000000000000000000000000000000000000000..ff9f477c6030fa50ff7b8add75e8446d7def8dff GIT binary patch literal 606 zcmZ?rjbmZ}12Z700mK|YEDpqs3=%*RC|J=4NUR#SFT>Zjz#_1OII#k$D;ns#YXhiXT677U%^`^~XTsSj;(g`pm^EQ1z=PG{M6MD1HGZzF~SNT>SRk`#|x!thi-8 zb$eIL-Z--xsB6NMDKB5WzIg3AF#M<17VKC&{qTk*M>Z~-GJX1&Z{M!nzH|B7wRuze rrZiVhX)K%EP&#|wy#N3Izx(j<>GKy)o;`=7g-aF##W4X;94i6~07Vf{7RyVj5_$zG?rPOSd;!MP}+uoRs zn26$(}SZE`+mkl`C6CWNd`bEsssJP4t!hSyG zKLmsBD6#42f9E8SSAHIwyl0kVwp6I>L=>Yy_ZWSUAWt4`JU!mjckWX;VE-W}*?gh`%;*!_p_0fU{{`p0h)n-G>Do(Je+N~X`8Fk03M(v;l z5B#cjOIypW3Qi#rip6VChtPY#ECqu8Fc;t=fk?DMT*Ma)d;9^1(^H zuYUNe`~yR$U7{Z~>N&Q3isp<6VjvQGJ|{hjSfX;(fr0f&M^T69C>?r{joy2ML9k)j zpcuBX9kk$qAJIj(OUVgHZMRzn18kLzsD_=c;`DQo+HeM=F>GsM>OtbcDh&x69$_T~ zT94POiIk)hi>$%^hwpVcSqA$$Vh7)rMkjb_5Y9_mueMBp@{t$kk z`T_w3=W(6ZbD=M+ABYVaL>d(~JOll)^SwcBr-MCtjLas~A&wXChr+et1V$>o4!lfm zGrPG(3m*7a(&NLJTak|QFZW&A_#;9(tGnq7JOFquai f^{VW~<9y+F93(D}jxyvtQQvob%`&+D4`TiXl-Sah literal 0 HcmV?d00001 diff --git a/skins/CodeOpusC/Opus_A/inactive/base.bmp b/skins/CodeOpusC/Opus_A/inactive/base.bmp new file mode 100644 index 0000000000000000000000000000000000000000..bfe637271f80080fdf054dd0410610049c9e43b4 GIT binary patch literal 606 zcmZ?rjbmZ}12Z700mK|YEDpqs3=%*RCU@-f4|@ literal 0 HcmV?d00001 diff --git a/skins/CodeOpusC/Opus_A/inactive/left.bmp b/skins/CodeOpusC/Opus_A/inactive/left.bmp new file mode 100644 index 0000000000000000000000000000000000000000..302f394b88b273e2585e4bb131704f575ad8d9a1 GIT binary patch literal 606 zcmZ|MK~BOz6b4{);}P@-p1=dR_X=Lc=#D_5ktUcl62*of3nL+Ex*=gjfYMGoGqfEf zhLA#$Q~1-VUC^<4Z<6`m%S`j;^6L7ylztaj&ygp{Q{++U3@a?Fr<-iKuhqDi9|UT9 zkM>T(=(*Lpt5$Ey>B z{kBr+^m-HGS%U%Q`JidiG5@D#b7CtCn_aAcIpQkuK!7+y85srJ@ zW1Kloe9--M>6DT3Bd^!f)7<#P#OUeO)YQl2<%{tX^9JV^r?XFeb-BK|-RoYj+voEJ z0=`hl&+~jdeh2lN=ifRUpH@}`QObzY1t*)Rm6@#t=lg{PDk~>zXN_$6hj#-FUoYIl zT1a_NBj%|f<i4y^b*CYx>yo-b)FLwz>Me}m%t(?woB#lZ>!;VV@yoO6 zvkE+@C8+F>-oi*YQ`wvi z*$YngrMjj(lywMA0wx@bN0X^oDjiD;my}9J;>l1nwz;)s<)p^vFUBEiB$rmB!6`}! zVYfFY+l#=as}2fShuB)ILu@Tubyb;Uj}$STkOWDQo)JMDwSn!Rl@re-MtVQK9JFjT zf)g)iLde*|85c6hPb}_9d;2s?Qa~gp7eO21c`N6jMuSrn<7t~X(Z_%+l$3o{D`^#0 z#qt5-K#jy=R!)Z-+hO35=prMsjLR*Yr9oL=cx1C6P9gV<$f@StErc zg`P&jiG`py=T%G5u+|}r7=b)&G;7TxR)`oGtD2BC7D*E)HBv};Y1wKdoRLJbFV1)K z^HkP-AKNKN%XG;mO3G-mR93Z`UTZWPt#-40%nA|2)oLx5H$Hl-oi!3RY9yCdBREqz z(Kb%yK+_w|W~<#k=^S@XSs{XWt=^Cd#-`N7IjE6v?!*#!)Xn>NI+!R7WjtlMP(Nz5 zj!#Zb&pK!4tiX(Tz0txwR?hy7JBcLv$e6d;9KO{yaAL26R*`YLbNc7+xmAc0NZiSe z=Rn3(HcL41QRSn?(tY!I(pPRM>kyhJ8KdoMWP&8XeHsN(EUD^tB=T}{5}aYexmzgo zFHx4|QmLpYil(X6!-|gOq@mw2AtfYy?sw&uWlvPRI`@FQs;rJiK{R2BpnX3Q* literal 0 HcmV?d00001 diff --git a/skins/CodeOpusC/Opus_A/my_skin.inc b/skins/CodeOpusC/Opus_A/my_skin.inc new file mode 100644 index 0000000000..ccbb3c191c --- /dev/null +++ b/skins/CodeOpusC/Opus_A/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/CodeOpusC/Opus_B.skn b/skins/CodeOpusC/Opus_B.skn deleted file mode 100644 index e7eb7b93673171e2455ae54246c018f09181afa4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 13000 zcmeI2S#Mj%6@cjkL4&^Zr9e>h5A?BrBPiOJ{)IMqX&%xAXcNavTscr|3Dj<_iS1gd z6<0Q7T9%U-v1DtpsMQoH?z~(?Nu;PPlI5j<^IeWS8r{oFQm!PXOsGS8?wOf;=bPos zopb#A-@N_1V>X-Z=Y0Rb_Y~i^`2N)PrtLM`>$XrVZoAmonf+Hy|B5ohm#VT~U9W#$ zym*lFj`*GPMJ(t7?e{v6qVZ8q%}Hu8_z5){(QjsMa{3y#@t z(4g13zVK^)_`JziZ)5K*hn4Vn^XJ-)8z?t6H&dC+(($9Gw z%IggkJ@x;*)YY}Jy5^5)-K{mfH7BMV|MGrw!+Won{)o>fec?#ki9Zc~_NlAC%lXBH zk;~QSXFPN0TR(gk?y;*4{2~TDC3p36URho!Mfpc_UVm5<_fhpOuaEZR(EI#3^|Stf zKN2;UcLxG~EysO4!B9ZUQGU)s?+b+kTFiWZ8WW6K>Eq_|K`olIJj!4!PXG6u|NCG^ zrR+DRTqqjzg~L~ytJ_Y##|;tsS=XE7w}t16)jaxt)SD-M`Dqvzbp@AM8vBHmV$`r$ z*r75L-MBVYVrVh97+p*+1{kwiwA}O!I{XiA2Zrv1M!pI^yc==e(g(K>+`rOr`IEop z7s{CLiL(8}Kjs(8cgjeg1A$Y#h^#>R*lE=cF7{)ZGZrdpkb87^}+6+pMozxDLl z_VfRm1wFZxF_7wv$KR={(%Ra#+uNU+rMY>#u12GbPWtsV9?d=jCj0!+V+zK#&8=@A z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xiylobV<43LOR86c4r!Q@2Dxfl&}hQ(;$RdX>xs?9OK z?5TCtiZaa;i;Q!~){45XP*KO^{~2aI<42EqZ*ZVsoP#oE%>7o>F=KkPk6RrvCea!m zN`v#nIRqmmM!}0cH_#4lAFZRh+}hw`Apv$-h>9%suQL Kuv*Pl6aPCtO!HO% diff --git a/skins/CodeOpusC/Opus_B/Opus_B.asm b/skins/CodeOpusC/Opus_B/Opus_B.asm new file mode 100644 index 0000000000..8aeec97732 --- /dev/null +++ b/skins/CodeOpusC/Opus_B/Opus_B.asm @@ -0,0 +1,31 @@ +include 'my_skin.inc' + +SKIN_PARAMS \ + height = bmp_base.height,\ ; skin height + margins = [8:3:10:2],\ ; margins [left:top:right:bottom] + colors active = [binner=0xE3E2DD:\ ; border inner color + bouter=0xA6A6A1:\ ; border outer color + bframe=0xE3E2DD],\ ; border frame color + colors inactive = [binner=0xE3E2DD:\ ; border inner color + bouter=0xA6A6A1:\ ; border outer color + bframe=0xE3E2DD],\ ; border frame color + dtp = 'Opus_B.dtp' ; dtp colors + +SKIN_BUTTONS \ + close = [-21:5][15:15],\ ; buttons coordinates + minimize = [-40:5][15:15] ; [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' diff --git a/skins/CodeOpusC/Opus_Blue.dtp b/skins/CodeOpusC/Opus_B/Opus_B.dtp similarity index 100% rename from skins/CodeOpusC/Opus_Blue.dtp rename to skins/CodeOpusC/Opus_B/Opus_B.dtp diff --git a/skins/CodeOpusC/Opus_B/active/base.bmp b/skins/CodeOpusC/Opus_B/active/base.bmp new file mode 100644 index 0000000000000000000000000000000000000000..3fe28b36a96c6e38dcee41a6b9b8e29437c535d2 GIT binary patch literal 606 zcmZ?rjbmZ}12Z700mK|YEDpqs3=%*RCh0UN9z4KQf92NgTlcY;bNS{ipi?o`U%qh@tN5ks zH*Vd-qWSeW%>Md(>vEsZCy8| hWzB{S|NsC0^ySN|w{Ks*L7+`rw*bX40Z<$(0sv=&jl}=} literal 0 HcmV?d00001 diff --git a/skins/CodeOpusC/Opus_B/active/oper.bmp b/skins/CodeOpusC/Opus_B/active/oper.bmp new file mode 100644 index 0000000000000000000000000000000000000000..f2f7f1424f253b4178c2e9e25f70ed7aac3a7066 GIT binary patch literal 5390 zcmd^?>24ZV7>1`e&|j(AOUM=E0{TCf(d1A2qfIKcjn}w1LN`Hj0(nkxlG$ ziR2_+urXlFVrB-I88!n3YzP=Hk=hp~njVI80Vt?Ruf$KW>)ty(&nOb97tvBkOe zKyy(|YCTiB4VTF~GvWKq=AXN_J%4{^aVoSp{jn*qFgZK^!;D=YPo?8R>J2A3N;xwb z1?QsSCrRKWqiB=2cZHV`bhny22AIzug({FBi1P()I~7r>LWqtGdw?q5DCSc!&dor;7u@lO z!hvvPI}#-Y2maP}aLwbvjC68-2Qamo85>KCk8>IgPYMovwVJ-83Xq&EpP~~<1?mt+ z513Gljxy{n8{ds5I>g2!G_$iC^ZNZ=oc8`3Akk`5Lj%wMZhz1)7z*U2Mk9==!=0Q0 z{{P!K$yr2Qk*W?Fs6%8Fb%>0Tp?9@0`Y=u7yRn>5Bs4}NDLC*E4eSKvoPgBp_ardD zcC``Jjx$}HQKdLzi6qKBm(2;eJrWXaILS0K7uwpm=ad3J&~qK2OKva!#YMh@{zUM5ijd$GQE@4* zTZ<`e@4qQMpLCK7D#eL6B=Yv^sCjg9+B`iY1!nk&qK}*t8w0DgDb^u}>>%7rOt7oltD z8U5?gf9Cx6k^2yJ2wyLvg7zGBL5jdF)c5^fX+b`lOL+bWxPNsFe2sjjv$2m z!GjYlB;#=Ih57E`GMss?*6vG}^MwA0dO(#?ccltCST?_0vSyfO5GOfdcI8aSuH(EK z#!I82IF~W}Z^L1$*ZUlgN3Q$NWda+BlH%A9=s1l8kK>}BfJ+?@BQ9jo?*}0h8o$p2 zE#EM%g_UZ56 N>2S)VI7T^vp8-Rhb3Xt8 literal 0 HcmV?d00001 diff --git a/skins/CodeOpusC/Opus_B/inactive/oper.bmp b/skins/CodeOpusC/Opus_B/inactive/oper.bmp new file mode 100644 index 0000000000000000000000000000000000000000..453e3ea2a07445262d79a97e09bf94c8e486c400 GIT binary patch literal 5390 zcmd^@Ur*Xl7{>yLht82&hKzc;dq1Nh42<lUZNc>DD_fn~NCbOT*rA09#Nun%2 zLuDmtetG%Z))r7z!|ZdiiSo>BFF3!ftx@ruterKo?L;b#fgcv`VJ)ORsuAn7Y(&IK za^2b6-T4&{6;Ip|3GVIUDGZ=K!ALk2-H2d5F(e@4zf;NdLGmEO3q0t>J-Cyd(kB?f zshVa<)1%=`WwV*1<3sTzdm`neJS#*HKgb;=_V;#|Vak+~eW@O3kEISFd%%cA zIbTu=ids<1cciG2Tskfk(}#yVCpCVYo`$HAT=K?{Q#a&_)}PM-Hg>h3i&h;pP>0xF z)FHN)?fO?6L!QVoQp9q?!zL-xGa`tiH+y`AuPePA zR~^EP5y)n{<9E(jArfZnHB>Du9s``zNFm{+ZQe*Yr6D2cTUf{?d}CDL=boVmTrb0daRu_5;kfim%K6L)C|;Ncpu;2Qb;t$!s#^q zR=d+a@19>?b+4{jA%eJn+P10|&pE0QoTZRcj)v2=EzH~5#pT8I&E?H4D=;IDUfjcT zj%o}!bseA85pZI!gHe%j7m&Aqcp*+8aVNWOM>5Kq25)aZb+HhZ?#I_HedWedhcG+EbuL(H*2MK=x{2h{@ literal 0 HcmV?d00001 diff --git a/skins/CodeOpusC/Opus_B/my_skin.inc b/skins/CodeOpusC/Opus_B/my_skin.inc new file mode 100644 index 0000000000..ccbb3c191c --- /dev/null +++ b/skins/CodeOpusC/Opus_B/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/CodeOpusC/Opus_D.skn b/skins/CodeOpusC/Opus_D.skn deleted file mode 100644 index 0878cfb88eb79f46bb94affaa7b1187212d723b6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 13068 zcmeI1*>ls^6~{#~oyqj2edtW5GyMbl*ncC_XI(R;ormlF#qld+zUi z?{eyI%J{qsJpLp^U+t2uW0Y3bc*UGo>*RcBEW}Etzjq)wFSt@Due*SA4 z7HqNI!Jrp;9{(*rd|u+K*?8{qr&h%4ji1vWT|>CE{3tfJ5S@8O$Io4S^!4N6(Funy zbnfi?<;RN3iw>VCEGRj9es&=-=nEe&Ej@K8ulnN)tv9c?epW?)_##sS-qE}rum8Qg zxbA9YRmFQ(-z`IachHSIck8R*{`CD*{6d=C?jGvy`mcE3se&S9V3A2GJy?GBjAdptphf6Q3FZzSjln8^FRqt2j-93x$UsIeW4 zbOuf2&OpQ!GLr|RL%}Hhe?0H4$`i+AzYPV)p#g8OtfVA==T=?>(a%gpBmF-0e6gBG z|BG_t#LqqnaM-r zTYsm&vCiJyXm4$HwB7wdk+ZeAtEQTL1Mh`9WG7)ikv={pbLHK#Ywx{t{ck6$Do%g) z!P#5qE2=Mj@cAbf*GreroGjeCJ2_Fu*et@lt*;~}>fEim-rG>a-pFRi*2l((8%~Mt z^nrbnj4)Mo4AVWDnhL;9r}yF4->iK5osp1JN*x_i4db>y?JIB=o|q{ zd9XABmZI{R*WS1Z6`xuZBp!>(rwhuW`Gv#46pD-{Ym-x0Mqq{~XJhkAGl>WD%PWfy zzfuVa^61>6J2Yy9xxYAg`1k~%#L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z<~cI8~8kk&4=A2FBX?mkL22enq_uK1rJ{f)lPuys16M zkp?F7=EEf8!%HzZNv=d-q^6t$FyBK_z{J^ZK1^vauTDZbi~_Gfnna5tRS}q45+N{# zTwP7c`3-SF>Hs}IzRw#ZPR4zcm>H2XU;;V&h=3mf1QF_Ec>>ck?3ZOiV5X5Pu?qNE aMa8UQOIE>{p>J*tK#Q YR@7WkiWS{{`~oZbj|242U4j(>0KIQWF8}}l literal 0 HcmV?d00001 diff --git a/skins/CodeOpusC/Opus_D/active/left.bmp b/skins/CodeOpusC/Opus_D/active/left.bmp new file mode 100644 index 0000000000000000000000000000000000000000..0331aafc3e558b801f401243426277f3473a5840 GIT binary patch literal 606 zcmZ?rjbmZ}12Z700mK|YEDpqs3=%*RC%q8sNr!E4Wim86j zsS7}-Vv6rNdH(1{EaE$lpU0|x$MLgAFI|V2v!J5^9zHvcojrOHD!!zz9WH+9<^!O3 zeq!wGmYPiqW-Xi01=LmBGxf=f*Ff`u;on}8zh=&~T`LyvTDh#Tf5ykJ-_BgWd*afy s{+_;;>dKbNvgV4?&gl#P|NsB${l|MxU)+9-K>c%<0L3u@P#h})0CfajumAu6 literal 0 HcmV?d00001 diff --git a/skins/CodeOpusC/Opus_D/active/oper.bmp b/skins/CodeOpusC/Opus_D/active/oper.bmp new file mode 100644 index 0000000000000000000000000000000000000000..86a37d2bfea240f47e91044ec440d44aa3dbfe4c GIT binary patch literal 5390 zcmd^?Yf~Cm7{|9?ps(6#KSDo2KS1B-b(6`&>(m%6;0*;Y1*6qkZOu$-E}bThlf;;j zVq!#)n}FPwo8b3dG>kEnLWSrob&ANS7$!{ zlq&qb#Q6&xXK;Lm<0I;GoGB{uN#U>Lyn04|q4-tjDo-tSRnopbi#O;Du0wgw z+ryGmYVrr^)Q^|%{4_LuW#qxtvDt|$vYS^Q-M;YwO7`nSzu;28MB)s_=wR%alN>0U znT&#SRLCoe%}I7AJCgR8xJ}g5aI(;b?84Y^3aY+7S!747Q%5L92cjHsGLY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Ka-L1ARDCa=FwvuD3d^)3f&Pb5@8TUaB=iNo5nG z;vCdSIL&-mA5Jlut~A?6onI$s7oGDpv1obCuXm8DyU?`0%ow0(C(?^xmu_-ij8Ku*{Zcp8V^iJ2}xq3hVP%sI^+qBe)-Bxt{8_* zQ>!NYn6T{Nu`3KDve-p^9Gl|O#p%*!%wjB9VRLYIb{NQl> H590m+BnGrv literal 0 HcmV?d00001 diff --git a/skins/CodeOpusC/Opus_D/my_skin.inc b/skins/CodeOpusC/Opus_D/my_skin.inc new file mode 100644 index 0000000000..ccbb3c191c --- /dev/null +++ b/skins/CodeOpusC/Opus_D/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/CodeOpusC/Opus_DA.skn b/skins/CodeOpusC/Opus_DA.skn deleted file mode 100644 index 47fb95249ecdb2acf87aaf758d77324adb273451..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 13068 zcmeI2-&0&g7RM)ATV?HwK3HX0zU0sJdYN zYx2#{g9i`R+nIc`Y<|qL+5g&uKe?Xd?=i}=56fo#4*t%p|LbyHdDcb!4%c-WneCo> z&V>d$Tz(XKoac*w;fK!?d`%s_^)*h!>-A5iw+iOh-+Z&QymWo(x}@?W?z{KyP0!9o zjaYeQX>Rcc|2>$qzv#Wvin7(4tI>Eoza)3xM|pcj2ggHEyY|8G1fcYO#>3&L5!d+>lanz!emD}b@L_+6J#p8w@ zKV}&5X`A+RVoWC(|9A8MbI_9~$8DWI9f?lm74Ls@&uhF0Vw_ouI=z^By*RC-|3|*Q z@UxG@yvXgFeFf|jR*G4}Vqu4}j4-a4SPU(e38RbY#Q&kuL?js$*F^u9eESw|aMHg(kV zYWxf^@$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CYGN~E?DrbSR9CEKDVS)`x|GhuLp$q39eb0tz+33H=@z~m~%g)Ad5Q9GSn zi4Ic=%6a5CC(AO)A_doBCKw!Bm~!=63Y%qu(#(}eZRKoAK>{Nic)1wizZFA6|;WNpd9uBQ4bt{uP42B+5c;X8U2Hxlou_Cm{<)fp?>V z=4_g|5;KXQuTm$@rkEggg0`+aFfv4(jQgg{l>j;Wh=3mf1QF_ELYYn5uwRxjftg0G g#3|tC6cuxdEja~aWboQ)yZpi5(h+dl%}$H`CuFI!(*OVf diff --git a/skins/CodeOpusC/Opus_DA/Opus_DA.asm b/skins/CodeOpusC/Opus_DA/Opus_DA.asm new file mode 100644 index 0000000000..8490316c4b --- /dev/null +++ b/skins/CodeOpusC/Opus_DA/Opus_DA.asm @@ -0,0 +1,31 @@ +include 'my_skin.inc' + +SKIN_PARAMS \ + height = bmp_base.height,\ ; skin height + margins = [8:3:10:2],\ ; margins [left:top:right:bottom] + colors active = [binner=0xD6D6D4:\ ; border inner color + bouter=0x8C908A:\ ; border outer color + bframe=0xD6D6D4],\ ; border frame color + colors inactive = [binner=0xD6D6D4:\ ; border inner color + bouter=0x8C908A:\ ; border outer color + bframe=0xD6D6D4],\ ; border frame color + dtp = 'Opus_DA.dtp' ; dtp colors + +SKIN_BUTTONS \ + close = [-21:5][15:15],\ ; buttons coordinates + minimize = [-40:5][15:15] ; [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' diff --git a/skins/CodeOpusC/Opus_DeviantART.dtp b/skins/CodeOpusC/Opus_DA/Opus_DA.dtp similarity index 100% rename from skins/CodeOpusC/Opus_DeviantART.dtp rename to skins/CodeOpusC/Opus_DA/Opus_DA.dtp diff --git a/skins/CodeOpusC/Opus_DA/active/base.bmp b/skins/CodeOpusC/Opus_DA/active/base.bmp new file mode 100644 index 0000000000000000000000000000000000000000..0eba00caa2f3f5cdb44be28244a8f848d8094b7c GIT binary patch literal 606 zcmZ?rjbmZ}12Z700mK|YEDpqs3=%*RCTK6^r=!OP7FF zV5&cV@#3YcS1`rTo6+eCU>_u$qPo6z<@yaDkb55Q6cH+dvOBXTCKYHT$1(}uveOh6B=hTKJ z>*r2g)C<(rJ+b%2s}~n9Uj~MMRa?>gRWsIXU$$>?Pdf5+#75QV_)UP5TeW**;{EW~R)$MP0sI}v*+x7e*D9a zxxLS4I3L4t9LFa(KHxsZnd7EE+WXpf5>u(7m(EnnojQM__;j}H(r4QuTM$x+*ax{liIHsbr>E za8_u_WPy`r5!1_aQgX3MSAPD=xxEbX3|}((<=oZS=5m)1g9uT2|*|T zCjfxq_VjtY10L_7Qhfvc$TC#g#b--SUbn}ImQc7j6L-wLk4^(zxc0461 z&hv%g^o~3j85!qI49II++Ja&CTpF`Z67enK_BxCkGpfpAd4 z`Av2{brPKt^cj=}BFIc?WFTF#JlC@J#6XrwTlz?ffL0A6Ngb!Byp3J&~7 z3k%UiOv#Di!k`)ZyD6kRp77BN>dw}EoB|&VhYsdcZlTOMlIJ0`9wWvepFUe(fBu{b z4p5gKr!fxi;-ru{@d2DXKN-r8Q>DHjOZnVKI|XY`PEolUq4i7YrOfIo7+=2J*!X>u z3J(0`Oh%ZJ{*@Du^6h$(v41869;AU?d|Oy zDmd_w6=$ZDoLZ+1HzAw13=*6S6-730H8$%R!kOfg{y>2^u|uxEc(J*;_4@Vhn>T+@ zff+ussH5b>_Gt7t**a7=*h|IMA%pAJ?EOhN6MWJam@L3}nwqr$0LIqV&hGA?O2KE4 zs7a?iir6q1DkYR-bO9hy2Q_W3He8#XxA}9*x7?AeL->1!3fe=I1Id749{#d|Eb7?Z z9eodb@M`vL=~v*KeKeOH&n}NGe>n&3y+aQ7aCiU1o`Er!cicVX>mT-e-YY%udt5_~ ziXY4H{)wlnwP$PkIs;d!`M${X!wprH_KMN0$L5rpp5ETsG2S+D%bDe3Rc0lF)f*2I UW=kW-o+pa?jJH`1$Nxdx--U026aWAK literal 0 HcmV?d00001 diff --git a/skins/CodeOpusC/Opus_DA/inactive/base.bmp b/skins/CodeOpusC/Opus_DA/inactive/base.bmp new file mode 100644 index 0000000000000000000000000000000000000000..1b71a6efa6b9493ede93916ea7bf7d5f8d41115b GIT binary patch literal 606 zcmZ?rjbmZ}12Z700mK|YEDpqs3=%*RCf#Xzj)gqlgY6uzvF< gthQXeaUCm~Id=|L^yKLitmyfR=UCC4g>$hY0NK=qZ2$lO literal 0 HcmV?d00001 diff --git a/skins/CodeOpusC/Opus_DA/inactive/left.bmp b/skins/CodeOpusC/Opus_DA/inactive/left.bmp new file mode 100644 index 0000000000000000000000000000000000000000..39424c5ce241b5c03d270a1c991823b7f8c2ea36 GIT binary patch literal 606 zcmZvZOHRWu5QYmYZU9H%1RQ`pSKug!s=$JWXr-d^a0(S05JbF$cx_P|J57RLAr+ex zH4Vq$r;WnGw*DDuKL0b4$IC0Lvz5tNLS977A?6V?l?7z5;(k&TX}i9w;@A|pj5WAW zikzKRw>H*lRp^gvaNR!dG!B{<*H`Y{Ed(xiXWzP4*P}n#N0zB6Av%t4<&u84`_ZSmOnsa)Lmj0WE`*J@$N`)-^k1x+9?^2IT zxxQJubY0r_pWa^4wbR&}a_qlFPTsvP{zxaE`^`G`5GM&r*zje?ZRf}#EpmwEq~F7A YoQ<+kDbjHUUxRd*j`KYK`4_lVzjV)oDgXcg literal 0 HcmV?d00001 diff --git a/skins/CodeOpusC/Opus_DA/inactive/oper.bmp b/skins/CodeOpusC/Opus_DA/inactive/oper.bmp new file mode 100644 index 0000000000000000000000000000000000000000..570273e96d112a5f145ade6b385da5b1ddd388f1 GIT binary patch literal 5390 zcmd^@+fEZf7{}Ka@JgeP;1l=&-t#!d#0w)qz3>nrfe2bq;-w1ZT&U9YNYCva+U`=? zvOv2)fyx=Z^1mIJ3_F#yNV24o|1PuN?0@(B?Ke9+@Sx-7ZK3{iANzaQIc7tIlx()`^|Jf5@T9A={nYv5nd8$(Qa?GHF*(1DIh)kT_?UBYV$wA;)oqmoS?3%w$AavWL^{`Qh<-y#c>37zl)dtPnwb-s_ok zO(8i8XRAiSnUc;p`5HEiT**9y>;bb7jl>f1crp=BCC@3Dh{U6zNO*4kJI_gt4t6`+oUIz`oJu@p6Q`so zfXo*PC0*B7R#_EFCB%UmjzxG*i;+GfT%n;6oKi-KC6o5l6Bvb35y_P+M#WfXg$UwH z#bP3DCdUqb9I{3VNg54}Ca0oA6N$#0me-XYUe!E=iV?_-&1!XPixncsczHz^6?2lb za8e_MgqOB?;~8hHDbBuueky+5N1p;3NXv4_CQ914<+8q9HViQC?9^&McUd8V_*%Iv z=gdV6YiEswjT*@zZv>~PD7c6{ocgM6Le^^g`v(UHhpZ4md}DJ{(Q-UztHydg<#5y{ zPBpJqx3_n9_l}N^PfmWZ0yE<1#W_4@^TtR#hBA_R;#+M)J+aooU6JwL-r@1_Z(fKK zNSw)z+m?)JSt6X0EH6Zw{ zGit7Rrbx@SuS0e~|D8+1*y* literal 0 HcmV?d00001 diff --git a/skins/CodeOpusC/Opus_DA/my_skin.inc b/skins/CodeOpusC/Opus_DA/my_skin.inc new file mode 100644 index 0000000000..ccbb3c191c --- /dev/null +++ b/skins/CodeOpusC/Opus_DA/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/CodeOpusC/Opus_G.skn b/skins/CodeOpus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avTr?2=`fE@A|{T4uV9+QiXzqU2~B?(T%AqH z^-T#uY6m?#-90eMIT`y+dJ};rl(SDb@Z$hM9QAP!2u;glzbpfxnMSU}?#$2bRLt&d W$?h;F`CR#-^jWun-E6iS?Ee96^{|ov diff --git a/skins/CodeOpusC/Opus_G/Opus_G.asm b/skins/CodeOpusC/Opus_G/Opus_G.asm new file mode 100644 index 0000000000..7c3b918e53 --- /dev/null +++ b/skins/CodeOpusC/Opus_G/Opus_G.asm @@ -0,0 +1,31 @@ +include 'my_skin.inc' + +SKIN_PARAMS \ + height = bmp_base.height,\ ; skin height + margins = [8:3:10:2],\ ; margins [left:top:right:bottom] + colors active = [binner=0xD8D4D4:\ ; border inner color + bouter=0x928D87:\ ; border outer color + bframe=0xD8D4D4],\ ; border frame color + colors inactive = [binner=0xD8D4D4:\ ; border inner color + bouter=0x928D87:\ ; border outer color + bframe=0xD8D4D4],\ ; border frame color + dtp = 'Opus_G.dtp' ; dtp colors + +SKIN_BUTTONS \ + close = [-21:5][15:15],\ ; buttons coordinates + minimize = [-40:5][15:15] ; [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' diff --git a/skins/CodeOpusC/Opus_Green.dtp b/skins/CodeOpusC/Opus_G/Opus_G.dtp similarity index 100% rename from skins/CodeOpusC/Opus_Green.dtp rename to skins/CodeOpusC/Opus_G/Opus_G.dtp diff --git a/skins/CodeOpusC/Opus_G/active/base.bmp b/skins/CodeOpusC/Opus_G/active/base.bmp new file mode 100644 index 0000000000000000000000000000000000000000..2e83ca1e8e9530eb017242944628809dcebbfb2a GIT binary patch literal 606 zcmZ?rjbmZ}12Z700mK|YEDpqs3=%*RCtyBz@ludsBGTUQ8a)dFn9M> YtSGyy1uJ^|Y4pajXK^6z9#}q$*{>r7x z*D%G;oxgPH5*G2ZXR(W)K6CNX#jBX+oH~6T=p;<>lc%tYA3t&S!o@3?>W>{ia~_-c z(PO92U%;XsD1PC>WlVF996fa&CSE>&8a#ZE#p{;Nfs5a~br+~Uq$IC+*2IaM*EB4f z2h`QkH~IO?S3rLO!#}O7sdwG-*}JyP-MzJE(zGvMzFoU^>%yh0%`>Lub+_kqw`O;> hOrACG|NsB*-hFuT^!ei_&){gr{KY_VOaK(eiU1U}V-WxV literal 0 HcmV?d00001 diff --git a/skins/CodeOpusC/Opus_G/active/oper.bmp b/skins/CodeOpusC/Opus_G/active/oper.bmp new file mode 100644 index 0000000000000000000000000000000000000000..1ba9faa689114af13bfc207a6e3f1dd3a0c305e1 GIT binary patch literal 5390 zcmd^?TTdHD6vww;piiyZkI+xh50Lk$Me6M#QdFs`DkX6mY{wwtU@$hmfekc>Mhdh= zg;EliOM;f8TMd`)+N|z52fIH2vLrbB}TGXVXys>n4M__p(YZ)oTG6i@xBb zM=4~cqu~6)pyUNkItrV9yePyszcQ*X-IARx^x^yS2Am&=ubwUXL9A0QmSEYrzw^oe zBN+5RiA_iUJtu+e=<2>d@DO@1_=py9B8pj{M~pF``Jwn)<<~vp%AX|SKB3@86n*#y z!HIm9h7$n57#Odv{7=_&q1a!o4fzbQ3W$%d+{hJ~t<4InD5JVGT8 zf-@S6hr?V6@(Io{tHVC!oN~Aw)1DdUEG>B8w@ywEj*O#c5hvK>HKVoi2}P}~PGP47 z5B%~POSSC53C?Id6pof)AHwJXs@~pJ}}g(S-M%Ln7myxT*Mg+p2A7bB1)9sbzq=A=_vLgI!cF5voU(lY!GZH8x)UN zCZ|Qp2~nHFCFBI8s=>{J0k+6SwC?uU2~Kv-A7EdePkM;|1!pi6#j%!5rWWSYG$d?z z5{X67I$T~MXM@tE)%ctAERDzK7Jf~mPpPodoS024oYHVcqj5l{7MC(h%a1czTEC`$ zgCD4FZ?K5-GpR_e@)&dxV>8!cO46vX;c0H-^xBZB-d-U&-iN^H^_7Sd80mBdcq`ep z)!aHQc;HW^GX4-NsS_KcU&=gQ z$*pa!Z|!dHKG}If3m*7$*%fwf{vSC3+18rkQDMB`6p`=3`5BII*u6``xtz^yZfx!D z>>cbM{eW-OB7e966%eF$GqP(gc!iXaIv zoM-=7K@@$y9UbbKwl|r3Kaz-$&-sP)Q9kcYJUYL+Y?dGF<3BnkdS`5XuBrQOhuJgp zi`V&D$?SD@PmX`7tHpv literal 0 HcmV?d00001 diff --git a/skins/CodeOpusC/Opus_G/inactive/base.bmp b/skins/CodeOpusC/Opus_G/inactive/base.bmp new file mode 100644 index 0000000000000000000000000000000000000000..d7175aed69ca261225fcba1c3a1ccb74e691638a GIT binary patch literal 606 zcmZ?rjbmZ}12Z700mK|YEDpqs3=%*RCtyB+PZeEXwBL!qi6s_;Of;| bSka7`3$dcdPo7~#&z`@;ie}7Tj1>U@HmZc@ literal 0 HcmV?d00001 diff --git a/skins/CodeOpusC/Opus_G/inactive/left.bmp b/skins/CodeOpusC/Opus_G/inactive/left.bmp new file mode 100644 index 0000000000000000000000000000000000000000..f336be20e67e534ff32c9a06834bc1c41fa21b00 GIT binary patch literal 606 zcmZwET~5M45C?Gd$s6bqJb?$`-79z#6`v5JMj;W3ABY;2MAMj{ycl1!7D_4m(On23 z+6WfCg@0>Pjl0e4B>U^^w3$sWE={MRX90O0YX)l;YbrH|42$1Kn>b~+^1k0!1J3!k zGbZ;B&N6Eo%PUz# z)Oy#Yj0x49HlbQ~Jgqn3)K~l1%?{D|v+Zi#vhiWA_Ia|LE{WYV?~?ia_4@7oKVQw{ zYPFkI%WE_qaB6+Kfc}&U%)eMXezY9ikr0E;{2t~b>Zqf508|D~<9NYQN-Izf1$sV^L(`Tv zrGciQM+%jSc;&y{&bl^*X&Gk1ROX+s`8NOT_e(Zk7H;)izRJ~qZeo7}TMxEt*e-F` zvFEthmHMxLcHwZW>(&2cfa|^6-+k)4|LE~c6fZcp$6%CY8o_I!9`^ot}#p#~?LsF9iN1?S-4dnzL*YiEsY+hSY5z^4o6 zuolwp)QEWsNI{I4z)5obI`M66$^wl~&$1#x^dhq+)H4_xoPuluCx!&ZjCI~RXSdBQ z8U-Ho5>)n)p1}xCQHt<<*c{F|yJKl(eZ}E&th(3MJ**Hx+`hazZJkGQO`M$?31?_S zYH+eI)hX?BsY4hNFfMn%=il%L_&`8lg^0%&bh`ZC?JGu3YP@}?7otXTXf)P1#YiwD zw&rB-BCu)IK?8M&?L{48d)cm&+9Z3VCl zW1X{hHFG#|gOOh>ro=asG)vMzBpOYC*5ULTIXg9iQxIjJpErjSa|w`2BBiF%JF3QN zE4ht0P+i`jk+aE2?-8!h(%9hih0NguMlz`)IbF-{W^$|$L0nN(f2cOu*vXGW)<_{q zqouLNDTF;Iah_C)&Z`dLi4n*`wph%USRsOpRW;3vwU1sCCpA(?cxl^c1ScS8O_D6D4g7nNoN3Otz3KmP_S>y#rQ=AfC~5LEbcSQX^rbMsjF0 z5>C{1b2!slrjRd|_x2Afht(fdR)`>;%N3+(!pPaFvCb(u-F|a8<+xHV?N|0IN7bLl zN55Es8Sz4)gma9X?Hj$`5T*|}H+X5?=`(>7YaNV=jH{LE@1tX*5GRm0lb!Y*8F^mr zn3KM8=Te6-Jjocer>F^%0Jmur#V9J-n$vf$@8RF)Da-Np6^SMiN=iwp+uNF^>AIfF z=Zg9K1yinwB(YG#-=A0{;r)E@^aVFG{GrP<{N^M6nJ_tN#i}b3iDMP@c;Gdc*7R 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/Grey/active/base.bmp b/skins/Grey/active/base.bmp new file mode 100644 index 0000000000000000000000000000000000000000..0c3836fbe389686f21b1db7f85b7c1f22b69fb41 GIT binary patch literal 598 zcmaKqF$;q*5JtattX;Zw?4ni&2Zx9)BD6^9P_ntVlcET^IQZv#B%XvIKD;mY@Q`r$ z_>_An1m%_LKy{+p;Y{YRO>3ekq7k-SD^OL{jd5MqQo!@Px~}Pi8cTsRO?}^QnuZ#UslZ(k1VP)jx~E(e z$e1t;yRKu)v;xC0JQ=#Pr9d3V<2b$G{ literal 0 HcmV?d00001 diff --git a/skins/Grey/active/left.bmp b/skins/Grey/active/left.bmp new file mode 100644 index 0000000000000000000000000000000000000000..0f0bf6a236e80af396ed78a0b54667be1ace027b GIT binary patch literal 326 zcmZ?rbz@`z12Z700mQ68EC|Gm3=%++fk6N&59T0<6c~UCorD27IXRHfAsB%2cf$ab SzXb-M{IxJJMEHo10I~o$?Pu@+ literal 0 HcmV?d00001 diff --git a/skins/Grey/active/oper.bmp b/skins/Grey/active/oper.bmp new file mode 100644 index 0000000000000000000000000000000000000000..0f0aa9ee36963e34dc3b2f04ce9a705756e2b3b7 GIT binary patch literal 1958 zcmd^*F%H5o5Cly{O-JPpi5Ktyda8VZ2kyXaaQ+mnw<s=mma^Xw5Sp7_jp;Y}W)esYo6714EGUZBzt>-^8q|Y7M_uc xiRUqL1;a6(XTPzM~R3C`+($W9` literal 0 HcmV?d00001 diff --git a/skins/Grey/default.asm b/skins/Grey/default.asm new file mode 100644 index 0000000000..f119a864c7 --- /dev/null +++ b/skins/Grey/default.asm @@ -0,0 +1,31 @@ +include 'my_skin.inc' + +SKIN_PARAMS \ + height = bmp_base.height,\ ; skin height + margins = [7:1:39:1],\ ; margins [left:top:right:bottom] + colors active = [binner=0x000000:\ ; border inner color + bouter=0x000000:\ ; border outer color + bframe=0xC9C9C9],\ ; border frame color + colors inactive = [binner=0x000000:\ ; border inner color + bouter=0x000000:\ ; border outer color + bframe=0xC9C9C9],\ ; border frame color + dtp = 'default.dtp' ; dtp colors + +SKIN_BUTTONS \ + close = [-20:1][15:15],\ ; buttons coordinates + minimize = [-36:1][15:15] ; [left:top][width:height] + +SKIN_BITMAPS \ + left active = bmp_left,\ ; skin bitmaps pointers + left inactive = bmp_left,\ + oper active = bmp_oper,\ + oper inactive = bmp_oper,\ + 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' diff --git a/skins/Grey/default.dtp b/skins/Grey/default.dtp new file mode 100644 index 0000000000000000000000000000000000000000..b247fde937e21f23e222f2a5dde2bc9f828df292 GIT binary patch literal 40 jcmeC`>SE}E;vYYLFo5u>Q>Pfp%F4iO1|X=as$u{Dp-&RQ literal 0 HcmV?d00001 diff --git a/skins/Grey/default.skn b/skins/Grey/default.skn deleted file mode 100644 index 5e8a6cc49d4f59fcae515acced23763834d0717e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3378 zcmeHJ&x=w~6uwSGltBcoU8Sak3m1mPFpIDlf@Bif7qd|OEux}^6T>W0A~){Z*Jcz& zP$(C+)4!oVp+CS~eea#l>CSt@>p>O;eR}WxzI(p=&b`OSd!`=kKlUi4ZlE2a9id%E z3#v=XgAZf1S}|1yzXjFpcBO4L8)dZhdaY`;n#qj?&1TcQ%9pPmbq${#%zggOjku9x zYL3brcc4Eat>H7q3(z+&8>3RUz3708XvQAxIA!>JK15la{#A0ypj~}nko?3TiCPm# z9x`ycz8~HBb+A`vi!<1X6xIzvYBx6V=zj43>7+6sdT}6AsgxeI&*=VNEGBXhBqLA! z*uxgn(OD#;Jr@kyO{Zs+ymHvzkxtL3CnEk&pHBb1bS}qqIGy1y;Kx@0kdNLb+UyIC_!scsv*kX0urkf-VDrKqiy9!?4J7I(?Vn_xmk!kAV%B z%Vk!3Bp;fh(H&`*I&VaKt-DymiE2Fle{i z%jFV;pvy+1u~;nLFf4LDpTA;Mt5u6UW|T@LJgrzAlYD8SSS(H^6XNJab~>GWK0h9h zK?u6Utuq>pUN9_jI2;}^a3@*h2?HCR&1S4lNWM0K3nN4vy-3steuTJGXJoI}Lr98k Nk?$SxCl%@(ZRt%u^~7V37Ooox09j>x;Xe|Ioz8Q zIqyXaaQ+mnw<s=mma^Xw5Sp7_jp;Y}W)esYo6714EGUZBzt>-^8q|Y7M_uc xiRUqL1;a6(XTPzM~R3C`+($W9` literal 0 HcmV?d00001 diff --git a/skins/Grey/my_skin.inc b/skins/Grey/my_skin.inc new file mode 100644 index 0000000000..ccbb3c191c --- /dev/null +++ b/skins/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/MetalColor/MCBlue.skn b/skins/MetalColor/MCBlue.skn deleted file mode 100644 index 5d629d51b9eba7bf4c0762ab8f237c85f52cd4f8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 10532 zcmds*eN@)v8ON!$m;d(1cJ|l)*g4y(m86+6HB7Wr6f_V4Q9%(D5mEtD-a!yWL3vXY z2;Wdd1O!Axc*GYpQxxfx&ZTa)Y{xpCrPV1rv*SL`@8Y?-&+`y%HP-6l;(ET<%YFau z>wf?J0(_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bFTI2ZJKHrZQlHCD3>_PtAgrJ7mZZc1u==Sws?H zX>+BJ`-A;*VY4+hHda+t(LDCvoSd8$D^{>;kpe{eG)#sSm7Ww8Outb%8#OINI#Ity zVg|6Y;yBl2Ads}s-QC^O(-XTqNFO1Iyk?PHv3Bp?ji%SF)vH%CD5(;SM zQc_Z0wg{I*0%!&m(r@B2fr-UywqG$jHeDeBT8Wgsefu_HtPu|nk4cjzF%~=#%gviN zS&w8&SVBUA1WO{k7_hqQ>+9?4>Htu6b#+BWMR9R42V!n+E-QtnaK1wf4aJ#hLf8d} zan-6-^rR9qlM5#*l4-z3I>tfIKKtzG(W5y->0XJEFe!^=`}XZ@>~b$9S?cE;Vdirp zaH*gJB~qj$!j8>`AQE71zodX&T{MP*nGRy@$X+J_cxgFK?2r>+OzB2qAerPcsc5st zQ-mW}RQiNf%tT`TP!=P54j2pD1^ub@n?plZOk+!>`L^T zlUKvOC0M(5?Z7oiBD93oYI`&b&Os94-BO7@q#w9OD&gW9ECF~KL3OzTCMpM$X~%*p zQtV(=CD^HmQ@oUtM6@yT#$-+{7W+Yi$crVz-5%nF3u!nHG8x2MR8(Yz^a)h4sHCiA z>kAXRR48`Si(On!b&4vHl8EEI-u_Ecta>i+Y+t3NrG(KTj4V@^)xpeRLXw^A$p8ij zBQA0TpsEWm=T?=Ao-f5-?RW6RObE;#sbNPD8SrtWb0v;%c5mBfxzY(5bQdc F{sp`>TRH#$ diff --git a/skins/MetalColor/MCBlue/MCBlue.asm b/skins/MetalColor/MCBlue/MCBlue.asm new file mode 100644 index 0000000000..e623bd726f --- /dev/null +++ b/skins/MetalColor/MCBlue/MCBlue.asm @@ -0,0 +1,31 @@ +include 'my_skin.inc' + +SKIN_PARAMS \ + height = bmp_base.height,\ ; skin height + margins = [7:2:7:4],\ ; margins [left:top:right:bottom] + colors active = [binner=0x000000:\ ; border inner color + bouter=0x000000:\ ; border outer color + bframe=0xAFB1BE],\ ; border frame color + colors inactive = [binner=0x000000:\ ; border inner color + bouter=0x000000:\ ; border outer color + bframe=0xB1B1B1],\ ; border frame color + dtp = 'MCBlue.dtp' ; dtp colors + +SKIN_BUTTONS \ + close = [-20:4][15:15],\ ; buttons coordinates + minimize = [-37:4][15:15] ; [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' diff --git a/skins/MetalColor/MCBlue.dtp b/skins/MetalColor/MCBlue/MCBlue.dtp similarity index 100% rename from skins/MetalColor/MCBlue.dtp rename to skins/MetalColor/MCBlue/MCBlue.dtp diff --git a/skins/MetalColor/MCBlue/active/base.bmp b/skins/MetalColor/MCBlue/active/base.bmp new file mode 100644 index 0000000000000000000000000000000000000000..e5a489d7123ea955a9272fa3c75994609e3b23d1 GIT binary patch literal 494 zcmaLU(F(zE6vy%JZajiKf+z3*?mes4SZl3etYM+mq824l+69utoqx;KFFAdFzdD`E z)9zd>s%e>Sn$%3{CKe6T;C=7a@~1+(D`4o@0;0YnVC?n;#GWf4@jU^vz!#8)fq>;` wARwDW0`eplu$fN<6pK{AE?WuMuX6#XZ6TmM9t2#=vw+9_CgA;giraB4TBUrc?-0AO#Tx;Y$$__0~NqCmQ~H znQx|N3^Y}puI!FXOGcN`R9m)E{pP>IZ~5l1u6d&6f~TovGB_Ap44&H~28WK#;K+3t zy!2cKr@qJF^=!i6Y!NUxk3t6Tl9<88DrN8?+c5aJ%^7^z7Yr`XCkEfjD}$epJA*&( I7lZ%K7lr-FSO5S3 literal 0 HcmV?d00001 diff --git a/skins/MetalColor/MCBlue/active/oper.bmp b/skins/MetalColor/MCBlue/active/oper.bmp new file mode 100644 index 0000000000000000000000000000000000000000..5a243e5d411cb4828f434be60d786aa4603f31a3 GIT binary patch literal 4542 zcmds*>razs7{=M3urJF#?8B06&Z#&==!AeA6y)eA6$&UP3u0G9C@3wZoYArtYH2M( zK@R0m3Y4~#%Aq3IiH;6r(J^P-hS^-UWtkEegV`2$kH_43VjE1@Iv1PYd*^!Y>wezn zy=V&wp|Ml1daS(|P&dQ12d>xPdd1^)s2(1Yr~caFB`i~>VVViUprx;8=zL3mlcKj# z(l4*jOZdGNIo+c4zOqb1Rko=%2Z1Ft!E)*1*nc3%8#6s(qWNmxfvBs6w&5Y9rzCAs z%9~XdAZUSbc5%$z!qHMfvRob=p}`;^q$T;6%tl0=$Ffv&E;sNHv_Lq!IOcAFS?pE| z4V^_M%%@{2xv|Ew)G0|8vc8LB?iQHk%9xdg&Z4do(3U1Q)+kDvs7giFcX15Fh&Wlx zXTlw5paXq+47EYXR^>#=4u^LZFh|Q$pbr%^bf6C|PJ+NJ@TS;|hOt3C00J=fX!RO( zccZjZTA}|~XskJ^7bNKl;{c<8HF$!FJhL>H9I%!qx}-ff`gn|QQowsO(1E_od3%S% ztdXS!d-C@)TDXyL;@`EYPFcXn=NW+5YX^Fw%c+brt1_niJY{EW+hp zlZZ{W%uZUOyxyE1Gm~Zg;eA@(zJaxe!Ht+@(LRH;pH-m-0pI+smFd4VGjLNKn*sf2j>9bQqrPUF_+-oqfBtOLtkcTS| z6d%QrMD}qL#Nmc+2A94kX1P7@pt-ZSfSeH*p#~v{@{}htG#UN~1_9yh;@Aen;=~{c zB8u65_Ry|QUId9_8|vnUyenh-(D%eFUw?j`X8DU7h@$)iY7i$Qw>GeSn$vb6bQWh9 z$2K5-y|?`6;e*qx9m*62+1|kohd94{|E+}OtvdL$Ni58=ymXW1-ksY>yR;HD2yu*O z1AC|X5CfsJIJ-FJZh=|u-deh~xN!5cIRFIUu+PklS*-nCgXbFbGEqlSvLYj-F5U}} zCwc=!J1-UNovLJ?e~vQQhX!s)FNvm4!7Su+NUD9xcK_!e5pAPnKrYsa(ltlI6l`x` z$*M(!5nJlw-zWWb>KV4T`yl7K%rZVY^4rRNq(xS(YY^*7Gn%va$`iZ*3<4rA^qray zw~_vftuC`%oE(3=`Uq*2pVBMJb*1U&vO?=wo&cTYSnyj_v0F(0#a5SDt}o30@#pWz kK%3IkRNGgY(ZmUnGPePAmi~(D>Bd61&;Nm!@1GZc0eCHL5dZ)H literal 0 HcmV?d00001 diff --git a/skins/MetalColor/MCBlue/inactive/base.bmp b/skins/MetalColor/MCBlue/inactive/base.bmp new file mode 100644 index 0000000000000000000000000000000000000000..cc082f3fa746bd11a63c315f60d4c1029f90db26 GIT binary patch literal 494 zcmaLUK~95E6ouixlP;m@5?nzS;M~QEf?$e`#6$`y!HE-K1e11Pf|D}r$$f^;p65NAC!-3!?*~Dk91FY{okdk?w=fK& zC{jA`I-wVBu$_qGSR1^VopBwKBzZSufsYyZG-;Z;qJ%up_a@6SbtN1oilWd4U)RdA qgzp)s>$<8cmrc{CK-;!m*C}05hm$!@K;QSjW-Kra!};3(A9Vpvbs!S} literal 0 HcmV?d00001 diff --git a/skins/MetalColor/MCBlue/inactive/left.bmp b/skins/MetalColor/MCBlue/inactive/left.bmp new file mode 100644 index 0000000000000000000000000000000000000000..69d2798c42ce108d1a1ab41ee402af47e0cbeea7 GIT binary patch literal 406 zcmY+(y$!-J5Qbr=UqTHm2fZPe#B67coDG-XGU_dUx1tx|B zh*ru~u$7Xu6qK^4A+aPTu&}IvjV@^HukXWmoO}>s(w$Gj`JQ>snR(~TnVI+1&%Su{ zVStAq>?izv&fiD;eGu?5HXxw&!0$EQL-T`!2M->Mjg1Wt4-XCw_Vo00c6PS6w>LL8 z*VorqRaMp2);2UWG&MC{zkVGH8XFrCaaC4ULTH*x0f(E{u3f_=-SrwbVk4MhL@w8= zFwB2^d>s3uhbImQzUP1mx3;!^@1dikgI~vaucD$tURFRcvNWZbrLU(Qgh|(c(p@jQ zTz+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H^DjLp3t4V#GG$HP9Xyoa U!`8%OhEgv#(iFt^?>{g81%$l=I{*Lx literal 0 HcmV?d00001 diff --git a/skins/MetalColor/MCBlue/my_skin.inc b/skins/MetalColor/MCBlue/my_skin.inc new file mode 100644 index 0000000000..ccbb3c191c --- /dev/null +++ b/skins/MetalColor/MCBlue/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/MetalColor/MCRed.skn b/skins/MetalColor/MCRed.skn deleted file mode 100644 index 92281965f65cc5d02deb35ae6ea3a657b35f714d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 10532 zcmds*`E!=l7008si~dl4Xs1kPWLjIR6i{pl9V99sQb1M-vdCgUf)LqcDWb@3SrSNC zlMqTsVjzS-AY>;Y`$8ZafslZrsDK5h{S)ZteZM@%$0s4fFd}15&U>EkS?3O>8T?l9`whQA0Y49TB;a9?sK--V92hWiqyK^+UtE70@)Pt4zw$i; z0-~NqKtJW@Yhznlwc=A_ydNyPWQ@9GQL8cP{5cnlQD@IQZ;U!UOQG0fa zHAa25>kea7y3p9If}^4aBHMqbIDU*|;{dR1X`@?Rx4LRuMD^ZX6^E1ZvQsk((hs}6 zms>7eyYku1t6x5F{_o9y^X6>?17?P1yVZsB(!)P0`Pa_MBOjm0P0K9GIO_Js@7R`= zvLE9EXC<C7x3Vy9JBbwLAIT}rI_~!FirAEyvLE9EXC*Q>tl4;6 z@P5O9=~ENdd{7X(wKDzVlLbffDsr>k-k2?$vr|(rK5$kdZ-ty1|N61lMkT|5DQ^@? z9X~c9bXwZ#4~nBBtJ0H;Pi7QUpU5jbmcBo3cU)8?3_!*Bz*&ieOs$(TsdCc9QW!9G zQlsUcb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YBql}Uh35q7BHzJRlV_T@+&C)n3&kIQ!& z0<$~R9?|xTy1}x0EH1NrmsbwyHp{uj`u6F%$+`{gDvPySWS>}ouxFvAMSzLl#f#lzjPUH~+BqN4x+ literal 0 HcmV?d00001 diff --git a/skins/MetalColor/MCRed/active/left.bmp b/skins/MetalColor/MCRed/active/left.bmp new file mode 100644 index 0000000000000000000000000000000000000000..899225add90b8b886f54e57f2f5982fd07cdf23d GIT binary patch literal 406 zcmZ?royN!j24+A~1Bh9HSPY0686V=ab8rOW$3$L$BM?6+;SwBy_?c-};RwXf&$$jqAbx4_O*jJat1EBA P5s2SVcNdO8d=vlxxe;$l literal 0 HcmV?d00001 diff --git a/skins/MetalColor/MCRed/active/oper.bmp b/skins/MetalColor/MCRed/active/oper.bmp new file mode 100644 index 0000000000000000000000000000000000000000..9b2346749245db0c701dc8fcf6dfb1324a72e2c1 GIT binary patch literal 4542 zcmds&`%hD67{}SK{4ld$=9bKCZcJH0V1t=PbaXHlW^kxD2qK6m;>cDPV`c~o8w@v* za;Nm>gi=~+X({w_+CuO50=)?$NKnz>E-u@@uqU4F*-48HAz~Ao&w2BCpXYtwo^PAe z<{mP?lJMlU7sh0`^5A+Eu9p&CgE1lD%D??5lNWGE-PJ*bmh{uRZ+-jr4rUsSnfFoS zsS~{y&-eGVUzZNc+&0VV^3q?wJwjj#MZH=DM0au7a}e^2NlWgdLQ85va`x4ugAfzS zJM%aHTziPb?&7komcJkWPG(7`@u;NiYC{;=-=TwOm5QZs@Q(-gk=R{aw$*}JGExSp z?AhIoXy=G&?X;6WBL=m&RpDIk*-JYEEBLI>{N>xIy^cUC}&kFT0&pbMmD48lRBMa82ErGt6_f zO0ftlq+k~KUXaw}pV2{b546@+-DqtxX-B;QXYl^5IcirS76n}nC~kyx{{T3h9Z%c) z&d!~%g`Sl)#O;STuq-EgA5>o7zCC&iX8AB<6v;?!LkG!cuLWe@2(s>bVHU=I9g@e;qJxwi9{HwDd%2O22y~O1PPsJjQ`12%eO6563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8Vu=2AC!jZXQ3;T!W!e@b6WsWD|f)mtCNo$ zwv0h%0_n)eh@yxLw2HW*lz=X0z-B4LofkF;=Mo1Ogo>2r=H{|^s;jG;nwmN~I+zg- zNlvp%moBjfS-0$WQbch3_H7Z$5iv!ndC&#dW(wWmGK*W2i6YWvwpuDHD}VOEAtox3 zHAXGX&CS%p>yoYQ8$(x`+S}U^0UwqIDHgZV)r-hn8&@y7m}1?rnJyv^+}0SMC_o=b z3|^@ejwz;~rKN>2GX<16gm((t1khv%C_Dt36y*sR0;%1{2z`P57ZEqL zT6iz81q7b92(Lc~qh(WEy?T`~^Tk3rFMZyH&s2U5xxWDeKlj|!ei&|SY^aO1ikL1U VzlrKXidm2W4zV?6FV^>f{0CQlTvY%7 literal 0 HcmV?d00001 diff --git a/skins/MetalColor/MCRed/my_skin.inc b/skins/MetalColor/MCRed/my_skin.inc new file mode 100644 index 0000000000..ccbb3c191c --- /dev/null +++ b/skins/MetalColor/MCRed/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/MyTango/active/base.bmp b/skins/MyTango/active/base.bmp new file mode 100644 index 0000000000000000000000000000000000000000..9e5ffdec59097e9b90f06f981f03c6b83604b272 GIT binary patch literal 422 zcmZ?rUB<`&24+A~1Bh9HSR9BM86@CF`VrW sLPiYdCWRv-hVxUSkrBg%X|c$N>ijG7vyl-4G6%>WaQ>t?ZDhm%0J2xiIRF3v literal 0 HcmV?d00001 diff --git a/skins/MyTango/active/left.bmp b/skins/MyTango/active/left.bmp new file mode 100644 index 0000000000000000000000000000000000000000..a52623f1cc8ab778c6a7de98590797e233f6ae2f GIT binary patch literal 606 zcmZ?rjbmZ}12Z700mK|YEDpqs3=%*RCsz#?nd=A3#A6|3N?t8(%>|@DUF4N27=c zBBG$BCg=nBk%5nK*WF9FOT5A`x0#)rZ|1jqx5bT4^!EgfUk>8{u0dSAxVnNqj6qQA zZv6ciid*9;vBE+IWTlVy9G^&RuTpuQL>e;?ml2Btyal#+2L7>-uQ%Vsoti zT(w)<5u_m*67s~9+dPP%=J{HV@1Dm&nuZaom~!KMaixFd{PXyCUiJrLdJNwe-(9F+ AR{#J2 literal 0 HcmV?d00001 diff --git a/skins/MyTango/default.asm b/skins/MyTango/default.asm new file mode 100644 index 0000000000..c1ea7c2fd5 --- /dev/null +++ b/skins/MyTango/default.asm @@ -0,0 +1,31 @@ +include 'my_skin.inc' + +SKIN_PARAMS \ + height = bmp_base.height,\ ; skin height + margins = [8:1:47:1],\ ; margins [left:top:right:bottom] + colors active = [binner=0x4989CA:\ ; border inner color + bouter=0x2B5E92:\ ; border outer color + bframe=0x4989CA],\ ; border frame color + colors inactive = [binner=0xA3A3A3:\ ; border inner color + bouter=0x828282:\ ; border outer color + bframe=0xA3A3A3],\ ; border frame color + dtp = 'default.dtp' ; dtp colors + +SKIN_BUTTONS \ + close = [-23:4][18:16],\ ; buttons coordinates + minimize = [-44:4][18: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' diff --git a/skins/MyTango/default.dtp b/skins/MyTango/default.dtp new file mode 100644 index 0000000000000000000000000000000000000000..3fa9687885be1b3d3ac5b17968e603da38bbe333 GIT binary patch literal 40 lcmcaGEtcT|5Px}ggJENl3B&*Y{~6xDe-9P|u|WVN4gj_S6LA0l literal 0 HcmV?d00001 diff --git a/skins/MyTango/default.skn b/skins/MyTango/default.skn deleted file mode 100644 index e5401c128e4dfcace34a82a5e9fa417f202d1061..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 688 zcmV;h0#E%*P(w>WApigY0000%#gZwsj&&}CIeQq_5y36yEq2(CrG&^>6{y`B$vLp@ zVbZ9ouexN`qziezW62-gk|kre&i4?MbH%!g8%V=}PeUokR+cpr&AfCAH?)i59D(K? zf)*W_EZrGMLN)Ta$DHO>5&>)cOE6H2_{T#dw7mr-wI4JyR_rDsmEtQaSWLv`(Maq~ zQM^$eO6*t(jrWN5-O?--hP|0XjBh@EA{S@7ne5Z|%s2NAIGoyDBuxN@#%DmDEQh}!pM z>MaD?vaCvZ%^&qk&&oO1N1f!W9xST)=sjz-w1LmIm>gY~XZICbBmzzH|Ixh55kkKJ z!GbMI>G}pQ5P_QtJEi^A$$LpjGI?J%@x`KqxJl{#yfzux+6%LvCEFK}~HR@1hHh2Cgq~C-G^M8!A zj5HpL$T(x1mAoppe#eJ~EEu6leI)O5FJ}ERGf8?2?4M_uTy6vg{5q_JZuwT8lYLJ* W%TfPJ_;o_Dg&1^Vir1v6L%9IYELrFP diff --git a/skins/MyTango/inactive/base.bmp b/skins/MyTango/inactive/base.bmp new file mode 100644 index 0000000000000000000000000000000000000000..8a161c58dac75065022fde22e5838026b47d8d94 GIT binary patch literal 422 zcmZ?rUB<`&24+A~1Bh9HSR9BM867e}Km`n|Pyxdl ZRKTzn6;PeO1r;!$a<>dPzX=sE008rw>h}Nu literal 0 HcmV?d00001 diff --git a/skins/MyTango/inactive/left.bmp b/skins/MyTango/inactive/left.bmp new file mode 100644 index 0000000000000000000000000000000000000000..615f301d5b76cfeddc0b91b4e9fdf11699c20af7 GIT binary patch literal 606 zcmZ?rjbmZ}12Z700mK|YEDpqs3=%*RC04Tl`8vu$g!v=ujE3g5e o_$q7wD86>>+BK*EC;|}&GSI*Pif_RNfbPL2yk!`O1HFI=0FhW~qW}N^ literal 0 HcmV?d00001 diff --git a/skins/MyTango/inactive/oper.bmp b/skins/MyTango/inactive/oper.bmp new file mode 100644 index 0000000000000000000000000000000000000000..979a029a55ccf6c986587a5bd6937b1bfc0e4d00 GIT binary patch literal 3366 zcmeH~K~95E5QcHDYdwK+=gtGT_fp(I!WI%DifP(}MNdQ^7~OaTe>=X(IKz9TzEoNG zC%g{x<{N&7(xkU{muJaNH(0N5T;n*$agtnMO_KN1-N(1(VKGY66wV$OBl7dK7?Gc6 zp}MZ`XA5%`=w}#-lb@AS(==sS_I>{{LnuQr5J#^far7ZSYbOk*>$(|UzDiIG#L??W zoc(N^&~UyPss!TbO(ee85Bg6^dPafIPf--uRmDiE4CBZ4!}r3Iq|A@~NYEDt<^zN+ zaiIE0eD8b|J9#P_BDOW`#J3xMUatpA`LVS0Gr4R1Y@NWq9Vj4<-dbFmp;)z-IQr1< zPoSZ~?Wt^tSQd~0PO4L?M3S$5Y(MnAD~Cv`%&+;8*Y(BW`D9r(41 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/OpusOs_Blue/OpusOs_Blue.asm b/skins/OpusOs_Blue/OpusOs_Blue.asm new file mode 100644 index 0000000000..ce5d778ada --- /dev/null +++ b/skins/OpusOs_Blue/OpusOs_Blue.asm @@ -0,0 +1,31 @@ +include 'my_skin.inc' + +SKIN_PARAMS \ + height = bmp_base.height,\ ; skin height + margins = [8:1:37:1],\ ; margins [left:top:right:bottom] + colors active = [binner=0x4C5E7C:\ ; border inner color + bouter=0x465774:\ ; border outer color + bframe=0x5F769B],\ ; border frame color + colors inactive = [binner=0xADAAA3:\ ; border inner color + bouter=0xADAAA3:\ ; border outer color + bframe=0xC8C4BD],\ ; border frame color + dtp = 'OpusOs_Blue.dtp' ; dtp colors + +SKIN_BUTTONS \ + close = [-19:4][14:14],\ ; buttons coordinates + minimize = [-35:4][14:14] ; [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' diff --git a/skins/OpusOs_Blue/OpusOs_Blue.dtp b/skins/OpusOs_Blue/OpusOs_Blue.dtp new file mode 100644 index 0000000000000000000000000000000000000000..2ceb6675ab5a7282dd2333a2e947da46d4c2c556 GIT binary patch literal 40 mcmbPT7SAvnh@ZZE!%)&af#LuE{|rxFy=8dz;xz*dfaC#>co7Q# literal 0 HcmV?d00001 diff --git a/skins/OpusOs_Blue/OpusOs_Blue.skn b/skins/OpusOs_Blue/OpusOs_Blue.skn deleted file mode 100644 index 088dea2b0339425c642d51bc6ad536d2fd1f7666..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1162 zcmV;51a8$I=!5tX74Xs8~ zPDa%(T(IK8`Hwnflv~fZ06uWvE%%wmFJRTpXzwto?ldE1ovq(6V%V~o8ziHtrZ?5L z$OBx-TXu3Sh?*aFaAxmm4}%h4bP%_-^KBL9vfp7yTOK~$WH^LI1i=+-1sG0uZ6M?o z*WpsR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3Tz+=pELth4iYz`^komSAv@)-%SBe&s9(HS`QT8&s$MS G#uPs^{K4x0 literal 0 HcmV?d00001 diff --git a/skins/OpusOs_Blue/active/left.bmp b/skins/OpusOs_Blue/active/left.bmp new file mode 100644 index 0000000000000000000000000000000000000000..cbfa3a9a7414ecad36d620662b80b56cf98d322c GIT binary patch literal 582 zcmZw6%L)N;6vy#lWoadk;0Zi{g%xW%Qc77V5|Nq`O_AIplH77hCTU31q{*$6Y^0Pd zJb-8L%gEyV{rj9#=li!g?RxI>tk@Qe0b|1GI5RfK8NdIZ0T%i=9b}=4x#&a)5$IBxpJpQjy4(tfQX65 zpdZEdvcePSXKA>qr3mzkEXwr^fqqjLN>d=v9|vXK$`a_$(^l=|39WB>MMCSlL50xz OVN@m1U-v5u{jWDxZYuQv literal 0 HcmV?d00001 diff --git a/skins/OpusOs_Blue/active/oper.bmp b/skins/OpusOs_Blue/active/oper.bmp new file mode 100644 index 0000000000000000000000000000000000000000..b9fa7012f466dc22c1774a9717848fd47c4b8d83 GIT binary patch literal 2518 zcmchV&1w^26o$uTZ=iSsLa(3~(1j~qyQ>rmf~$fdSPX@LC?Sz(Yf&1ce@d(bgGgE= z1`S37r6P(9#GitNE(+Ba7cCYsJ||~5j5F32~ zv!C;XbCRp$%z5+9#=E43&-`x+$@5C$+-YZad?YrcZ~n??Y)IeY#0BH&tyBc2*&;$_ zWST9c??L*af)V{85lm)rT%U;aJ-RjqrEHS2Lb25R;2sJi1hn3KO-WxVa|yI;&22^C zRsQR@JBL4Icl{}%%Eerdk z>I;+7SDBgs9<;f&t!Rv-!q!G;VV^0L`id+}W???5H%l|pw=$gu23y-Z3Yh>lLJRx$ zXXO28WgGTMt(NDd@7dj}z=OW;{_F}`z_&7eMXS_DnNR9n<)QRdXRZT-z5QQZK@0fQ z(7{!+fvx$ZK32=pSG$)11_uYfyMh+*^=J8m{yXNAYSove@5O8m7&L0t_MdhH2xz_e zq}H1?>8mf~LH|Xi@`yvr(0cPpZMdtRidOOqjsn4C7RU9yzSqU+c<}m~OLyYI Q>-+J=jScyJoN?m(1^>Gt$N&HU literal 0 HcmV?d00001 diff --git a/skins/OpusOs_Blue/inactive/base.bmp b/skins/OpusOs_Blue/inactive/base.bmp new file mode 100644 index 0000000000000000000000000000000000000000..09143930cccfd2ff410ff03eb144f308578abcaa GIT binary patch literal 406 zcmYk&%MF516olcQg)JCMumTHkZx2>w1MW;LL81u?2!bF_QHZwS(wKNdSj^2glXG%+ zXTDfj^lxT*YBDkzn^;Ut!*clVm!a01tzzeR3j63Q_HLj!c%i}xV#Vo_DBLJj_}5Hv uPI5(%7K-pzDx$nr#Km2aRE;97pNgz$75Sr6luW@R=LkuQ%py2=wg!Soq-Jq6osdsy+HH=K~K;F^uKou`WN&FMS*3dSu^RFm$VE6!{|m?cCl}}hs|&% z6@_M4b6Dq`Z_PTR;_6yB?+vdN#%1m$?gj2SZ;{dS)}#I5BpNn0xBgq(nL`yto=s9P z(zmmJl$xY(H=8q!e?`O0Ov_8(-eF!vnE4n17>t>gCn9~B+$qv9V>Sr?lmWBxqz(#! z^c|e|2*(riVP%Z8(%}cgE1t5II8W+02&FGu2oTP%UQQI4!*6ZxX8j@^n#C|>QK!a} zDwM0zcXU=nxUg}p(gVgv+X8cV9({H9pp{z2ltqmgPb#Q2r0>`-AzZE1RuOh&TVP4v zDoJTsk|z~5Thf;cLWFB~x+;y4R57(Juq4kem3l;s!5HI7Rc>yjFMnP}xK8&$MaGeB zfhBqS7&#xUOp`pR`fW%03Z)9d-9J806qv(XnI6$9^-;!?YTn7~dZ%F(;of>569wk* z)X>4GS!ZfIsn-3Y^!XPxgzNXeCJM~q^|j)`_=@qQ+D|Xi7gR10jvv+FXD~(pV6*Y0 zI 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/Syllable/Syllable.asm b/skins/Syllable/Syllable.asm new file mode 100644 index 0000000000..18d8b76af9 --- /dev/null +++ b/skins/Syllable/Syllable.asm @@ -0,0 +1,31 @@ +include 'my_skin.inc' + +SKIN_PARAMS \ + height = bmp_base.height,\ ; skin height + margins = [5:1:43:1],\ ; margins [left:top:right:bottom] + colors active = [binner=0x000000:\ ; border inner color + bouter=0x000000:\ ; border outer color + bframe=0xC0C0C0],\ ; border frame color + colors inactive = [binner=0x000000:\ ; border inner color + bouter=0x000000:\ ; border outer color + bframe=0xC0C0C0],\ ; border frame color + dtp = 'Syllable.dtp' ; dtp colors + +SKIN_BUTTONS \ + close = [-17:4][14:13],\ ; buttons coordinates + minimize = [-32:4][14:13] ; [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' diff --git a/skins/Syllable/Syllable.dtp b/skins/Syllable/Syllable.dtp new file mode 100644 index 0000000000000000000000000000000000000000..df767f0191da8466febc152ba09a78d35c668b87 GIT binary patch literal 40 ecmX?b-~ht`C}x0yZ{NN#Oq(_h%;Vr-0J8x@Sq(P; literal 0 HcmV?d00001 diff --git a/skins/Syllable/Syllable.skn b/skins/Syllable/Syllable.skn deleted file mode 100644 index 58564aa771a03b177b6672d4c8d7f45d22e8bdbc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6108 zcmeH}&uSDw5XNi$13@$=eE@HQ7av0ry!Zkhd=MYOgY3y52)==*5Xhnk3xXh75CkFM z$&(k^tA0ISPo+~|&(4g_c*>`{ss2rMRd>~p)Z>Q_9xcr5CO%K`d6wL`T6^b?b{8z1p74G$tmS{+x#@Uf8FqWVK3p7 z{O;|WUB>#!we-{M*DZWO2-}>uS=7JY*92GKA0l$yLH=DtekvmWCL;eTBL5;H--yUR zi^xBT$UmOfdc7ux5k&q$ME*`hek>wC5|O_VfgiMj?Ya#sy_f$%Co>CIkk@WvfD|)d z;)E#<2MgyJ?0d+=vryRedYDkeQO?Lxrr6yBIO7zaVxY68;MJ<%Jbam=>PG0!ScY2+ z*;Q_b9W+OZ&_i4kS&)}io#Yk_#mF9Z@)SIF8Md@{_X3_lq1|};kALTf?WtYDUX&K0nmVpdu8OV^9fedLG$dHzS3~3q2 zke0#uA?<7xMl@f_kd}cAX&K0nmVpdu8OV^9LDwtO*JtdjwvJr8z1v^AO@Hk+xptde zyG^d$Cf9D0Yq!a@+vI2cZ7g(^+}rC0xptdeyG^d$Cf9D0Yq!DMk^BI*>tZI?ceR_K zZ1~MTtC+(74)z*2Os|hS@Z?B=D*_JuOElIQS;`dMSg36IoK^WmPA+1w%2ihn+kHj>>ZVMT$^oEJM3_T10k@EmSoE zAw%K(FoJj~Bn9v7g-4?^cR9rNE|oszOACKI3PM=tWeSJE-#mPfg00qf;7*PH7}zO7o=;XTi`ZjYOw35}ndWbV?)9DUGD- GmH7kCKFwSJ diff --git a/skins/Syllable/active/base.bmp b/skins/Syllable/active/base.bmp new file mode 100644 index 0000000000000000000000000000000000000000..0416bf842a2ce2532ff7b1f09c423c6a3a6d78d4 GIT binary patch literal 534 zcmZ?r6=Pxm12Z700mK|YECR%g3=%++f#Crom?DZ;iUaJy0ruknhj4(SIKT-U;4}_! n4hOi116;uYuHyi=aDclwzyloMF%EDT2Y87C;81=TSEK>}UNl@| literal 0 HcmV?d00001 diff --git a/skins/Syllable/active/left.bmp b/skins/Syllable/active/left.bmp new file mode 100644 index 0000000000000000000000000000000000000000..225899741470030bf5f4e5f489d874f35ccfa51e GIT binary patch literal 534 zcmaLTK?Z<87{&3KRvjSe2%Vq8~p=*RcPf4)^^l}6@K zVCR?^lVGgLu#NHd`Gl)}1rN@-M&Jg$73`g0?*;oH*hj%Wec_6I7VL{)Uj_Rn*muEx U2zD>nPr;5~8eqS~&pn>h4Nsypa{vGU literal 0 HcmV?d00001 diff --git a/skins/Syllable/active/oper.bmp b/skins/Syllable/active/oper.bmp new file mode 100644 index 0000000000000000000000000000000000000000..3c233b6869da1a46201c73d287f94b348ef53af9 GIT binary patch literal 2054 zcmchUK@NgI3`NI{dH@%0-FX5J;NH8raBt!(XX4xCLm;zM}v;%g1}eBAZ4Vz0v1YBWt#*ERl6n+xtVs;bHkGtAS+Fqy3- z37Cd@8hlfq7*NZr41iB2c>Bz2NESvj(P@Vyy~Yr1RRmT@+?!)qCMeWqV0=9k>cIQi z8ZdfGG`KQ(1pwx0fHo6dRs)RsK&F%iyrM3s;nyWG8=4V+{Bv8BwxKqCy;kJCN<3z% zhHt{hQyOuxc?U%@M;;fm1}5mu;nzAA!=N6=06q`6)8OS7Ivvjie>I58S+}c+%`U%c NHOfsO=2l}3`v5?xP1yhd literal 0 HcmV?d00001 diff --git a/skins/Syllable/inactive/base.bmp b/skins/Syllable/inactive/base.bmp new file mode 100644 index 0000000000000000000000000000000000000000..0416bf842a2ce2532ff7b1f09c423c6a3a6d78d4 GIT binary patch literal 534 zcmZ?r6=Pxm12Z700mK|YECR%g3=%++f#Crom?DZ;iUaJy0ruknhj4(SIKT-U;4}_! n4hOi116;uYuHyi=aDclwzyloMF%EDT2Y87C;81=TSEK>}UNl@| literal 0 HcmV?d00001 diff --git a/skins/Syllable/inactive/left.bmp b/skins/Syllable/inactive/left.bmp new file mode 100644 index 0000000000000000000000000000000000000000..225899741470030bf5f4e5f489d874f35ccfa51e GIT binary patch literal 534 zcmaLTK?Z<87{&3KRvjSe2%Vq8~p=*RcPf4)^^l}6@K zVCR?^lVGgLu#NHd`Gl)}1rN@-M&Jg$73`g0?*;oH*hj%Wec_6I7VL{)Uj_Rn*muEx U2zD>nPr;5~8eqS~&pn>h4Nsypa{vGU literal 0 HcmV?d00001 diff --git a/skins/Syllable/inactive/oper.bmp b/skins/Syllable/inactive/oper.bmp new file mode 100644 index 0000000000000000000000000000000000000000..3c233b6869da1a46201c73d287f94b348ef53af9 GIT binary patch literal 2054 zcmchUK@NgI3`NI{dH@%0-FX5J;NH8raBt!(XX4xCLm;zM}v;%g1}eBAZ4Vz0v1YBWt#*ERl6n+xtVs;bHkGtAS+Fqy3- z37Cd@8hlfq7*NZr41iB2c>Bz2NESvj(P@Vyy~Yr1RRmT@+?!)qCMeWqV0=9k>cIQi z8ZdfGG`KQ(1pwx0fHo6dRs)RsK&F%iyrM3s;nyWG8=4V+{Bv8BwxKqCy;kJCN<3z% zhHt{hQyOuxc?U%@M;;fm1}5mu;nzAA!=N6=06q`6)8OS7Ivvjie>I58S+}c+%`U%c NHOfsO=2l}3`v5?xP1yhd literal 0 HcmV?d00001 diff --git a/skins/Syllable/my_skin.inc b/skins/Syllable/my_skin.inc new file mode 100644 index 0000000000..ccbb3c191c --- /dev/null +++ b/skins/Syllable/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/WIN311/Win311.asm b/skins/WIN311/Win311.asm new file mode 100644 index 0000000000..88d3c16ce1 --- /dev/null +++ b/skins/WIN311/Win311.asm @@ -0,0 +1,31 @@ +include 'my_skin.inc' + +SKIN_PARAMS \ + height = bmp_base.height,\ ; skin height + margins = [5:1:44:1],\ ; margins [left:top:right:bottom] + colors active = [binner=0x000000:\ ; border inner color + bouter=0x000000:\ ; border outer color + bframe=0xC0C0C0],\ ; border frame color + colors inactive = [binner=0x000000:\ ; border inner color + bouter=0x000000:\ ; border outer color + bframe=0xC0C0C0],\ ; border frame color + dtp = 'Win311.DTP' ; dtp colors + +SKIN_BUTTONS \ + close = [-21:5][16:16],\ ; buttons coordinates + minimize = [-38: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' diff --git a/skins/WIN311/Win311.skn b/skins/WIN311/Win311.skn deleted file mode 100644 index 1972ca576f2d48e7e66e569b5e5d46fbb366fb43..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8148 zcmeHLu}&L75M6_ikdOjG5h)@nng}@(6;UcuM3y3?6ro6y3gtum6aEvIDf|I^0lz@+ z*1YxjUY40X@9x1KQFLRUZ+7O*%)7b0W0#xjZ{J7Gxwkle9FovYQ#Etku+&5!r@1>>_ktoGayK0DCwH@e688uRtpxvxhK{*k)_$m4z; zJGYDR_>Dh1_vaKp5TspmJZYDCOaPCW=Q(zi{Cs{U-w+S`bh`Ntc4@4XsOlIt9zPAL za!|F%BqY!S2TMZ{DCNNLHboNJIcf1gQcCZI%|?slL_*5}F2bO&IzvjIi!d8?rtOD= zx+ryBQ4XX^g`A<3-V4S?vq?gAFBDP@pThyM$VN(3R3B_b2^70Tb?yU;DkbC)B_R0F zRh0wEp_U@aAzigOu;LaalLKJ+B6Bhy52SiO$O;$BhWDKW1WMy@Q=YD~FH`%jEln+Q zh3mCYS8J$Y*mDPD4%*+;ylC5sJjagN$*B?MfgS&n5E<e`!Q8Y~0~QHtt=kH19ClstvK+R|Pr9mdKoybZ zivOM)PkcZA;(f3*LIR*wwGVRHs-hZ}a$tCyA_?uBw0NN>zomV!*=S)x%KlJ1d5#@ zojF(nu!J0<1SBeSA*3D$ltZm3)zDR&LmPq6p2-2Qe354}9}lFu7sG!1{7k(YhGEYg JusdLx diff --git a/skins/WIN311/active/base.bmp b/skins/WIN311/active/base.bmp new file mode 100644 index 0000000000000000000000000000000000000000..a914eb54eb36ac24643ad2f6f9b14c09ec7579af GIT binary patch literal 582 zcmZ?rbz@=x12Z700mK|YEC$4k3=%++fk6N&59UA#aei*BsG)&j6b)bqSZXO_MO&x@ H#Bcxr(=WT{ literal 0 HcmV?d00001 diff --git a/skins/WIN311/active/left.bmp b/skins/WIN311/active/left.bmp new file mode 100644 index 0000000000000000000000000000000000000000..a9390824b544319d6c7b34b502f85af0e29cb573 GIT binary patch literal 582 zcmZ?rbz@=x12Z700mK|YEC$4k3=%++fk6N&59UA#GgOe|?I6z24MbvMVq0JUsI;L0 diblmDK|$wmu+&n9AY^-C@dKjC5C>|(1OQ(2)}jCa literal 0 HcmV?d00001 diff --git a/skins/WIN311/active/oper.bmp b/skins/WIN311/active/oper.bmp new file mode 100644 index 0000000000000000000000000000000000000000..e94c82cda3be5054b076d231dd47ad9dcb260ebb GIT binary patch literal 2958 zcmeH}Jr2S!428qYz*dkLSr7t=sfei(LpK%{m^n#Lz{X9uUwNuq%e;U{T7?NKP2abj%#$UlFzCmiab%zX641YsWDk{GV(+9M(8l!ZAnB}^1rY2g1{;dT z5;-*kCG}O=)DO;rDoLte2SpW2QUyEeEGVO|5`&)+E;I?3bPSZs0^6me46b%7 literal 0 HcmV?d00001 diff --git a/skins/WIN311/inactive/oper.bmp b/skins/WIN311/inactive/oper.bmp new file mode 100644 index 0000000000000000000000000000000000000000..2faff13c894ada802b569a850bef8b5c1ecf6e33 GIT binary patch literal 2958 zcmeH}Jr2S!428?wfvq4hvLFN!QxQ`ohHfk@FmoU_Zo&b$S$V>Z<-UMOT7?O#N#n#n zUz{MiKV0+dB_;X=+6t{e8)Z}US$1yMUrO6e#yOttW0hgo0|k(P{+%RysN@oRC;fmnre6n1XT2 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/nix/nix_big.skn b/skins/nix/nix_big.skn deleted file mode 100644 index 7f5a577c40d6bfcae079745fedb39b7a76ef031a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2007 zcmV;|2PpVUP(w>3DgXch0000%#gZwsj&&}CIeQq_5y5PVzQ=n;QB>Zs4U?avjF_81 zhxO)I^6RTQxu(#G<{QIi)&)~r3bt%w_cBDAy-Z~1=y-_Ap(Ivlx4nOfVQv4mQ10?+ z>ICl1Tsk%>NdtB>C$H&fqkjPzx(U2$nuwz5PHJor`d$9PUZ7*r6VgwV({(G!?VDh= z?N=Bw0D;?X_aPM!N#e;|w<#s(JfC|0N01>Yi?358w5E1l$&rje&A#**a+{eIf8sPj zZU#b$Qu3)6E9dZw4KmbWv&w1H+s8uGOhZuH)nHg1NAP_?tEHG4GePVgZFj#jfEOUa zAagIINn_n*xj2WI3neNq5waY-xNx{911XGgL~lL~Fi-ICh;$ROrY%Sp3BP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yN!k0zy@b{3(v$Cv6z=jmJ| z3?e0OIBFj_RrYhNaPD1jOhnnrHZ!uC{p!^T35~oSy|9j?2GVu_`a@P{161iTAl0GS zxZ|u#v1b8Pvvy&JI^xUqdN#iPHOwc50K6CL_Hu$)5(&C*xMy?5;k@&iB`ixwdD?Q2 zuS377F`b2}_$@!(vWMtmO)u{y}nP(Xm(Wg}ZpUc!PwV@Arc9L#K3w3Js9GHJQ)&0ycm+hd>B%~eHqds{1`H#{24N%1Hd>V X(x0KHB8y?!gnEYJ^f(4T4_5{NHh3am literal 0 HcmV?d00001 diff --git a/skins/nix/nix_big/active/left.bmp b/skins/nix/nix_big/active/left.bmp new file mode 100644 index 0000000000000000000000000000000000000000..800ed0337c7725040379a5a26fd3db3f2647cb51 GIT binary patch literal 438 zcmaLTKMsO09ERZ%FX8Cu37B*-rJ%7b5To)(jL|5%y13~996W_b@O*yZ>mVVKJZ)Zn z1ky0kA5S!wk9~;M!x~_DqK{pOhkM@KxXna?8vB5Iw3Q=ZZ{iTxRT=@ij6-m3RcTeX z3#)+h!UWLm+yuaRtF_Fv@turT4mAEr+(<$&fyTuIH`{f+ihm{8QaczKI f=N8!KB8G0)nFY?Dw+pb}uRE}>rwZ8k)qws2H@;oO literal 0 HcmV?d00001 diff --git a/skins/nix/nix_big/active/oper.bmp b/skins/nix/nix_big/active/oper.bmp new file mode 100644 index 0000000000000000000000000000000000000000..7ed01543edf915ceeb321f0a47a6cda2861a7546 GIT binary patch literal 5046 zcmd5=TW=dh7!ALH7kEJ8frp3}N@BZ?z25a@ulC-(w&V3Ru^T68+K?uSQUYq~fJ#My zS`>s(1ymH&K&eC@T8S5sc!*l5Re{h#Rc;j$v`D2~BtS|82d}d%wjmO-#9GIrZ_amS z=j_bv?ATH1%$xMpF$HZ zfyxl^upi#yv6i=j%DDkWjW6lE&XO$Q6QZOwZbhAU14>DuYzRr7VjSM`D(40iv_FSP zW68gHQ`o!WIE@YAaj@sq4aVT1tGArOx&c^Mg^qE{$xK(^MofuTB7Q#bV4N6i zgAg15W3VA>*qv8E!%RFPl3s3T8#F171Op&I6(mv+fN{2J4jrp81QYbwbLtd02gYpd_S z_x-I~YnLuQIy>d>zXw2oDoCUtfDB^0A=Xu1WwHIzj&ZZIZ9yXB88h_@=U0FK=g+Yh zpOeBqgCp&>=#CF;tMA=&^TxMmx4yo9_VlTJ^V0wVR6!yI0c2ZygZXYq5Cdab?ZUZ# z_jW|0yjXSi6);o$&;#{_nVUDhvF_=&Uw`@eryl_X7K0Q7kXh@&YK!^JD~w79>A;{6 z4O#C6nC}XmAxg=38L<$1PoUJhOIfYT^U@S1mZ{-c*VKIgWM+$Gp+G~SF8axG=vkSzg%qr2L z@IXI2I9*vWNTeWu%-QficuR65Zcw9xZLml@eVyL0Qzc06;C**Lb6|g`H;_m{0NIw_ zaPi(EB~ay*xUjqS?mK5Yy@5mu0?3^Gww_a(paUKu(mID&8)L6ZY*P~HS(=}|cJ-4^ zV-|xH1duiNwAKl&`xyxbfZhT3D3YGX7w5if?jai+8yC;7t{giGAV3xNkb(d*i0!UR zx=>CE1|Q}^+wHR@$Q}ZH$zk8}-r4J4ehwQy+`ip7Sf{=B0|-zBi4+8oHOH#eJKhu{ zMjYEXPyXc%OmC5w>0Kkkhw6(*k37{lu!LBP`T+!}fIP%hpuroS5!K;s924yVOqlAVsg^We<0zSp zTH|(TVbTqF`r)a@BfI7*8J#2T_4fMVeQvx&d?JrTNKn T)zlR(DsIjxX4aj+e_Ve6;lnCJ literal 0 HcmV?d00001 diff --git a/skins/nix/nix_big/inactive/base.bmp b/skins/nix/nix_big/inactive/base.bmp new file mode 100644 index 0000000000000000000000000000000000000000..0fa0344f67add04cd8c4d7a264f2e68c3578e51b GIT binary patch literal 182 zcmZ?r-Npa`WFfqal&F9$0IZ%1neA150IKNnjDe^)z(05>~^KzDnFAP)zIU{6Pe5Fm~X@ncAi PjbaE7^k?w%aAg1hyOkTw literal 0 HcmV?d00001 diff --git a/skins/nix/nix_big/inactive/left.bmp b/skins/nix/nix_big/inactive/left.bmp new file mode 100644 index 0000000000000000000000000000000000000000..befa12e299b165279701bd730b3ec9e612f7f2a1 GIT binary patch literal 438 zcmb8rTMB|e7=~e`O?261EAUV`9!O{GU|B*Cc-2N)RqN};&n_Z}l4pM2@q}3HAHFvn z0dvlpux2dZn=(D`K3*R-<7ix2B>~ve)`U>kX^ijf(ipnutxe=i^m=Dx|LH0Tp=W<- zn}qoM&P}#}&TsQ2)VpE@b+b;OK9mOPV`ZRjZ3^|tWl*2%9O|ylq3*i|>RW$>`qCbt I=2wG$0($>Ypa1{> literal 0 HcmV?d00001 diff --git a/skins/nix/nix_big/inactive/oper.bmp b/skins/nix/nix_big/inactive/oper.bmp new file mode 100644 index 0000000000000000000000000000000000000000..ee61593987d759f82afa15bcd863b594dab80fc1 GIT binary patch literal 5046 zcmdUz+jg2j6o%7h=uIzs*}JyOXd)sY2Zw`zD4yaun#8twh(1-HuOFh+phnW<1KWb1 zP_BxDX8j2_N39kIf+ETl&)Df!9AYqmnx8e|kNuHZ>Z5IYj zxqPUbP_AD<5?s4{4lMKZ*!q=KD_c^Dfz3K+RFVQCnJ00U#on144l!apL)o8iFL84k zHCLCPgRM!q$4~IUWKGnmFkq zfUs;xW*~?ul``Ejf6hQ&*3uRRWsO^Q4k(7FWhfBKaYIQ*lOo4tU65f38EE39i-4`* zd0F6Qyn|0>aK0;PoHd_of^T?7zzoR`DRlz2|x>N|v_ zZ1ris3m;0EvPv1IO}Ypm?D!KX_l@Lg(s?1|N@OS1{BggA5}Tg~2Vl^|Nf!Zx9p^<) z#Pm!peJ^+%;AaK%M?#+uV;;}t&7kXAr~xo&;-rg!r0z#~9hH~+Rcp_!rOW3983R-4 zx@O-Ov1bLA;%ZfZK@%rk1Q2$dmoVsM+yb+HcKC+uHP|XBQ^ii_-#Q_QQ_7sV)Gb{~ zhFH6rhL-Xc$dVpTe$x3Qz(7pNZ#L5X)@~}rL1@apQOmeRLM;y378^_s_PTX!tvHC9 zY_NJD^t7g3r%@bqD56#83o7LnJB{L?OA&?2J2&Mvje}w!ob|#{D7rS>cDkh>F#r6{ li)=lgpi*pWq1c@vgD5NrhMjioyZi 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/nix/nix_big/nix_big.asm b/skins/nix/nix_big/nix_big.asm new file mode 100644 index 0000000000..639f889a8b --- /dev/null +++ b/skins/nix/nix_big/nix_big.asm @@ -0,0 +1,31 @@ +include 'my_skin.inc' + +SKIN_PARAMS \ + height = bmp_base.height,\ ; skin height + margins = [5:1:18:3],\ ; margins [left:top:right:bottom] + colors active = [binner=0x363C46:\ ; border inner color + bouter=0x363C46:\ ; border outer color + bframe=0x363C46],\ ; border frame color + colors inactive = [binner=0x393C46:\ ; border inner color + bouter=0x393C46:\ ; border outer color + bframe=0x393C46],\ ; border frame color + dtp = 'nix_big.dtp' ; dtp colors + +SKIN_BUTTONS \ + close = [-25:9][15:15],\ ; buttons coordinates + minimize = [-43:9][15:15] ; [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' diff --git a/skins/nix/nix_big/nix_big.dtp b/skins/nix/nix_big/nix_big.dtp new file mode 100644 index 0000000000000000000000000000000000000000..15b66db988e5467765ccf421158bdb809039d74b GIT binary patch literal 40 rcmbO?Zyv)uD1P?r8N-(^Ul_J++r`k<*2eJd+cyRd4hDv*swxHmvHue_ literal 0 HcmV?d00001 diff --git a/skins/nix/nix_medium.skn b/skins/nix/nix_medium.skn deleted file mode 100644 index 61d9942c549931468ed83d1af48ff96bde08dc2b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1434 zcmV;L1!ek6P(w?E7ytkP0000%#gZwsj&&}CIeQq_5y3R>vtHRUguu!chbD|5JN;9A zM*oF@lj6NciY_5Q6bdy5T^mpmp51WhJ<{WOI=Jcb`Cz~0PN{)2s2VA1&@S~En?E( ztT(+t6TvaSX!wn_(o@ZJ=-IIfxj_^9Dro57FTwgPL^og8oYB`$Ej=P5m6-Bof#J;t z1717L6{z{(|oQaX{@ca>(Nz^C15$F zUSy@Fk?Hi*t|?xlU%<=+BRo|m5=>4YGXgCm*69hEr=I=+{_y&jInR%(iUwn*3?^9m z+9R(cXZ=PEYd--V(m!40Kg)OPxLgZjLLKWisxs+RPgTDY89-5R_$DRH$%iz{etZBO z@CJ~xD0J*jLZy7J%kF{#KO7Rd7LNli7DwkoVF<{)y!Oifln1W%$NbF75N-JKWG6ZZ zVg6P`-&$uyBpr^{4L!~FewXXYKTrXI`DA@O8(?in%d#pR3ZM=T!3AMLuLH`kH8oNp z(vte8uLPo+;!?nbn?#5-5)j25kpRRqt$r8F6`nP zTN&c4aM?JlKPK-nPMURf8&To&uy(_ay{`!^*|H5chgxKGLHdmC+Gi?qp~Mg>L4N7+ zBH_SvMo6Ac*i~=c5t#}yPk5I_+T?l)8mI8)KrvzRy{)2F?wf9Z(d<(go8DTfqe(Mwe~<%C{aS${5+;xD2KFl(9Ts4YI5(L6FWyg{N)=NB$g0dp7x)5l+p${vY;`yfX|SNv-#EO+QTaFIK2 z@zH%^2^tdIhhzQN@oaqkDmP3+Dvgy~WDQOY88s;eJ~JPk`@j>&p;F3pvfI&Us2pwb zD1q{LEfM+9cUXv`ug^`XD7Gam4$tTxYA!roC?IV>O_L!shH(eL|cIStU_64=T*Z=?k diff --git a/skins/nix/nix_medium/active/base.bmp b/skins/nix/nix_medium/active/base.bmp new file mode 100644 index 0000000000000000000000000000000000000000..d368470feaeaa12c225f04a15a21030ca9bf0cf9 GIT binary patch literal 150 zcmZ?royGtGWzAu%9a! zM*-<5Ul)c*C?sWe43is*8T>q4831#~ B8V>*f literal 0 HcmV?d00001 diff --git a/skins/nix/nix_medium/active/left.bmp b/skins/nix/nix_medium/active/left.bmp new file mode 100644 index 0000000000000000000000000000000000000000..8500f7a82ac2c41f27688f13cda154ad5e5ce443 GIT binary patch literal 342 zcmZXQK?=e!5JgkGgiDv6pgT9EiM5!-iWE(QB8Z49!3*>bdSD-&B83cZhR4q=h7`8V z)KEEdNzdpxoefi|#rRJ2FIQ=^%7FxL>jK0t`wfW4-5N&sCVC^@c>|+6-8r3la2g~J zwgmB$Eg|*k{<*0@cBc1S4>d@BYqubNKROV91P|iR*g(4T?O!1Ir+31Z?+)S<8B=`L41g?!*7Ne_M7wVnK_J$J$l5TG!u-c zp`U_&4EiBuG#GXc!=kB?m`NW9n~`={IGQjRB8*E1B)^+=S}5GCcylRA)W^yG*{Bgp_Ik{D$^=e3^KLR;FS zUI%971))R#RzRjO87gCXPhINfPC)Wp8xr` zHZ@W5;T=d1%B{6J2>15(u3x*7i3yJ%ZmIhwhVrbV6DgrgS+~V=kY}9rGy#$73pZfv z4^2}eU9F7xu@0mM<>pFF{iGdX-}t2*XEz}wlqu^ndu%4lXV$h8oU<#zQ%Kq9iH^L5Nr=RTGV;?WkF=g&K7Cx8pG`}A*y}(s z8}Abeyk-1&$Ak5IV7R}(|Ka`HomVfvef_NZS4#syj|D~U2{8hJ{dxQT=doq&#_f&Y zp1Zr>D}x!Tvu(Y$sCr&56+(m+1@9GoK@z9z>f6^VGA)w~kRw@nrdpmX7a?kx#s|A2 zGu5%F%20noNC^~*oQe2F+Ckf`O5MV$WwH{N;)yV6mArVL$mArxJ3zuRN@IN?Z#K%J z$o&!r1@CpLo;iurfs64#%K6~J)!@+_@ vJ|2Mgo+EH2&s&qjI#8P~kESC&ms&$NCr5Q)d3t;#9b;VTeL}K2V=(*z$}0h% literal 0 HcmV?d00001 diff --git a/skins/nix/nix_medium/inactive/base.bmp b/skins/nix/nix_medium/inactive/base.bmp new file mode 100644 index 0000000000000000000000000000000000000000..354be176a52202cb22d44929bb041b13124ad5e7 GIT binary patch literal 150 zcmZ?royGtGWe4K0;{9J4q0^IBv0^RKyf;}C9*nuHFJdhzSGK|5`!<7L5oi`OE literal 0 HcmV?d00001 diff --git a/skins/nix/nix_medium/inactive/left.bmp b/skins/nix/nix_medium/inactive/left.bmp new file mode 100644 index 0000000000000000000000000000000000000000..c730539428fb78f62f5580f9855c1a5da55760a5 GIT binary patch literal 342 zcmZ{gO%8%E5Jn+h!lg@3fHYbPL`&-rk&r;#=>2cu3!fSj!sN~5W%|vg^=(L#sWRr4 zUeRkhoo143KJTo4)rOO|8L+`ak%K%s19K0~z&zg+IcUG+-tIt|CI7!YI|IsJsy)cB k^#SDV(SrQ$3y^n>19=}S_(G96fwZwQcDqD&sR@sPOgEI>}$ho1cuxrGv)wHYRcHJF7TR3UN~)@Jq=6| zmwM)18ZHw0JHpt}c`-0E-@4DDc^ptf_9kBvSH~1lk*)De$o|#SQ-?78dOkiLs$V$P zPsh3l9A6uC%LKD5;%}GJL%o}ZUSz4uB6&U^5S0;&a7=`-y=e2qYI^Y0!8|6AIqudR zHmCgtO1?Vm_+Tzl`q1q0=~Qi7oU1LO63>81$Hc%_2XJO*h=1LV$;(Aj64y*zqXz_G zKf4exF`h*PJ}uy1ukI1mak>E(82r%_EQleWYv7J`8W>;+j{G^Y)pNCjC$haX`+Ygb zOO$|TV$69W?q)yZOx7@`&cJezfi%<*e&7uAV#^^7g$W>9UkDw3!30hO%RWwpF( zHcM>p=_qEJ7ndgjJVo(qxC#~lqa>QUx&4O4g&qZX50X(OH%{=SnOaPkoVpGsr(B@g; VF8_bj+tq5COaq7IiB2#i=?7Zx?cx9c literal 0 HcmV?d00001 diff --git a/skins/nix/nix_medium/my_skin.inc b/skins/nix/nix_medium/my_skin.inc new file mode 100644 index 0000000000..ccbb3c191c --- /dev/null +++ b/skins/nix/nix_medium/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/nix/nix_medium/nix_medium.asm b/skins/nix/nix_medium/nix_medium.asm new file mode 100644 index 0000000000..24d4a943f5 --- /dev/null +++ b/skins/nix/nix_medium/nix_medium.asm @@ -0,0 +1,31 @@ +include 'my_skin.inc' + +SKIN_PARAMS \ + height = bmp_base.height,\ ; skin height + margins = [5:1:18:2],\ ; margins [left:top:right:bottom] + colors active = [binner=0x363C46:\ ; border inner color + bouter=0x363C46:\ ; border outer color + bframe=0x363C46],\ ; border frame color + colors inactive = [binner=0x393C46:\ ; border inner color + bouter=0x393C46:\ ; border outer color + bframe=0x393C46],\ ; border frame color + dtp = 'nix_medium.dtp' ; dtp colors + +SKIN_BUTTONS \ + close = [-19:6][12:12],\ ; buttons coordinates + minimize = [-33:6][12:12] ; [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' diff --git a/skins/nix/nix_medium/nix_medium.dtp b/skins/nix/nix_medium/nix_medium.dtp new file mode 100644 index 0000000000000000000000000000000000000000..15b66db988e5467765ccf421158bdb809039d74b GIT binary patch literal 40 rcmbO?Zyv)uD1P?r8N-(^Ul_J++r`k<*2eJd+cyRd4hDv*swxHmvHue_ literal 0 HcmV?d00001 diff --git a/skins/nix/nix_small.skn b/skins/nix/nix_small.skn deleted file mode 100644 index b6f9f7c38cf30091046390a386460d4af8d36b91..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 572 zcmV-C0>k}FP(w=*5C8xH0000%#gZwsj&&}CIeQq_5y1~@ayBCq+S5?NnkquRs4f^x zxTTysc5!2>@4J@*&O_?M=Cdfa`>iy>6gnV8bwlv8s!GP2BgIIOxoYgtOFjSOj3vzM zE)~XVtIj2xLEI(N{|-rF=p3XpXXkI7?HPwI24_Y>%R-26otBUx1Vuefz$?(4EA^|n=||Z*6I@h=Lg_&* zRE+Csnz@61b(;i-xtUX-$3(}bI3DOE7Ooq-6MIXK#ey5gSREhM; z+aBHWJnGZmhx)!mnV#(*auO*>FFz7JQCbU(>~2N0bRrb$8a6ke_c*Tr6=CgYA2FFQQAkdV$z+*d4ydovCTjmANddO0#v7)7SyRV zxgKjSo7Qe2{>Uoe5#FnJchwsTUG>Jd&%!h`ygP6l*8B(-A5uu-H^vt7G9wHr=)%mY zz(6s?%6#nU?nv8vvlArDPkhv4upSX*)P`0rh98sbvI%Blq$qi%)^NCep>(J-u)Ar{H9V{q043l K;i9pmpO!#Yav6pI diff --git a/skins/nix/nix_small/active/base.bmp b/skins/nix/nix_small/active/base.bmp new file mode 100644 index 0000000000000000000000000000000000000000..0d8ff0e1004542083c8d72af247e54514acaa9b5 GIT binary patch literal 130 zcmZ?rZDN1`Ga#h_#Ed{J45lT3Bm;vFm_#MqY|R*A1Kb&6K-k}nAsU4JTp6N3*w=+2 p5{f};;)6UHl0v;1Qp0^2GNSw$vSI=ma^r#-mQAQ<@bhqG005kx6w?3z literal 0 HcmV?d00001 diff --git a/skins/nix/nix_small/active/left.bmp b/skins/nix/nix_small/active/left.bmp new file mode 100644 index 0000000000000000000000000000000000000000..6f4ae53a4d3c8e42abf1f8b96b6f3aca9e8eadd6 GIT binary patch literal 282 zcmZY4!3n}J6oBCrNAMy}-~_#Skt9{*B~=kIjS7Mwf-|^+Q#hG}_|unzV)@_WBNRer zGOkSj)$9o~V1`U(Mr>o={r+8H?)wUMi}3E16Hey(WfKL)_603rxci>AN@ zX11?O6e_|n`ah`(T&#@2?vC_zAp;@XkEz|64rY^)agZGiVWSxW%RBKwo}?m(c@SO5 zY`8fdcIM#lP73v=I`VR`1e={2?n`y#<75RkJ0r@U>d4Q<25fd#Od!=!fU7Oo?A*9u bs-qxxd$8HdCe%|Mg?KoC%?1)QLJSN5{3e1TQ030BmIXer`F@Z{HhNC)@QB8J&zSOOuh;U1XdBy>zd zawCC>Xk+%H|7-MhQzXEQcP@jodzXQBZ&Q%BHife{#RIfo`R`kOnS<^R)f43J+JgMk UI*?CY3G%tGK)$UD$oUT7Uzn*dg8%>k literal 0 HcmV?d00001 diff --git a/skins/nix/nix_small/inactive/oper.bmp b/skins/nix/nix_small/inactive/oper.bmp new file mode 100644 index 0000000000000000000000000000000000000000..3918a6834684b89f480c2f0b329a0fbc4e86becd GIT binary patch literal 1802 zcmchWI}d^|5P<8ViK~l~v%AXs4TU0t@5RK)zw8gPxdN$W5j`Ydk8A0DTnLTI>4d 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/nix/nix_small/nix_small.asm b/skins/nix/nix_small/nix_small.asm new file mode 100644 index 0000000000..ba3c958a32 --- /dev/null +++ b/skins/nix/nix_small/nix_small.asm @@ -0,0 +1,31 @@ +include 'my_skin.inc' + +SKIN_PARAMS \ + height = bmp_base.height,\ ; skin height + margins = [5:1:18:3],\ ; margins [left:top:right:bottom] + colors active = [binner=0x363C46:\ ; border inner color + bouter=0x363C46:\ ; border outer color + bframe=0x363C46],\ ; border frame color + colors inactive = [binner=0x393C46:\ ; border inner color + bouter=0x393C46:\ ; border outer color + bframe=0x393C46],\ ; border frame color + dtp = 'nix_small.dtp' ; dtp colors + +SKIN_BUTTONS \ + close = [-15:5][9:9],\ ; buttons coordinates + minimize = [-25:5][9:9] ; [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' diff --git a/skins/nix/nix_small/nix_small.bin b/skins/nix/nix_small/nix_small.bin new file mode 100644 index 0000000000000000000000000000000000000000..6ec44f0bca901a9767b9e130a39c417c10c8e8b6 GIT binary patch literal 4113 zcmcha&rVZ87{vz&39L-ig)8IIy;>-g7Hn_-So;T%7%OPvpM;qB0^R6}b)SHxPheR1 z6g~y6O-Q%+n>l4N-ZsISPunx6=gyt^?lAM+?}Yt!tGnQwyG?sX`%Jqc7A^DE-o(I+1WRDa&qFvHu-rs{=3k4Sstjd zx;tad3^Rmwz?Ppiw^^aK)Ry-e6(Z}5Y`LFp5m|?B%iUUu$jTyHe)@QW$Vy9FezIL8 zvhsW`z6>8tNp%d;EUyt+c|I2_TFSZU)Epw~O`Mn0u+wv^8xQ_zWYvn4)AdNFchT1l zsD(AF_@q2zVkl5?%;a&QGu3fGZSx_!p=xH!nIebss3K{_S?LjLR=u_5N#sz#RmQD2 z3;CQ&a+6EFDY6)IW}inR@7)ux#ai$HiZxZ0@<*Mb7Vu~2HS=j5e36s(2NMj{JKtzD z%dg)a4FHcgXjcJZzqJDpyNwD!^s+KQbgCtQXzy$SM5|H+i2BwVm?;|Nb-=ACn&ovs zPqR`4h!`gdZR3CNYwdt7%dfSiwk*Ha8QHS@T8D1S@@r+0Ez7T!mbNUvR-VtrN+eB5 zbqpfER-Vtr(a7h;L~&E*VFxf((`wb(^=BFXI(o$eyy65^7O>?E?NWB znd&%9ejP6jh5TCO(U#?^s<*bR$hlNBxs+d9HT1Fj2= F0RSj7S}gzo literal 0 HcmV?d00001 diff --git a/skins/subsilv/active/oper.bmp b/skins/subsilv/active/oper.bmp new file mode 100644 index 0000000000000000000000000000000000000000..e4e5297defcc2770bd173bb20cf0c0d73431d5c1 GIT binary patch literal 3734 zcmeHJu@S;B3=|8{!U!w?HAl}5)J#Fe2z2a_nwl{(L^cSYDCj=23+G6oLY+0YT zyDib7k=YQe4hIaSxpnm_pdG}(e4sA uekHNGCPnBTQ7V9Q?-%{R*I)F@Ah3T&2>(9ioJF&d{!vXM^3ziiR?7zxi7^%c literal 0 HcmV?d00001 diff --git a/skins/subsilv/default.asm b/skins/subsilv/default.asm new file mode 100644 index 0000000000..2e73c75ec9 --- /dev/null +++ b/skins/subsilv/default.asm @@ -0,0 +1,31 @@ +include 'my_skin.inc' + +SKIN_PARAMS \ + height = bmp_base.height,\ ; skin height + margins = [8:1:53:1],\ ; margins [left:top:right:bottom] + colors active = [binner=0x006A9D:\ ; border inner color + bouter=0x006A9D:\ ; border outer color + bframe=0xB0BAC4],\ ; border frame color + colors inactive = [binner=0x006A9D:\ ; border inner color + bouter=0x006A9D:\ ; border outer color + bframe=0xE0E4E9],\ ; border frame color + dtp = 'Mistificator1.dtp' ; dtp colors + +SKIN_BUTTONS \ + close = [-23:4][19:18],\ ; buttons coordinates + minimize = [-45:4][19: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' diff --git a/skins/subsilv/default.skn b/skins/subsilv/default.skn deleted file mode 100644 index ce82a290bb0ab28a184d74bab64d4c0c4108b89f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 9204 zcmeHLF>Vw=5bOg7PBBR2M0~&!At^#4fhSzVD;yx=`v8A%Kt${xkPtW^aN_KKU~0CZ zRO+5Px3wp3&bsmLxVNUewx)Y$_U=BufA?WwW-o9qabDnjiSyh}ZGpdUpKUs?eq7SN zz4>jg;nT2xCoXNdT-tiQp0IY^S{rZtw|6J@+|KL??4N(_Hs0>>efn?q>C7;`up2lv zzb_E=6xVN_wf|K?J$#76 z@DPp`4JFwLgKuD1b;|7WAjwCIeINnhdpRySDt&ly^PO9Xb)U=t#KG<-79TD4U{Dg5SB!PH%-~4C z`FT%Ai#B5YDEenNWuQHvk(G~tFi{Y*TCGkx-zn)543&>XI+@*qt0sNKzyFSINh&O3Rq zyGz4W1#RQV3pvE4A2~~pDSKL!Vrg=5HBjyO#houN=m}LGq_}+8f^mrQpgGINytuKr zL!}Qd?wv63D}t|LCfvz=wAdp=Np`~EoPpW1r$cpHCs>bCPi3GzprM+_v6(1H+VJ}f bU4o&Lz^2QlODBZv{Zh5*GSa!INX7pEYA?U( diff --git a/skins/subsilv/inactive/base.bmp b/skins/subsilv/inactive/base.bmp new file mode 100644 index 0000000000000000000000000000000000000000..5e4fbd7a6592946f18ee60a8a8dd1375c583d9fe GIT binary patch literal 330 zcmZ?r^NfTrYP6AL{}$jQ&FiFYLpl!ms~Hl zReCtymJ-?yc7w6SSYa$=4J&eL@Gxo2{Vd-4`}NcgVG<_}omw9Uk0tW@AU~1}I>nor zK^~zg90533sj5oRLTgAyVUTNRPyo7ApQ44tgoQ{Ow4$ij~`Z30LNl=>xL3*{=`RNs6V2# kfsSv3sXpL~7yUBHC=BkuPdR4Zd}N@NQ;+(zO59rc0L$m{VE_OC literal 0 HcmV?d00001 diff --git a/skins/subsilv/my_skin.inc b/skins/subsilv/my_skin.inc new file mode 100644 index 0000000000..ccbb3c191c --- /dev/null +++ b/skins/subsilv/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/vista/active/base.bmp b/skins/vista/active/base.bmp new file mode 100644 index 0000000000000000000000000000000000000000..b25f7cd50cf003b328f04d86ead3df3689598767 GIT binary patch literal 582 zcmZvR*-nE{6h+Y|hZmoWi5iD$K@mKJZFoOxkgWgXstv4oD;J@NMCa2@^DJ^lCBl z<}+_GCCq^tz4+cT@ZNm{V+jor`RmYMMU;T{8jeX6B;f}Thh@;2$D1tPP(xHiMVfqO eN%503Ez$hSpKoM&hYZtcn$Vm%Ip1xg z|9uYZ%b|IE7x+B*&VWM$d^!KwaOAqWyt#Ir1UUDt7z-mQhSO0x!Rxt`5>ZA(N<<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a/skins/vista/default.asm b/skins/vista/default.asm new file mode 100644 index 0000000000..f5ffd65d7e --- /dev/null +++ b/skins/vista/default.asm @@ -0,0 +1,31 @@ +include 'my_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=0x2D2F2B],\ ; border frame color + colors inactive = [binner=0x00081D:\ ; border inner color + bouter=0x00081D:\ ; border outer color + bframe=0x72757A],\ ; border frame color + dtp = 'default.dtp' ; dtp colors + +SKIN_BUTTONS \ + close = [-47:3][41:17],\ ; buttons coordinates + minimize = [-71:3][23: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' diff --git a/skins/vista/default.dtp b/skins/vista/default.dtp new file mode 100644 index 0000000000000000000000000000000000000000..c2a444a092bb37bad244efa6c53e105f673374a4 GIT binary patch literal 40 ycmV+@0N4L+XlMXhU}69i6chmT(9i(%^z;C3ZfpP+92@}l?)Cui@bm!e^6~&axe^-y literal 0 HcmV?d00001 diff --git a/skins/vista/default.skn b/skins/vista/default.skn deleted file mode 100644 index e48b9a752f55a0fa6d8a29004a51e7d1ef02042f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1854 zcmV-E2f_GDP(w@1E&u=l0000%#gZwsj&&}CIeQq_5y2*b(Z>WzrFLI2<-Y$(Dy+Eh z|A*yyz%ms@#4e=RFwY-qpK>DB4a9ee4HkEENwrP1bh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$feBf)zP`C2?Eq;1OzYMKzbg3;)NLv0Mvgb@ga@86fY@QDcU z+aUlhw82G!k1k#8=T~}dTj;u>bkXR9%~pr#dPvhE-Q7~ul|zKM(GCZ2p$)F@Ipp`x zZZ64h#ZGkb-e_@%DMUCBkfK6DNS`>_)|d8Dmjx~oy!&N};Pz^wLtR$L*j|mdG6d#Q z$b|}BZ;Z4o>`E8pk>J&(YXRP+j&14foB=mDjh1PYS6Ul_kQ=)`bvKX1+d7BfLL2f( z@ahu5o?>#ribS-F_lC+vW5m=u9HIaWF0{c#f{(6150W1b4)i 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/winflat/active/base.bmp b/skins/winflat/active/base.bmp new file mode 100644 index 0000000000000000000000000000000000000000..77610ea880214291b9f43ed7a4d540d629336704 GIT binary patch literal 330 zcmZwDOA3TA5CqT`Jc8gH!4tR^mx6bi6V8bL7!yt62XA2`QmcelMK{@XUKRm8FXc`+ zAt&Yp^x-Co-v4KL>zfh$x)J`pfNGea9;H_!6tq%9CpGl*0)tvXXyY|47Nl{Y?B=E2 R4(oP+*-tNbUVtO;a05fw;OYPX literal 0 HcmV?d00001 diff --git a/skins/winflat/active/left.bmp b/skins/winflat/active/left.bmp new file mode 100644 index 0000000000000000000000000000000000000000..092d974a2dd6dfe6da444b91b7ac2428c4fcee0a GIT binary patch literal 606 zcmaLN$qm9V6h+a%iVmOzDqxM+(*m_nAw)n1$Jm*P=z^;dp-2xoI{tF5|KWIAM&q|* zZaFK?nzM*DOxpB5{!HV%k1k36#eMGA=NA^PsZsPeD-`{fTNUVc;}rW3>lHn*UeVKM sspy%j6y5k*1$t37ihWzRitd_D1-fs0#eUVj6us^T73l5oR_y=v0UGn4CIA2c literal 0 HcmV?d00001 diff --git a/skins/winflat/active/oper.bmp b/skins/winflat/active/oper.bmp new file mode 100644 index 0000000000000000000000000000000000000000..33f76b2fe16bb7ff57494fa8d80b943544428372 GIT binary patch literal 3090 zcmd6lOHRW;5Jb%yR&3x1NbFf7_S}i%v4RNlH*x+%+=8c+RBC1th$F$!Do<+cemxb- zclYOK)wXU}ueh$cF1SvrOV+A-JKg?#Ssreyzt>Z5C~-99Z4sjk&;3zBDMM#4E+}Pq z8P*cpRx*fb1=4I5PsQ!wpG2Ia49Bs`@H(1EY?<@e>Ha9%Xf}vBnpK8w-AHi`K2Z#& z3*H&UFF1YjGdX^ufm&c=RC)18Fn5!HX2N^wq{kbBKBh)LLZX!MLq zSe{aY$xKS-76qK#iKYl+TH5^vYlmvy;sOID^?=&7c5zj3mD@ zjHe5UEe-Mi?(>>s5RvoC<>7{o+2Ih6i*NBPb2h?*=`Qk?Tm z0B10WIhx&>ft-g3HqUSfsP|x28Jgub;{I%gJ&CKK++h?NuN5 zcm9@g?^L0EtSl2$#Z8Jj!2P&3iksylA*KL z^T1m{l}7>HytwkAuTO;n^69cqg#z~Ti634}s}Jq~gY}NcdFR+3=W{<8H=R-aU2*k&E_q#6Ny_>K-7-SH< z^?Q&pME~(?kU{+B_U{bzji0|VhUn{C+Zn`v{r)opeQk3qV~GBF<3|SZpT2$1K>xVD znSuUceKQ07{n|zb`nxad8AJ5d&tEf$fBR`I1D$`jWVj9&cE9UN_*W!P$vzd{b)Nfu zD*rUT-ROLn$Fw#gs%}XAw zxNQrN5#nAr@M2tv0_3GhOFNuaH#YG|A|s^c^&XvT1mvYvdq^!wQ}0S5BP4sH-?)3K zC|+IyoVOYQ8TTxJPIK?Mcw)3G!dn#}BP4sH_qgW~ke2{$zd4B;oyRcB2&s9!U*{SD zd1=)??@7Yt_gsLCknHvN$P-EwFE33xP~;?Gbh{^!5#nC&I`b$%UW_`qv`r!-q_Y>J zj!2P&3iksylA*KL^T1m{l}7>HytwkAuTO;n^69cqg#z~Ti634}s}Jq~gY}Ncsqea; z-w(!3XH-AA`RPa}oEp&<4AE`~@jb=4mTQPsPKXvUh}IK`FAM&FIQQx8Gfe{m@p1SA D^gNhc diff --git a/skins/winflat/inactive/base.bmp b/skins/winflat/inactive/base.bmp new file mode 100644 index 0000000000000000000000000000000000000000..64a8dd9209b9cb996e5b802e0ea47c7578512ec7 GIT binary patch literal 330 zcmZwDO%6aX5Cz~$96^E`IDrFLN*ut^oDlI})oPWRh`d#s@4d{VyD6$NVBgEBGfGH_ zDFI8U8H@h^Z~3dKQ)uT6x`ji(?l5e^Yvd9ppXoWt{^Yfrb~?bo<5t literal 0 HcmV?d00001 diff --git a/skins/winflat/inactive/left.bmp b/skins/winflat/inactive/left.bmp new file mode 100644 index 0000000000000000000000000000000000000000..f7f240b8db83a3fc8c125d6553958e8e183a758e GIT binary patch literal 606 zcmaLN$qm9V6h+a%iVlDdsDJ|4Qve(KqC!AGMq_7iVy;4jB0c2j_{+KehvRvfjNhKQ zdrgZk?sLCBzp!x2N=3itm7+fiqayuTTE+g$I7Ls5Q}paz rD|&7lMK4{eBE70R#lC61qT8-lk?#DU*l+rv=^T5O<8EwNK?Qw>r0?*lBaMFS7Me;B(8L|b{>DR+ zyZiIAV*7W?c+GXgb-{H~Trw8L)9Lo-%kcPc_4j%ij3thyji;R$b$A_4I+Qx}M$-?H z6pN{YK}=-h&fF&~An#&O)>6z#3NVdn$}xz^*|=Y6x|6Uh(P8*8lVVOx$h~q5ViGnU z8a+`7%PJj4)m%z)@}qr6IR-H~tD`jEVLDq%OxY0s-+f*=1~Ca6kB;8Y!7Qu1i*m7&lAL`7oMR9Z+2m06$2;n8mL)n= z%e549zA4}i1~EsoJ3G+x5W(gh4gvKX%&J4Z+DJ@W$snc`$Y!&6-o<>~bSQOLY?==B Re>$w1rbFpDFm@}x$xliECWQb1 literal 0 HcmV?d00001 diff --git a/skins/winflat/my_skin.inc b/skins/winflat/my_skin.inc new file mode 100644 index 0000000000..ccbb3c191c --- /dev/null +++ b/skins/winflat/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