archivemuh
This commit is contained in:
32
archive/dusksdl2/display/ui/renderui.h
Normal file
32
archive/dusksdl2/display/ui/renderui.h
Normal file
@@ -0,0 +1,32 @@
|
||||
/**
|
||||
* 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);
|
Reference in New Issue
Block a user