mirror of
https://github.com/cimgui/cimgui.git
synced 2025-08-09 19:38:30 +01:00
test and backend_test/main.c changes for compiling with ImStrv
This commit is contained in:
@@ -12,11 +12,11 @@
|
||||
#include <GL/glu.h>
|
||||
|
||||
#ifdef IMGUI_HAS_IMSTR
|
||||
#define igBegin SigBegin
|
||||
#define igSliderFloat SigSliderFloat
|
||||
#define igCheckbox SigCheckbox
|
||||
#define igColorEdit3 SigColorEdit3
|
||||
#define igButton SigButton
|
||||
#define igBegin igBegin_Strv
|
||||
#define igSliderFloat igSliderFloat_Strv
|
||||
#define igCheckbox igCheckbox_Strv
|
||||
#define igColorEdit3 igColorEdit3_Strv
|
||||
#define igButton igButton_Strv
|
||||
#endif
|
||||
|
||||
SDL_Window *window = NULL;
|
||||
|
10
test/main.c
10
test/main.c
@@ -3,11 +3,11 @@
|
||||
#include "../cimgui.h"
|
||||
|
||||
#ifdef IMGUI_HAS_IMSTR
|
||||
#define igBegin SigBegin
|
||||
#define igSliderFloat SigSliderFloat
|
||||
#define igCheckbox SigCheckbox
|
||||
#define igColorEdit3 SigColorEdit3
|
||||
#define igButton SigButton
|
||||
#define igBegin igBegin_Strv
|
||||
#define igSliderFloat igSliderFloat_Strv
|
||||
#define igCheckbox igCheckbox_Strv
|
||||
#define igColorEdit3 igColorEdit3_Strv
|
||||
#define igButton igButton_Strv
|
||||
#endif
|
||||
|
||||
int main(void)
|
||||
|
Reference in New Issue
Block a user