Files
balatro-gba/include/game/common_ui.h
Rickey d01b1ba12d
Some checks are pending
Build and Deploy Doxygen Docs / docs (push) Waiting to run
Refactor/blind select screen (#461)
Refactor Blind Select Screen.

Based on #363
---------

Co-authored-by: emiyl <me@emiyl.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-05-06 00:56:59 -07:00

34 lines
576 B
C

/**
* @file common_ui.h
*
* @brief Common functions to render UI elements.
*/
#ifndef COMMON_UI_H
#define COMMON_UI_H
#include <stdbool.h>
/**
* @brief Enum of possible backgrounds to render with @ref change_background
*/
enum BackgroundId
{
BG_NONE,
BG_CARD_SELECTING,
BG_CARD_PLAYING,
BG_ROUND_END,
BG_SHOP,
BG_BLIND_SELECT,
BG_OPTIONS_MENU,
BG_MAIN_MENU
};
/**
* Change the background
*
* @param id @ref BackgroundId to render to screen
*/
void change_background(enum BackgroundId id, bool force_redraw);
#endif // COMMON_UI_H