32 lines
543 B
C
32 lines
543 B
C
/**
|
|
* Copyright (c) 2025 Dominic Masters
|
|
*
|
|
* This software is released under the MIT License.
|
|
* https://opensource.org/licenses/MIT
|
|
*/
|
|
|
|
#pragma once
|
|
#include "dusksdl2.h"
|
|
|
|
typedef struct {
|
|
void (*init)(void);
|
|
void (*draw)(void);
|
|
void (*dispose)(void);
|
|
} renderuicallback_t;
|
|
|
|
extern renderuicallback_t RENDER_UI_CALLBACKS[];
|
|
|
|
/**
|
|
* Initialize the UI rendering system.
|
|
*/
|
|
void renderUIInit(void);
|
|
|
|
/**
|
|
* Draw the UI elements.
|
|
*/
|
|
void renderUIDraw(void);
|
|
|
|
/**
|
|
* Dispose of the UI rendering system.
|
|
*/
|
|
void renderUIDispose(void); |