Rev 6601 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6601 | Rev 6612 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | #include |
3 | #include |
Line 4... | Line 4... | ||
4 | 4 | ||
5 | typedef struct __attribute__ ((__packed__)) { |
5 | typedef struct __attribute__ ((__packed__)) { |
6 | uint8_t retval; // 0 - win closed, 1 to n - button num, also default button on start |
6 | uint8_t retval; // 0 - win closed, 1 to n - button num, also default button on start |
7 | uint8_t reserv; |
7 | uint8_t reserv; |
8 | char texts[2048]; // mus be enough ;-) |
8 | char texts[2048]; // must be enough ;-) |
9 | char msgbox_stack[1024]; |
9 | char msgbox_stack[1024]; |
10 | uint32_t top_stack; |
10 | uint32_t top_stack; |
Line 47... | Line 47... | ||
47 | va_end(vl); |
47 | va_end(vl); |
Line 48... | Line 48... | ||
48 | 48 | ||
49 | return box; |
49 | return box; |
Line 50... | Line 50... | ||
50 | } |
50 | } |
51 | 51 | ||
52 | void kolibri_start_msgbox(msgbox* box, msgbox_callback cb[]) |
52 | static inline void kolibri_start_msgbox(msgbox* box, msgbox_callback cb[]) |
53 | { |
53 | { |
54 | if (!msgbox_inited) |
54 | if (!msgbox_inited) |
55 | { |
55 | { |