Added GUI Frame

This commit is contained in:
2021-08-11 09:48:56 -07:00
parent a4a8fe30c4
commit 68b946b6a1
38 changed files with 247 additions and 5352 deletions

View File

@ -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);