mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-15 19:33:59 +03:00
d9d603acd0
Rename all the me_skin.inc and my_skin.inc to skin.inc. Read BMP header size from file, don't hardcode. Make all the skins use the same skin.inc. Speed up compilation of skins. git-svn-id: svn://kolibrios.org@7119 a494cfbc-eb01-0410-851d-a64ba20cac60
32 lines
1.2 KiB
NASM
32 lines
1.2 KiB
NASM
include '..\skin.inc'
|
|
|
|
SKIN_PARAMS \
|
|
height = bmp_center1.height,\ ; skin height
|
|
margins = [5:1:43:1],\ ; margins [left:top:right:bottom]
|
|
colors active = [binner=0xE1E1E1:\ ; border inner color
|
|
bouter=0x3E3635:\ ; border outer color
|
|
bframe=0xE1E1E1],\ ; border frame color
|
|
colors inactive = [binner=0xE1E1E1:\ ; border inner color
|
|
bouter=0x3E3635:\ ; border outer color
|
|
bframe=0xE1E1E1],\ ; border frame color
|
|
dtp = 'default.dtp' ; dtp colors
|
|
|
|
SKIN_BUTTONS \
|
|
close = [-18:4][13:14],\ ; buttons coordinates
|
|
minimize = [-36:4][13:14] ; [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'
|