Reviewed examples for latest raygui/raylib

This commit is contained in:
raysan5
2021-10-05 14:10:35 +02:00
parent 0ed765cd8b
commit 7c63e389b8
11 changed files with 73 additions and 52 deletions

View File

@ -37,11 +37,8 @@
#include "raylib.h"
#define RAYGUI_IMPLEMENTATION
#define RAYGUI_SUPPORT_RICONS
#include "../../src/raygui.h"
#undef RAYGUI_IMPLEMENTATION // Avoid including raygui implementation again
//------------------------------------------------------------------------------------
// Program main entry point
//------------------------------------------------------------------------------------
@ -49,8 +46,8 @@ int main()
{
// Initialization
//---------------------------------------------------------------------------------------
int screenWidth = 690;
int screenHeight = 560;
const int screenWidth = 690;
const int screenHeight = 560;
InitWindow(screenWidth, screenHeight, "raygui - controls test suite");
SetExitKey(0);