29 lines
597 B
C
29 lines
597 B
C
//
|
|
// Created by rov on 12/27/25.
|
|
//
|
|
|
|
#ifndef TIBIA_GUI_H
|
|
#define TIBIA_GUI_H
|
|
|
|
#include <SDL3/SDL.h>
|
|
|
|
#include "config.h"
|
|
|
|
typedef struct Gui {
|
|
bool isPreferencesDialogOpen;
|
|
char* statusBarText;
|
|
} Gui_t;
|
|
|
|
void Gui_Init(Gui_t* gui);
|
|
void Gui_ProcessEvent(const SDL_Event* event);
|
|
void Gui_StartRender();
|
|
void Gui_Render(Gui_t* gui, ConfigParams_t* configParams);
|
|
void Gui_FinishRender();
|
|
void Gui_Shutdown();
|
|
|
|
void Gui_RenderMainMenu(Gui_t* gui);
|
|
void Gui_RenderStatusBar(const Gui_t* gui);
|
|
|
|
void Gui_RenderPreferences_Dialog(Gui_t* gui, ConfigParams_t* configParams);
|
|
|
|
#endif //TIBIA_GUI_H
|