source: trunk/core/gui_osd.h @ 1580

Revision 1580, 1.6 KB checked in by philmoz, 16 months ago (diff)

Rework of zebra module to make the module platform independent, also re-organised the code and added some comments. ZEBRA_HMARGIN0 is no longer needed so removed from platform_camera.h files.

  • 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 ZOOM_SHOW_X                     0
16#define ZOOM_SHOW_FL                    1
17#define ZOOM_SHOW_EFL                   2
18
19#define ZOOM_SCALE_042                  0
20#define ZOOM_SCALE_100                  1
21#define ZOOM_SCALE_175                  2
22#define ZOOM_SCALE_200                  3
23#define ZOOM_SCALE_300                  4
24
25//ARM begin
26#define DOF_DONT_SHOW                   0
27#define DOF_SHOW_IN_DOF                 1
28#define DOF_SHOW_IN_MISC                2
29//ARM End
30
31//-------------------------------------------------------------------
32extern void gui_draw_osd_le(int arg);
33
34extern void gui_osd_draw_histo();
35extern void gui_osd_draw_dof();
36extern void gui_osd_draw_state();
37extern void gui_osd_draw_raw_info();
38extern void gui_osd_draw_values();
39extern void gui_osd_draw_clock(int x, int y, color cl);
40extern void gui_osd_draw_temp();
41extern void gui_osd_draw_seconds();
42extern void gui_osd_draw_ev();
43
44//ARM Begin
45extern void gui_osd_calc_dof();
46extern void gui_osd_calc_expo_param();
47//ARM End
48
49extern void gui_osd_draw_movie_time_left();
50
51extern void gui_osd_draw_ev_video(int visible);
52
53//-------------------------------------------------------------------
54#endif
Note: See TracBrowser for help on using the repository browser.