update raygui
This commit is contained in:
parent
dc21a7a7fb
commit
ee13140316
|
@ -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
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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()
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue