Fix CXX_BUILD error

This commit is contained in:
libretroadmin 2023-01-17 19:25:04 +01:00
parent 23d54bcec0
commit abbe7e2edc

View File

@ -31,6 +31,19 @@ typedef struct cheevo_popup
uintptr_t badge;
} cheevo_popup;
enum
{
ANCHOR_LEFT = 0,
ANCHOR_CENTER,
ANCHOR_RIGHT
};
enum
{
ANCHOR_TOP = 0,
ANCHOR_BOTTOM
};
struct gfx_widget_achievement_popup_state
{
#ifdef HAVE_THREADS
@ -50,9 +63,9 @@ struct gfx_widget_achievement_popup_state
/* Values copied from user config in _start to prevent accessing every _frame */
float target_h; /* Horizontal sliding target, 0.0 to 0.5, convert to screen-space before use */
float target_v; /* Vertical sliding target, 0.0 to 0.5, convert to screen-space before use */
uint8_t anchor_h; /* Horizontal anchor */
uint8_t anchor_v; /* Vertical anchor */
bool padding_auto; /* Should we use target h/v or grab pixel values from p_dispwidget? */
enum { ANCHOR_LEFT = 0, ANCHOR_CENTER, ANCHOR_RIGHT } anchor_h; /* Horizontal anchor */
enum { ANCHOR_TOP = 0, ANCHOR_BOTTOM } anchor_v; /* Vertical anchor */
};
typedef struct gfx_widget_achievement_popup_state gfx_widget_achievement_popup_state_t;