mirror of
https://github.com/cimgui/cimgui.git
synced 2025-08-10 11:58:30 +01:00
tests: changes for overloads underscore postfix
This commit is contained in:
@@ -12,11 +12,11 @@
|
||||
#include <GL/glu.h>
|
||||
|
||||
#ifdef IMGUI_HAS_IMSTR
|
||||
#define igBegin igBeginStr
|
||||
#define igSliderFloat igSliderFloatStr
|
||||
#define igCheckbox igCheckboxStr
|
||||
#define igColorEdit3 igColorEdit3Str
|
||||
#define igButton igButtonStr
|
||||
#define igBegin igBegin_Str
|
||||
#define igSliderFloat igSliderFloat_Str
|
||||
#define igCheckbox igCheckbox_Str
|
||||
#define igColorEdit3 igColorEdit3_Str
|
||||
#define igButton igButton_Str
|
||||
#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 igBeginStr
|
||||
#define igSliderFloat igSliderFloatStr
|
||||
#define igCheckbox igCheckbox_Strv
|
||||
#define igColorEdit3 igColorEdit3_Strv
|
||||
#define igButton igButton_Strv
|
||||
#define igBegin igBegin_Str
|
||||
#define igSliderFloat igSliderFloat_Str
|
||||
#define igCheckbox igCheckbox_Str
|
||||
#define igColorEdit3 igColorEdit3_Str
|
||||
#define igButton igButton_Str
|
||||
#endif
|
||||
|
||||
int main(void)
|
||||
|
Reference in New Issue
Block a user