mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-16 20:02:35 +03:00
34 lines
1.2 KiB
NASM
34 lines
1.2 KiB
NASM
|
;SKIN (.SKN) - COMPILE WITH FASM
|
||
|
|
||
|
include 'me_skin.inc'
|
||
|
|
||
|
SKIN_PARAMS \
|
||
|
height = bmp_base.height,\ ; skin height
|
||
|
margins = [5:1:67:1],\ ; margins [left:top:right:bottom]
|
||
|
colors active = [binner=0xafafaf:\ ; border inner color
|
||
|
bouter=0x101010:\ ; border outer color
|
||
|
bframe=0xf3f3f3],\ ; border frame color
|
||
|
colors inactive = [binner=0xafafaf:\ ; border inner color
|
||
|
bouter=0x101010:\ ; border outer color
|
||
|
bframe=0xf3f3f3],\ ; border frame color
|
||
|
dtp = 'default.dtp' ; dtp colors
|
||
|
|
||
|
SKIN_BUTTONS \
|
||
|
close = [-32:4][28:15],\ ; buttons coordinates
|
||
|
minimize = [-62:4][28:15] ; [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'
|