Skins: add Guzel and Guzel_magic by ConLenov

git-svn-id: svn://kolibrios.org@8066 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
ConLenov 2020-09-19 08:54:42 +00:00
parent 51715b6c55
commit 34353bfb9c
10 changed files with 53 additions and 0 deletions

View File

@ -0,0 +1,31 @@
include '../../skin.inc'
SKIN_PARAMS \
height = bmp_base.height,\ ; skin height
margins = [5:1:43:1],\ ; margins [left:top:right:bottom]
colors active = [binner=0x161925:\ ; border inner color
bouter=0x0C0E14:\ ; border outer color
bframe=0x161925],\ ; border frame color
colors inactive = [binner=0x161925:\ ; border inner color
bouter=0x0C0E14:\ ; border outer color
bframe=0x161925],\ ; border frame color
dtp = 'default.dtp' ; dtp colors
SKIN_BUTTONS \
close = [-18:6][12:12],\ ; buttons coordinates
minimize = [-39: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 ,'left.bmp' ; skin bitmaps
BITMAP bmp_oper ,'oper.bmp'
BITMAP bmp_base ,'base.bmp'
BITMAP bmp_left1,'left_1.bmp'
BITMAP bmp_oper1,'oper_1.bmp'
BITMAP bmp_base1,'base_1.bmp'

Binary file not shown.

After

Width:  |  Height:  |  Size: 150 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 150 B

View File

@ -0,0 +1,5 @@
@del default.skn
@fasm default.dtp.asm default.dtp
@fasm Guzel_magic.asm default.skn
@del default.dtp

View File

@ -0,0 +1,14 @@
struc system_colors
{
.frame dd 0x006393
.grab dd 0x0077b0
.work_dark dd 0xA5A5A5
.work_light dd 0xE4E4E4
.title_text dd 0xFFFFFF
.work dd 0x161925
.work_button dd 0x181B28
.work_button_text dd 0xFFFFFF
.work_text dd 0xFFFFFF
.work_graph dd 0x0D1017
}
struct system_colors

Binary file not shown.

After

Width:  |  Height:  |  Size: 438 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 438 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

View File

@ -0,0 +1,3 @@
if tup.getconfig("NO_FASM") ~= "" then return end
tup.rule("default.dtp.asm", 'fasm "%f" "%o"', "default.dtp")
tup.rule({"Guzel_magic.asm", extra_inputs = {"default.dtp"}}, 'fasm "%f" "%o" ' .. tup.getconfig("KPACK_CMD"), "Guzel_magic.skn")