mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-25 08:06:49 +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.4 KiB
NASM
32 lines
1.4 KiB
NASM
include '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'
|