GBAlatro
A Demake of Balatro for the GBA
Loading...
Searching...
No Matches
common_ui.h
Go to the documentation of this file.
1
6#ifndef COMMON_UI_H
7#define COMMON_UI_H
8
9#include <stdbool.h>
10
15{
16 BG_NONE,
17 BG_CARD_SELECTING,
18 BG_CARD_PLAYING,
19 BG_ROUND_END,
20 BG_SHOP,
21 BG_BLIND_SELECT,
22 BG_RUN_SETUP,
23 BG_OPTIONS_MENU,
24 BG_MAIN_MENU
25};
26
27enum BackgroundId get_current_background(void);
28
34void change_background(enum BackgroundId id, bool force_redraw);
35
40
41#endif // COMMON_UI_H
void change_background(enum BackgroundId id, bool force_redraw)
Definition common_ui.c:35
BackgroundId
Enum of possible backgrounds to render with change_background.
Definition common_ui.h:15
void reset_top_left_panel_bottom_row(void)
Restores the bottom row of the top-left panel from the background map.
Definition common_ui.c:48