root/modules/gui_palette.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   1 #ifndef GUI_PALETTE_H
   2 #define GUI_PALETTE_H
   3 
   4 #include "flt.h"
   5 
   6 //-------------------------------------------------------------------
   7 
   8 #define PALETTE_MODE_DEFAULT    0
   9 #define PALETTE_MODE_SELECT     1
  10 #define PALETTE_MODE_TEST       2
  11 
  12 //-------------------------------------------------------------------
  13 
  14 // Update version if changes are made to the module interface
  15 #define GUI_PALETTE_VERSION     {2,2}
  16 
  17 typedef struct
  18 {
  19     base_interface_t    base;
  20 
  21     void (*show_palette)(int mode, chdkColor st_color, void (*on_select)(chdkColor clr));
  22 } libpalette_sym;
  23 
  24 //-------------------------------------------------------------------
  25 extern libpalette_sym* libpalette;
  26 
  27 //-------------------------------------------------------------------
  28 #endif

/* [<][>][^][v][top][bottom][index][help] */