update raygui

This commit is contained in:
Roy Qu 2022-07-03 09:19:25 +08:00
parent dc21a7a7fb
commit ee13140316
9 changed files with 15 additions and 15 deletions

View File

@ -16,5 +16,5 @@ C=epitrochoid_c.txt
UnitCount=1 UnitCount=1
Type=1 Type=1
IsCpp=0 IsCpp=0
linker=-lrdrawing -lraylib -lopengl32 -lgdi32 -lwinmm linker=-lrdrawing -lraylib -lGL -lm -lpthread -ldl -lrt -lX11
ExecEncoding=UTF-8 ExecEncoding=UTF-8

View File

@ -3,7 +3,7 @@
#include <math.h> #include <math.h>
#define RAYGUI_IMPLEMENTATION #define RAYGUI_IMPLEMENTATION
#include <raygui/raygui.h> #include <raygui.h>
void updateRadius(int baseL, int outerL, int pointL, int *pBaseR, int *pOuterR, int *pPointR) { void updateRadius(int baseL, int outerL, int pointL, int *pBaseR, int *pOuterR, int *pPointR) {
int totalL=baseL+outerL; int totalL=baseL+outerL;
@ -122,4 +122,4 @@ int main() {
UnloadImage(circlesImage); UnloadImage(circlesImage);
UnloadImage(trackImage); UnloadImage(trackImage);
CloseWindow(); CloseWindow();
} }

View File

@ -16,5 +16,5 @@ C=hypotrochoid_c.txt
UnitCount=1 UnitCount=1
Type=1 Type=1
IsCpp=0 IsCpp=0
linker=-lrdrawing -lraylib -lopengl32 -lgdi32 -lwinmm linker=-lrdrawing -lraylib -lGL -lm -lpthread -ldl -lrt -lX11
ExecEncoding=UTF-8 ExecEncoding=UTF-8

View File

@ -3,7 +3,7 @@
#include <math.h> #include <math.h>
#define RAYGUI_IMPLEMENTATION #define RAYGUI_IMPLEMENTATION
#include <raygui/raygui.h> #include <raygui.h>
void updateRadius(int baseL, int innerL,int pointL, int *pBaseR, int *pInnerR, int *pPointR) { void updateRadius(int baseL, int innerL,int pointL, int *pBaseR, int *pInnerR, int *pPointR) {
int totalL=baseL; int totalL=baseL;
@ -137,4 +137,4 @@ int main() {
UnloadImage(circlesImage); UnloadImage(circlesImage);
UnloadImage(trackImage); UnloadImage(trackImage);
CloseWindow(); CloseWindow();
} }

View File

@ -16,6 +16,6 @@ C=raygui_c.txt
UnitCount=1 UnitCount=1
Type=1 Type=1
IsCpp=0 IsCpp=0
linker=-lraylib -lopengl32 -lgdi32 -lwinmm linker=-lraylib -lGL -lm -lpthread -ldl -lrt -lX11
ExecEncoding=UTF-8 ExecEncoding=UTF-8

View File

@ -34,12 +34,12 @@
* *
**********************************************************************************************/ **********************************************************************************************/
#include "raylib.h" #include <raylib.h>
#define RAYGUI_IMPLEMENTATION #define RAYGUI_IMPLEMENTATION
//#define RAYGUI_CUSTOM_ICONS // It requires providing gui_icons.h in the same directory //#define RAYGUI_CUSTOM_ICONS // It requires providing gui_icons.h in the same directory
//#include "gui_icons.h" // External icons data provided, it can be generated with rGuiIcons tool //#include "gui_icons.h" // External icons data provided, it can be generated with rGuiIcons tool
#include "raygui/raygui.h" #include <raygui/raygui.h>
#include <string.h> // Required for: strcpy() #include <string.h> // Required for: strcpy()

View File

@ -3,7 +3,7 @@
#include <math.h> #include <math.h>
#define RAYGUI_IMPLEMENTATION #define RAYGUI_IMPLEMENTATION
#include <raygui/raygui.h> #include <raygui.h>
void updateRadius(int baseL, int outerL, int pointL, int *pBaseR, int *pOuterR, int *pPointR) { void updateRadius(int baseL, int outerL, int pointL, int *pBaseR, int *pOuterR, int *pPointR) {
int totalL=baseL+outerL; int totalL=baseL+outerL;
@ -122,4 +122,4 @@ int main() {
UnloadImage(circlesImage); UnloadImage(circlesImage);
UnloadImage(trackImage); UnloadImage(trackImage);
CloseWindow(); CloseWindow();
} }

View File

@ -3,7 +3,7 @@
#include <math.h> #include <math.h>
#define RAYGUI_IMPLEMENTATION #define RAYGUI_IMPLEMENTATION
#include <raygui/raygui.h> #include <raygui.h>
void updateRadius(int baseL, int innerL,int pointL, int *pBaseR, int *pInnerR, int *pPointR) { void updateRadius(int baseL, int innerL,int pointL, int *pBaseR, int *pInnerR, int *pPointR) {
int totalL=baseL; int totalL=baseL;
@ -137,4 +137,4 @@ int main() {
UnloadImage(circlesImage); UnloadImage(circlesImage);
UnloadImage(trackImage); UnloadImage(trackImage);
CloseWindow(); CloseWindow();
} }

View File

@ -34,12 +34,12 @@
* *
**********************************************************************************************/ **********************************************************************************************/
#include "raylib.h" #include <raylib.h>
#define RAYGUI_IMPLEMENTATION #define RAYGUI_IMPLEMENTATION
//#define RAYGUI_CUSTOM_ICONS // It requires providing gui_icons.h in the same directory //#define RAYGUI_CUSTOM_ICONS // It requires providing gui_icons.h in the same directory
//#include "gui_icons.h" // External icons data provided, it can be generated with rGuiIcons tool //#include "gui_icons.h" // External icons data provided, it can be generated with rGuiIcons tool
#include "raygui/raygui.h" #include <raygui.h>
#include <string.h> // Required for: strcpy() #include <string.h> // Required for: strcpy()