|
PatchworkOS
966e257
A non-POSIX operating system.
|
Go to the source code of this file.
Data Structures | |
| struct | start_menu_t |
Macros | |
| #define | START_BUTTON_HEIGHT 32 |
| #define | START_MENU_WIDTH 250 |
| #define | START_MENU_ANIMATION_TIME (CLOCKS_PER_SEC / 10) |
| #define | EVENT_USER_START_MENU_CLOSE (EVENT_USER_START + 1) |
Enumerations | |
| enum | start_menu_state_t { START_MENU_CLOSED , START_MENU_OPEN , START_MENU_CLOSING , START_MENU_OPENING } |
Functions | |
| window_t * | start_menu_new (window_t *taskbar, display_t *disp) |
| void | start_menu_open (window_t *startMenu) |
| void | start_menu_close (window_t *startMenu) |
| start_menu_state_t | start_menu_get_state (window_t *startMenu) |
| #define START_BUTTON_HEIGHT 32 |
Definition at line 6 of file start_menu.h.
| #define START_MENU_WIDTH 250 |
Definition at line 8 of file start_menu.h.
| #define START_MENU_ANIMATION_TIME (CLOCKS_PER_SEC / 10) |
Definition at line 10 of file start_menu.h.
| #define EVENT_USER_START_MENU_CLOSE (EVENT_USER_START + 1) |
Definition at line 12 of file start_menu.h.
| enum start_menu_state_t |
| Enumerator | |
|---|---|
| START_MENU_CLOSED | |
| START_MENU_OPEN | |
| START_MENU_CLOSING | |
| START_MENU_OPENING | |
Definition at line 14 of file start_menu.h.
Definition at line 173 of file start_menu.c.
| void start_menu_open | ( | window_t * | startMenu | ) |
Definition at line 278 of file start_menu.c.
| void start_menu_close | ( | window_t * | startMenu | ) |
Definition at line 309 of file start_menu.c.
| start_menu_state_t start_menu_get_state | ( | window_t * | startMenu | ) |
Definition at line 325 of file start_menu.c.