Subversion Repositories Kolibri OS

Rev

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

  1. ;-------------------------------------------------------------------------------
  2. img_data:
  3.  .file_name:
  4.     db      "/sys/icons32.png", 0
  5. ;-------------------------------------------------------------------------------
  6. ini_data:
  7.  .file_name:
  8.     db      "/sys/settings/Docky.ini", 0
  9.  .path_name:
  10.     db      "path", 0
  11.  .param_name:
  12.     db      "param", 0
  13.  .icon_name:
  14.     db      "icon", 0
  15.  .separator_name:
  16.     db      "$", 0
  17.  
  18.  .settings_name:
  19.     db      "@", 0
  20.  .location_name:
  21.     db      "location", 0
  22.  .fsize_name:
  23.     db      "fsize", 0
  24.  .ashow_name:
  25.     db      "ashow", 0
  26. ;-------------------------------------------------------------------------------
  27. load_lib_start:
  28.     lib1    l_libs img.name,         \
  29.                    file_name,        \
  30.                    img.dir,          \
  31.                    img
  32.  
  33.     lib2    l_libs ini.name,         \
  34.                    file_name,        \
  35.                    ini.dir,          \
  36.                    ini
  37. load_lib_end:
  38. ;-------------------------------------------------------------------------------
  39. img:
  40.  .init     \
  41.     dd      .init_T
  42.  .toRGB    \
  43.     dd      .toRGB_T
  44.  .decode   \
  45.     dd      .decode_T
  46.  .destroy  \
  47.     dd      .destroy_T
  48.  
  49.     dd      0, 0
  50.  
  51.  .init_T:
  52.     db      "lib_init", 0
  53.  .toRGB_T:
  54.     db      "img_to_rgb2", 0
  55.  .decode_T:
  56.     db      "img_decode", 0
  57.  .destroy_T:
  58.     db      "img_destroy", 0
  59.  
  60.  .dir:
  61.     db      "/sys/lib/"
  62.  .name:
  63.     db      "libimg.obj", 0
  64. ;-------------------------------------------------------------------------------
  65. ini:
  66.  .init     \
  67.     dd      .init_T
  68.  .sections \
  69.     dd      .sections_T
  70.  .get_int  \
  71.     dd      .get_int_T
  72.  .get_str  \
  73.     dd      .get_str_T
  74.  
  75.     dd      0, 0
  76.  
  77.  .init_T:
  78.     db      "lib_init", 0
  79.  .sections_T:
  80.     db      "ini_enum_sections", 0
  81.  .get_int_T:
  82.     db      "ini_get_int", 0
  83.  .get_str_T:
  84.     db      "ini_get_str", 0
  85.  
  86.  .dir:
  87.     db      "/sys/lib/"
  88.  .name:
  89.     db      "libini.obj", 0
  90. ;-------------------------------------------------------------------------------
  91. ICON_SIZE        equ  32 * 32
  92. ICON_SIZE_BGR    equ  ICON_SIZE * 3
  93. ICON_SIZE_RGB    equ  ICON_SIZE * 4
  94.  
  95. BUTTON_SIZE      equ  44
  96. ;-------------------------------------------------------------------------------
  97. __dataend: