root/core/gui_osd.h

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

INCLUDED FROM


   1 #ifndef GUI_OSD_H
   2 #define GUI_OSD_H
   3 
   4 // CHDK OSD interface
   5 
   6 // Note: used in modules and platform independent code. 
   7 // Do not add platform dependent stuff in here (#ifdef/#endif compile options or camera dependent values)
   8 
   9 //-------------------------------------------------------------------
  10 #define ZOOM_SHOW_X                     0
  11 #define ZOOM_SHOW_FL                    1
  12 #define ZOOM_SHOW_EFL                   2
  13 
  14 #define DOF_DONT_SHOW                   0
  15 #define DOF_SHOW_IN_DOF                 1
  16 #define DOF_SHOW_IN_DOF_EX              2
  17 #define DOF_SHOW_IN_MISC                3
  18 #define DOF_SHOW_IN_MISC_EX             4
  19 
  20 #define SHOW_MISC_ALWAYS                1   // State for 'Show Misc Values' option
  21 #define SHOW_MISC_SHOOT                 2   // State for 'Show Misc Values' option
  22 
  23 //-------------------------------------------------------------------
  24 extern void gui_draw_osd_elements(int is_osd_edit, int is_zebra);
  25 extern void gui_osd_draw_clock(int x, int y, twoColors cl, int is_osd_edit);
  26 extern void gui_draw_debug_vals_osd();
  27 extern void gui_update_debug_page();
  28 
  29 extern void gui_draw_osd();
  30 extern void gui_kbd_shortcuts();
  31 
  32 extern gui_handler defaultGuiHandler;
  33 
  34 //------------------------------------------------------------------- 
  35 
  36 #define DEBUG_DISPLAY_NONE 0
  37 #define DEBUG_DISPLAY_PROPS 1
  38 #define DEBUG_DISPLAY_PARAMS 2
  39 #define DEBUG_DISPLAY_TASKS 3
  40 #define DEBUG_DISPLAY_UIPROPS 4
  41 
  42 //-------------------------------------------------------------------
  43 
  44 extern void MakeAFScan(void);
  45 
  46 extern void EnterToCompensationEVF(void);
  47 extern void ExitFromCompensationEVF(void);
  48 
  49 extern int canon_menu_active;
  50 extern char canon_shoot_menu_active;
  51 
  52 //-------------------------------------------------------------------
  53 
  54 #endif

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