trunk 20080912
[gitenigma.git] / src / setup_lcd.h
blob4994b074a86ba07a9bfae61f8e995c6a3519754b
1 #ifndef DISABLE_LCD
3 #ifndef __setuplcd_h
4 #define __setuplcd_h
6 #include <lib/gui/ewindow.h>
7 #include <lib/gui/statusbar.h>
9 class eLabel;
10 class eButton;
11 class eSlider;
12 class eCheckbox;
14 class eZapLCDSetup: public eWindow
16 eSlider *p_brightness, *p_contrast, *p_standby;
17 eLabel *bbrightness, *bcontrast, *bstandby;
18 eStatusBar* statusbar;
19 eCheckbox* inverted, *shortnames;
21 int lcdbrightness;
22 int lcdcontrast;
23 int lcdstandby;
25 eButton *ok;
26 void okPressed();
27 int eventHandler( const eWidgetEvent&);
28 void brightnessChanged( int );
29 void contrastChanged( int );
30 void standbyChanged( int );
31 void invertedChanged( int );
32 void update(int brightness, int contrast);
33 void init_eZapLCDSetup();
34 public:
35 eZapLCDSetup();
36 ~eZapLCDSetup();
37 private:
40 #endif
42 #endif //DISABLE_LCD