Common functions to render UI elements. More...
#include <stdbool.h>Go to the source code of this file.
Enumerations | |
| enum | BackgroundId { BG_NONE , BG_CARD_SELECTING , BG_CARD_PLAYING , BG_ROUND_END , BG_SHOP , BG_BLIND_SELECT , BG_RUN_SETUP , BG_OPTIONS_MENU , BG_MAIN_MENU } |
| Enum of possible backgrounds to render with change_background. More... | |
Functions | |
| enum BackgroundId | get_current_background (void) |
| void | change_background (enum BackgroundId id, bool force_redraw) |
| void | reset_top_left_panel_bottom_row (void) |
| Restores the bottom row of the top-left panel from the background map. | |
Common functions to render UI elements.
Definition in file common_ui.h.
| enum BackgroundId |
Enum of possible backgrounds to render with change_background.
Definition at line 14 of file common_ui.h.
| void change_background | ( | enum BackgroundId | id, |
| bool | force_redraw | ||
| ) |
Change the background
| id | BackgroundId to render to screen |
Definition at line 35 of file common_ui.c.
| enum BackgroundId get_current_background | ( | void | ) |
Definition at line 30 of file common_ui.c.
| void reset_top_left_panel_bottom_row | ( | void | ) |
Restores the bottom row of the top-left panel from the background map.
Definition at line 48 of file common_ui.c.