source: trunk/core/gui_mbox.h @ 515

Revision 515, 1.1 KB checked in by reyalp, 5 years ago (diff)

set svn:eol-style and fix files that had mixed line endings. See http://chdk.setepontos.com/index.php/topic,2145.15.html

  • Property svn:eol-style set to native
RevLine 
[243]1#ifndef GUI_MBOX_H
2#define GUI_MBOX_H
3
4//-------------------------------------------------------------------
5#define MBOX_BTN_MASK           0x00FF
6#define MBOX_BTN_OK             0x0001
7#define MBOX_BTN_YES            0x0002
8#define MBOX_BTN_NO             0x0004
9#define MBOX_BTN_CANCEL         0x0008
10#define MBOX_BTN_YES_NO         0x0006
11#define MBOX_BTN_YES_NO_CANCEL  0x000E
12
13#define MBOX_TEXT_MASK          0x0300
14#define MBOX_TEXT_LEFT          0x0000
15#define MBOX_TEXT_CENTER        0x0100
16#define MBOX_TEXT_RIGHT         0x0200
17
18#define MBOX_FUNC_MASK          0x0C00
19#define MBOX_FUNC_RESTORE       0x0400
20
21#define MBOX_DEF_MASK           0x3000
22#define MBOX_DEF_BTN1           0x0000
23#define MBOX_DEF_BTN2           0x1000
24#define MBOX_DEF_BTN3           0x2000
25
26//-------------------------------------------------------------------
27extern void gui_mbox_init(int title, int msg, const unsigned int flags, void (*on_select)(unsigned int btn));
28extern void gui_mbox_kbd_process();
29extern void gui_mbox_draw();
30
31//-------------------------------------------------------------------
32#endif
Note: See TracBrowser for help on using the repository browser.