#include "camera_info.h"
#include "keyboard.h"
#include "histogram.h"
#include "lang.h"
#include "conf.h"
#include "gui.h"
#include "gui_draw.h"
#include "gui_lang.h"
#include "gui_batt.h"
#include "gui_usb.h"
#include "gui_space.h"
#include "gui_osd.h"
#include "module_def.h"
#include "simple_module.h"
gehe zum Quellcode dieser Datei
int _module_can_unload |
( |
) | |
|
Definiert in Zeile 59 der Datei gui_osd_edit.c.
71 #if (FONT_HEIGHT <= FONT_REAL_HEIGHT)
72 if ( xscale == 0) xscale = 1 ;
73 if ( yscale == 0) yscale = 1 ;
79 (
osd[curr_item].
pos->
y+
SCL(
osd[curr_item].size.y,yscale))+i-1,
int gui_osd_kbd_process |
( |
) | |
|
void gui_osd_menu_kbd_process |
( |
) | |
|
void osd_font_scale |
( |
int |
dir) | |
|
Definiert in Zeile 89 der Datei gui_osd_edit.c.
95 switch ((xscale<<4)+yscale)
97 #if (FONT_HEIGHT > FONT_REAL_HEIGHT)
101 if ( dir>=0) { xscale=1; yscale=1; }
else { xscale=0; yscale=0; }
105 if ( dir>=0) { xscale=2; yscale=1 ; }
106 #if (FONT_HEIGHT > FONT_REAL_HEIGHT)
107 else { xscale=0; yscale=0; }
111 if ( dir>=0) { xscale=2; yscale=2; }
else { xscale=1; yscale=1; }
114 if ( dir>=0) { xscale=3; yscale=2; }
else { xscale=2; yscale=1; }
117 if ( dir>=0) { xscale=4; yscale=2; }
else { xscale=2; yscale=2; }
120 if ( dir>=0) { xscale=3; yscale=3; }
else { xscale=3; yscale=2; }
123 if ( dir>=0) { xscale=4; yscale=4; }
else { xscale=4; yscale=2; }
126 if ( dir == -1) { xscale=3; yscale=3; }
127 #if (FONT_HEIGHT > FONT_REAL_HEIGHT)
128 else if ( dir == 0) { xscale=0; yscale=0; }
130 else if ( dir == 0) { xscale=1; yscale=1; }
int scalemul[5] = {1,2,4,6,8} |
|
static |