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.1 KiB
NASM
32 lines
1.1 KiB
NASM
include '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=0x4d4c4d],\ ; bframe=0x0054e7],\ ; border frame color
|
|
colors inactive = [binner=0x00081d:\ ; border inner color
|
|
bouter=0x00081d:\ ; border outer color
|
|
bframe=0x3d3c3d],\ ;1a8acc],\ ; border frame color
|
|
dtp = 'myblue.dtp' ; dtp colors
|
|
|
|
SKIN_BUTTONS \
|
|
close = [-21:3][16:16],\ ; buttons coordinates
|
|
minimize = [-39:3][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 ,'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'
|