Subversion Repositories Kolibri OS

Rev

Rev 1793 | Rev 7119 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1. ;SKIN (.SKN) - COMPILE WITH FASM
  2.  
  3. include 'me_skin.inc'
  4.  
  5. SKIN_PARAMS \
  6.   height          = bmp_base.height,\     ; skin height
  7.   margins         = [5:1:72:1],\          ; margins [left:top:right:bottom]
  8.   colors active   = [binner=0xafafaf:\    ; border inner color
  9.                      bouter=0x101010:\    ; border outer color
  10.                      bframe=0xf3f3f3],\   ; border frame color
  11.   colors inactive = [binner=0xafafaf:\    ; border inner color
  12.                      bouter=0x101010:\    ; border outer color
  13.                      bframe=0xf3f3f3],\   ; border frame color
  14.   dtp             = 'default.dtp'          ; dtp colors
  15.  
  16. SKIN_BUTTONS \
  17.   close    = [-20:3][16:16],\             ; buttons coordinates
  18.   minimize = [-40:3][16:16]               ; [left:top][width:height]
  19.  
  20. SKIN_BITMAPS \
  21.   left active   = bmp_left,\              ; skin bitmaps pointers
  22.   left inactive = bmp_left1,\
  23.   oper active   = bmp_oper,\
  24.   oper inactive = bmp_oper1,\
  25.   base active   = bmp_base,\
  26.   base inactive = bmp_base1
  27.  
  28. BITMAP bmp_left ,'left.bmp'               ; skin bitmaps
  29. BITMAP bmp_oper ,'oper.bmp'
  30. BITMAP bmp_base ,'base.bmp'
  31. BITMAP bmp_left1,'left_1.bmp'
  32. BITMAP bmp_oper1,'oper_1.bmp'
  33. BITMAP bmp_base1,'base_1.bmp'
  34.