[FEATURE] working gui buttons

This commit is contained in:
Menno
2021-05-25 14:38:35 +02:00
parent 21a7f4f4b2
commit 977d377fe5
9 changed files with 197 additions and 35 deletions

View File

@@ -5,9 +5,18 @@
namespace toolbox
{
#define WINDOW_WIDTH 1400.0f
#define WINDOW_HEIGT 800.0f
// Window macro's
#define DEFAULT_WIDTH 1920
#define DEFAULT_HEIGHT 1080
// Change these macros to change the window size
#define WINDOW_WIDTH 1400.0f
#define WINDOW_HEIGT 800.0f
#define SCALED_WIDTH (WINDOW_WIDTH/DEFAULT_WIDTH)
#define SCALED_HEIGHT (WINDOW_HEIGT/DEFAULT_HEIGHT)
//
/*
* @brief: This function will create a model matrix
*