mirror of
https://github.com/Drezil/imgui.git
synced 2024-11-15 01:17:00 +00:00
imconfig.h tweak, not advertising IMGUI_INCLUDE_IMGUI_USER_INL anymore.
This commit is contained in:
parent
e34b4b46da
commit
25c9448dda
11
imconfig.h
11
imconfig.h
@ -13,9 +13,6 @@
|
|||||||
//#define IMGUI_API __declspec( dllexport )
|
//#define IMGUI_API __declspec( dllexport )
|
||||||
//#define IMGUI_API __declspec( dllimport )
|
//#define IMGUI_API __declspec( dllimport )
|
||||||
|
|
||||||
//---- Include imgui_user.inl at the end of imgui.cpp so you can include code that extends ImGui using its private data/functions.
|
|
||||||
//#define IMGUI_INCLUDE_IMGUI_USER_INL
|
|
||||||
|
|
||||||
//---- Include imgui_user.h at the end of imgui.h
|
//---- Include imgui_user.h at the end of imgui.h
|
||||||
//#define IMGUI_INCLUDE_IMGUI_USER_H
|
//#define IMGUI_INCLUDE_IMGUI_USER_H
|
||||||
|
|
||||||
@ -43,14 +40,12 @@
|
|||||||
operator MyVec4() const { return MyVec4(x,y,z,w); }
|
operator MyVec4() const { return MyVec4(x,y,z,w); }
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//---- Freely implement extra functions within the ImGui:: namespace.
|
//---- Tip: You can add extra functions within the ImGui:: namespace, here or in your own headers files.
|
||||||
//---- Declare helpers or widgets implemented in imgui_user.inl or elsewhere, so end-user doesn't need to include multiple files.
|
//---- e.g. create variants of the ImGui::Value() helper for your low-level math types, or your own widgets/helpers.
|
||||||
//---- e.g. you can create variants of the ImGui::Value() helper for your low-level math types, or your own widgets/helpers.
|
|
||||||
/*
|
/*
|
||||||
namespace ImGui
|
namespace ImGui
|
||||||
{
|
{
|
||||||
void Value(const char* prefix, const MyVec2& v, const char* float_format = NULL);
|
void Value(const char* prefix, const MyMatrix44& v, const char* float_format = NULL);
|
||||||
void Value(const char* prefix, const MyVec4& v, const char* float_format = NULL);
|
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -9310,8 +9310,8 @@ void ImGui::ShowMetricsWindow(bool* opened)
|
|||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
//---- Include imgui_user.inl at the end of imgui.cpp
|
// Include imgui_user.inl at the end of imgui.cpp to access private data/functions that aren't exposed.
|
||||||
//---- So you can include code that extends ImGui using its private data/functions.
|
// Prefer just including imgui_internal.h from your code rather than using this define. If a declaration is missing from imgui_internal.h add it or request it on the github.
|
||||||
#ifdef IMGUI_INCLUDE_IMGUI_USER_INL
|
#ifdef IMGUI_INCLUDE_IMGUI_USER_INL
|
||||||
#include "imgui_user.inl"
|
#include "imgui_user.inl"
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user