Shkvorka: update button color, add bordered version

git-svn-id: svn://kolibrios.org@6010 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2015-12-26 13:41:26 +00:00
parent 61ebcdda39
commit 116d2c8d6a
15 changed files with 53 additions and 2 deletions

View File

@ -6,8 +6,8 @@ struc system_colors
.grab_button_text dd 0x000000
.grab_text dd 0x333333
.work dd 0xE4DFE1
.work_button dd 0xE9E9E9
.work_button_text dd 0x444444
.work_button dd 0x7F879E
.work_button_text dd 0xFEFEFE
.work_text dd 0x000000
.work_graph dd 0x7E7E7E
}

View File

@ -0,0 +1,2 @@
if tup.getconfig("NO_FASM") ~= "" then return end
tup.rule("default.asm", 'fasm "%f" "%o" ' .. tup.getconfig("KPACK_CMD"), "Shkvorka.skn")

View File

@ -0,0 +1,4 @@
fasm default.dtp.asm default.dtp
fasm default.asm default.skn
kpack default.skn
pause

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,31 @@
include '..\me_skin.inc'
SKIN_PARAMS \
height = bmp_center1.height,\ ; skin height
margins = [6:5:43:3],\ ; margins [left:top:right:bottom]
colors active = [binner=0x787878:\ ; border inner
bouter=0x646464:\ ; border outer
bframe=0xC5C5C5],\ ; border middle
colors inactive = [binner=0x8E8E8E:\ ; border inner
bouter=0x646464:\ ; border outer
bframe=0xE1E1E1],\ ; border middle
dtp = 'default.dtp' ; dtp colors
SKIN_BUTTONS \
close = [-31:1][27:18],\ ; buttons coordinates
minimize = [-58:1][27:18] ; [left:top][width:height]
SKIN_BITMAPS \
left active = bmp_left1,\ ; skin bitmaps pointers
left inactive = bmp_left2,\
oper active = bmp_right1,\
oper inactive = bmp_right2,\
base active = bmp_center1,\
base inactive = bmp_center2
BITMAP bmp_left1, 'left1.bmp' ; skin bitmaps
BITMAP bmp_left2, 'left2.bmp'
BITMAP bmp_right1, 'right1.bmp'
BITMAP bmp_right2, 'right2.bmp'
BITMAP bmp_center1,'center1.bmp'
BITMAP bmp_center2,'center2.bmp'

Binary file not shown.

View File

@ -0,0 +1,14 @@
struc system_colors
{
.frame dd 0x646464
.grab dd 0x000000
.grab_button dd 0x000000
.grab_button_text dd 0x000000
.grab_text dd 0x333333
.work dd 0xE4DFE1
.work_button dd 0x7F879E
.work_button_text dd 0xFEFEFE
.work_text dd 0x000000
.work_graph dd 0x7E7E7E
}
struct system_colors

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 342 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 342 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB