|
PatchworkOS
|
Go to the source code of this file.
Macros | |
| #define | POPUP_HEIGHT 125 |
| #define | POPUP_WIDTH 325 |
| #define | POPUP_BUTTON_AREA_HEIGHT 50 |
| #define | POPUP_HORIZONTAL_PADDING 50 |
| #define | POPUP_BUTTON_HEIGHT 35 |
| #define | POPUP_BUTTON_WIDTH 100 |
Enumerations | |
| enum | popup_type_t { POPUP_OK , POPUP_RETRY_CANCEL , POPUP_YES_NO } |
| enum | popup_result_t { POPUP_RES_OK , POPUP_RES_RETRY , POPUP_RES_CANCEL , POPUP_RES_YES , POPUP_RES_NO , POPUP_RES_CLOSE , POPUP_RES_ERROR } |
Functions | |
| popup_result_t | popup_open (const char *text, const char *title, popup_type_t type) |
| enum popup_result_t |
| enum popup_type_t |
| popup_result_t popup_open | ( | const char * | text, |
| const char * | title, | ||
| popup_type_t | type | ||
| ) |
Definition at line 87 of file popup.c.
References CLOCKS_NEVER, display_dispatch(), display_free(), display_get_screen(), display_new(), display_next(), ERR, NULL, POPUP_HEIGHT, popup_procedure(), POPUP_RES_CLOSE, POPUP_RES_ERROR, POPUP_WIDTH, RECT_HEIGHT, RECT_INIT_DIM, RECT_WIDTH, popup_t::result, screenRect, SURFACE_WINDOW, WINDOW_DECO, window_free(), window_new(), and WINDOW_NO_CONTROLS.
Referenced by startmenu_procedure().