mirror of
https://github.com/cimgui/cimgui.git
synced 2025-08-13 05:08:31 +01:00
tests: changes for overloads underscore postfix
This commit is contained in:
@@ -12,11 +12,11 @@
|
|||||||
#include <GL/glu.h>
|
#include <GL/glu.h>
|
||||||
|
|
||||||
#ifdef IMGUI_HAS_IMSTR
|
#ifdef IMGUI_HAS_IMSTR
|
||||||
#define igBegin igBeginStr
|
#define igBegin igBegin_Str
|
||||||
#define igSliderFloat igSliderFloatStr
|
#define igSliderFloat igSliderFloat_Str
|
||||||
#define igCheckbox igCheckboxStr
|
#define igCheckbox igCheckbox_Str
|
||||||
#define igColorEdit3 igColorEdit3Str
|
#define igColorEdit3 igColorEdit3_Str
|
||||||
#define igButton igButtonStr
|
#define igButton igButton_Str
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
SDL_Window *window = NULL;
|
SDL_Window *window = NULL;
|
||||||
|
10
test/main.c
10
test/main.c
@@ -3,11 +3,11 @@
|
|||||||
#include "../cimgui.h"
|
#include "../cimgui.h"
|
||||||
|
|
||||||
#ifdef IMGUI_HAS_IMSTR
|
#ifdef IMGUI_HAS_IMSTR
|
||||||
#define igBegin igBeginStr
|
#define igBegin igBegin_Str
|
||||||
#define igSliderFloat igSliderFloatStr
|
#define igSliderFloat igSliderFloat_Str
|
||||||
#define igCheckbox igCheckbox_Strv
|
#define igCheckbox igCheckbox_Str
|
||||||
#define igColorEdit3 igColorEdit3_Strv
|
#define igColorEdit3 igColorEdit3_Str
|
||||||
#define igButton igButton_Strv
|
#define igButton igButton_Str
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int main(void)
|
int main(void)
|
||||||
|
Reference in New Issue
Block a user