Added GUI Frame
This commit is contained in:
@ -5,6 +5,7 @@
|
||||
|
||||
#pragma once
|
||||
#include <dawn/dawn.h>
|
||||
#include "array.h"
|
||||
|
||||
/**
|
||||
* Replaces handlebars within the string with items from the list of variables.
|
||||
@ -21,4 +22,24 @@
|
||||
*/
|
||||
int32_t stringHandlebarsBuffer(char *source,
|
||||
stringhandlebarvariable_t *variables, int32_t variableCount, char *buffer
|
||||
);
|
||||
);
|
||||
|
||||
/**
|
||||
* Initializes a string stack for pushing strings on to.
|
||||
* @param stack Stack to initialize.
|
||||
*/
|
||||
void stringStackInit(stringstack_t *stack);
|
||||
|
||||
/**
|
||||
* Push a string onto the stack. The source string will be copied so you can
|
||||
* change the original pointer after this push operation.
|
||||
* @param stack Stack to push onto.
|
||||
* @param string String to copy and push.
|
||||
*/
|
||||
void stringStackPush(stringstack_t *stack, char *string);
|
||||
|
||||
/**
|
||||
* Pop an element off the end of a string stack.
|
||||
* @param stack Stack to pop from.
|
||||
*/
|
||||
void stringStackPop(stringstack_t *stack);
|
Reference in New Issue
Block a user