You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
612 B
22 lines
612 B
#ifndef UI_RENDERER_H |
|
#define UI_RENDERER_H |
|
|
|
#include "simulation.h" |
|
#include "renderer.h" |
|
#include "raylib.h" |
|
|
|
// UI state |
|
struct UIState { |
|
int body_list_scroll; // Scroll position for body list |
|
int body_list_active; // Active item index in body list |
|
}; |
|
|
|
void gui_init(); |
|
|
|
// UI rendering functions |
|
void render_info(SimulationState* sim); |
|
void render_body_list_ui(SimulationState* sim, RenderState* render_state, UIState* ui_state); |
|
void render_body_info_ui(SimulationState* sim, RenderState* render_state); |
|
void render_maneuver_list_ui(SimulationState* sim, RenderState* render_state); |
|
|
|
#endif
|
|
|