source: branches/reyalp-flt/core/gui_osd.h @ 1513

Revision 1513, 1.8 KB checked in by philmoz, 2 years ago (diff)

Cleanup of code for handling CHDK 'gui' mode.

  • Property svn:eol-style set to native
Line 
1#ifndef GUI_OSD_H
2#define GUI_OSD_H
3
4//-------------------------------------------------------------------
5// A - RGB
6#define OSD_HISTO_LAYOUT_A              0
7#define OSD_HISTO_LAYOUT_Y              1
8#define OSD_HISTO_LAYOUT_A_Y            2
9#define OSD_HISTO_LAYOUT_R_G_B          3
10#define OSD_HISTO_LAYOUT_A_yrgb         4
11#define OSD_HISTO_LAYOUT_Y_argb         5
12#define OSD_HISTO_LAYOUT_BLEND          6
13#define OSD_HISTO_LAYOUT_BLEND_Y        7
14
15#define ZEBRA_DRAW_NONE                 0
16#define ZEBRA_DRAW_HISTO                1
17#define ZEBRA_DRAW_OSD                  2
18
19#define ZOOM_SHOW_X                     0
20#define ZOOM_SHOW_FL                    1
21#define ZOOM_SHOW_EFL                   2
22
23#define ZOOM_SCALE_042                  0
24#define ZOOM_SCALE_100                  1
25#define ZOOM_SCALE_175                  2
26#define ZOOM_SCALE_200                  3
27#define ZOOM_SCALE_300                  4
28
29//ARM begin
30#define DOF_DONT_SHOW                   0
31#define DOF_SHOW_IN_DOF                 1
32#define DOF_SHOW_IN_MISC                2
33//ARM End
34
35//-------------------------------------------------------------------
36extern void gui_draw_osd_le(int arg);
37
38extern void gui_osd_draw_histo();
39extern void gui_osd_draw_dof();
40extern void gui_osd_draw_state();
41extern void gui_osd_draw_raw_info();
42extern void gui_osd_draw_values();
43extern void gui_osd_draw_clock(int x, int y, color cl);
44extern void gui_osd_draw_temp();
45extern void gui_osd_draw_seconds();
46extern void gui_osd_draw_ev();
47
48//ARM Begin
49extern void gui_osd_calc_dof();
50extern void gui_osd_calc_expo_param();
51//ARM End
52
53extern int  gui_osd_draw_zebra(int show);
54extern void gui_osd_draw_movie_time_left();
55
56extern void gui_osd_draw_ev_video(int visible);
57
58//-------------------------------------------------------------------
59#endif
Note: See TracBrowser for help on using the repository browser.