root/modules/gui_mpopup.h

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

INCLUDED FROM


   1 #ifndef GUI_MPOPUP_H
   2 #define GUI_MPOPUP_H
   3 
   4 #include "flt.h"
   5 
   6 //-------------------------------------------------------------------
   7 
   8 #define MPOPUP_MASK             0x7FFF
   9 #define MPOPUP_CANCEL           0x8000
  10 
  11 struct mpopup_item {
  12         unsigned int            flag;
  13         int                     text;
  14 };
  15 
  16 //-------------------------------------------------------------------
  17 
  18 // Update version if changes are made to the module interface
  19 #define GUI_MPOPUP_VERSION      {2,0}
  20 
  21 typedef struct
  22 {
  23     base_interface_t    base;
  24 
  25     void (*show_popup)(struct mpopup_item* popup_actions, const unsigned int flags, void (*on_select)(unsigned int actn));
  26 } libmpopup_sym;
  27 
  28 //-------------------------------------------------------------------
  29 extern libmpopup_sym* libmpopup;
  30 
  31 //-------------------------------------------------------------------
  32 #endif

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