Subversion Repositories Kolibri OS

Rev

Rev 4195 | Rev 4234 | 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/iconstrp.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. ;-------------------------------------------------------------------------------
  23. load_lib_start:
  24.     lib1    l_libs img.name,         \
  25.                    sys_path,         \
  26.                    file_name,        \
  27.                    img.dir,          \
  28.                    error,            \
  29.                    error,            \
  30.                    img,              \
  31.                    error,            \
  32.                    error
  33.  
  34.     lib2    l_libs ini.name,         \
  35.                    sys_path,         \
  36.                    file_name,        \
  37.                    ini.dir,          \
  38.                    error,            \
  39.                    error,            \
  40.                    ini,              \
  41.                    error,            \
  42.                    error
  43. load_lib_end:
  44. ;-------------------------------------------------------------------------------
  45. img:
  46.  .init     \
  47.     dd      .init_T
  48.  .toRGB    \
  49.     dd      .toRGB_T
  50.  .decode   \
  51.     dd      .decode_T
  52.  .destroy  \
  53.     dd      .destroy_T
  54.  
  55.     dd      0, 0
  56.  
  57.  .init_T:
  58.     db      "lib_init", 0
  59.  .toRGB_T:
  60.     db      "img_to_rgb2", 0
  61.  .decode_T:
  62.     db      "img_decode", 0
  63.  .destroy_T:
  64.     db      "img_destroy", 0
  65.  
  66.  .dir:
  67.     db      "/sys/lib/"
  68.  .name:
  69.     db      "libimg.obj", 0
  70. ;-------------------------------------------------------------------------------
  71. ini:
  72.  .init     \
  73.     dd      .init_T
  74.  .sections \
  75.     dd      .sections_T
  76.  .get_int  \
  77.     dd      .get_int_T
  78.  .get_str  \
  79.     dd      .get_str_T
  80.  
  81.     dd      0, 0
  82.  
  83.  .init_T:
  84.     db      "lib_init", 0
  85.  .sections_T:
  86.     db      "ini_enum_sections", 0
  87.  .get_int_T:
  88.     db      "ini_get_int", 0
  89.  .get_str_T:
  90.     db      "ini_get_str", 0
  91.  
  92.  .dir:
  93.     db      "/sys/lib/"
  94.  .name:
  95.     db      "libini.obj", 0
  96. ;-------------------------------------------------------------------------------
  97. ICON_SIZE        equ  32 * 32
  98. ICON_SIZE_BGR    equ  ICON_SIZE * 3
  99. ICON_SIZE_RGB    equ  ICON_SIZE * 4
  100.  
  101. BUTTON_SIZE      equ  44
  102. ;-------------------------------------------------------------------------------
  103. __dataend: