Added GUI Frame
This commit is contained in:
22
src/ui/frame.h
Normal file
22
src/ui/frame.h
Normal file
@ -0,0 +1,22 @@
|
||||
/**
|
||||
* Copyright (c) 2021 Dominic Masters
|
||||
*
|
||||
* This software is released under the MIT License.
|
||||
* https://opensource.org/licenses/MIT
|
||||
*/
|
||||
|
||||
#include <dawn/dawn.h>
|
||||
#include "../display/shader.h"
|
||||
#include "../display/primitive.h"
|
||||
#include "../display/primitives/quad.h"
|
||||
#include "../display/gui/font.h"
|
||||
|
||||
void frameInit(frame_t *frame);
|
||||
|
||||
void frameSetSize(frame_t *frame, float width, float height);
|
||||
|
||||
void frameSetInnerSize(frame_t *frame, float width, float height);
|
||||
|
||||
void frameRender(frame_t *frame, shader_t *shader);
|
||||
|
||||
void frameDispose(frame_t *frame);
|
Reference in New Issue
Block a user