omar
4597632662
Readme, comments, dear imgui prefixes
5 years ago
omar
fea5f70611
ImDrawCallback: Allow to override the signature of ImDrawCallback by #define-ing it. This is meant to facilitate custom rendering back-ends passing local render-specific data to the draw callback.
6 years ago
omar
480d57e6a2
Revert "Changed syntax for (very rarely used) IMGUI_OVERRIDE_DRAWVERT_STRUCT_LAYOUT mechanism, instead you only need to '#define ImDrawVert MyDrawVert' to use this feature, avoiding the need to declare the entire structure within an awkward macro. Using the old macro will now error with a message pointing you to the new method. ( #38 , #103 , #1172 , #1231 , #2489 )"
This reverts commit 597c024904
.
6 years ago
omar
597c024904
Changed syntax for (very rarely used) IMGUI_OVERRIDE_DRAWVERT_STRUCT_LAYOUT mechanism, instead you only need to '#define ImDrawVert MyDrawVert' to use this feature, avoiding the need to declare the entire structure within an awkward macro. Using the old macro will now error with a message pointing you to the new method. ( #38 , #103 , #1172 , #1231 , #2489 )
6 years ago
omar
7755cbbef2
Renamed ImGuiBackendFlags_HasVtxOffset to ImGuiBackendFlags_RendererHasVtxOffset to match naming convention already used in viewport/docking branch. ( #2591 ) + Fix OpenGL3 code missing flag.
6 years ago
omar
d1e8b698d0
ImDrawList: Added ImDrawCmd::VtxOffset value to support large meshes (64k+ vertices) using 16-bits indices. To enable the feature, the renderer back-end needs to set 'io.BackendFlags |= ImGuiBackendFlags_HasVtxOffset' and honor the ImDrawCmd::VtxOffset field. Otherwise the value will always be zero. This has the advantage of preserving smaller index buffers and allowing to execute on hardware that do not support 32-bits indices.
ImDrawList: Added ImDrawCmd::IdxOffset value, equivalent to summing element count for each draw command. This is provided for convenience and consistency with VtxOffset. (#2591 )
6 years ago
omar
31e3e861ef
Update changelog, comments, made empty/no-text clipboard return NULL as with other implementation. Minor style tweaks. ( #2546 )
Fixed IMGUI_DISABLE_WIN32_FUNCTIONS not disabling IME code.
6 years ago
omar
c808eb92c6
Config: Added IMGUI_DISABLE_WIN32_FUNCTIONS to disable linking with _any_ Win32 function, as a general forward compatible measure.
6 years ago
omar
7adac4ab3e
FAQ update
6 years ago
omar
5e73e969fb
Comments, exposed a few things in imgui_internal.h for consistency, added ImQsort wrapper.
6 years ago
omar
d5c8f404b2
Remove trailing white spaces.
7 years ago
omar
2a2bb8970d
Added ImAtof, ImCeil, ImFloorStd to IMGUI_DISABLE_MATH_FUNCTIONS for consistency. Configuration comments.
7 years ago
omar
ff033f431b
Added IMGUI_DISABLE_MATH_FUNCTIONS in imconfig.h to make it slightly easier to redefine wrappers to std maths functions such as fabsf(), fmodf(), etc. Comments.
7 years ago
omar
27ac9f4761
Comments ( #1695 )
7 years ago
omar
e2f831c80e
InputText: tweaks, minor refactoring, renaming + comments ( #1695 )
7 years ago
omar
cc96477b1c
Comments ( #1695 )
7 years ago
omar
fe5347ef94
imconfig: Added IMGUI_STB_TRUETYPE_FILENAME, IMGUI_STB_RECT_PACK_FILENAME + documenting IMGUI_DISABLE_STB_XXX flags and hiding IMGUI_STB_NAMESPACE which is misleading.
Fixed typos in todo list.
7 years ago
omar
d8d93f6360
imgui.h: Various comments and tweaks.
7 years ago
omar
94090eb08f
Added IMGUI_USER_CONFIG to define a custom configuration filename. ( #255 , #1573 , #1144 , #41 )
7 years ago
omar
3571ab8b88
imconfig.h comments
7 years ago
omar
1b86e7343f
Renamed the emblematic ShowTestWindow() function to ShowDemoWindow(). Kept redirection function (will obsolete).
7 years ago
omar
8fd5620277
Renamed IMGUI_DISABLE_WIN32_DEFAULT_CLIPBOARD_FUNCS/IMGUI_DISABLE_WIN32_DEFAULT_IME_FUNCS to IMGUI_DISABLE_WIN32_DEFAULT_CLIPBOARD_FUNCTIONS/IMGUI_DISABLE_WIN32_DEFAULT_IME_FUNCTIONS for consistency. (ref #238 , #520 , #738 )
7 years ago
omar
7d2cd0e6ff
Added IMGUI_DISABLE_FORMAT_STRING_FUNCTIONS support in imconfig.h ( #1038 )
7 years ago
omar
eb2bbf6f29
Renamed IsItemHoveredRect() to IsItemRectHovered(). Renamed IsMouseHoveringWindow() to IsWindowRectHovered() - follow up to previous commit 6be7d4904e
merged from Nav.
7 years ago
omar
100d30a0a1
Comments about IMGUI_DISABLE_TEST_WINDOWS ( #1240 , #169 )
7 years ago
omar
104936ab1a
imconfig: Added comment about redefining ImDrawIdx
8 years ago
Michał Cichoń
d75d2b1871
Introduce IMGUI_USE_BGRA_PACKED_COLOR in imconfig.h.
When IMGUI_USE_BGRA_PACKED_COLOR is defined packed color hold in ImU32 use BGRA format instead RGBA.
8 years ago
ocornut
25c9448dda
imconfig.h tweak, not advertising IMGUI_INCLUDE_IMGUI_USER_INL anymore.
9 years ago
ocornut
62c888177a
Tweaks
9 years ago
ocornut
02dbcf5405
ImVector<> cannot be re-defined ( #262 )
9 years ago
ocornut
0539be7067
Added IMGUI_DISABLE_OBSOLETE_FUNCTIONS
10 years ago
ocornut
04a4433706
Update imconfig.h documentation
10 years ago
ocornut
f5310a2f2d
Comments
10 years ago
ocornut
6699ccfd1f
Tweaked IMGUI_DISABLE_TEST_WINDOWS so it doesn't show in ImGui.h
10 years ago
unknown
2142181c51
Allow to disable help and test window functionality
10 years ago
ocornut
e269125c3a
Windows: setup a default handler for ImeSetInputScreenPosFn so IME (Japanese/Chinese) inputs are positioned correctly.
User need to set io.ImeWindowHandle
10 years ago
ocornut
fe48562171
Comments for IMGUI_API
10 years ago
ocornut
e43cd6e97f
Added IMGUI_INCLUDE_IMGUI_USER_H
10 years ago
ocornut
e6eafd6fa8
Fixed warnings for GCC -Wpedantic
10 years ago
ocornut
530e746daa
Renamed IMGUI_INCLUDE_IMGUI_USER_CPP to IMGUI_INCLUDE_IMGUI_USER_INL (more IDE friendly)
10 years ago
ocornut
fec4232c79
Moved IM_MALLOC/IM_FREE/etc. to IO structure members one can set at runtime.
10 years ago
ocornut
2e85dce1ee
Added #define IMGUI_INCLUDE_IMGUI_USER_CPP to optionally include imgui_user.cpp
10 years ago
ocornut
c07ab1b56a
Minor tweaks to "Memory override" pull request
10 years ago
ocornut
cd3d027df0
Delete obsolete comments in imconfig.h
10 years ago
ocornut
42d4b4be6a
Converted all Tabs to Spaces (git diff -w shows an empty diff)
10 years ago
ocornut
a830037eab
Default "local only" clipboard handler on non-Windows platforms
10 years ago
ocornut
f30d23a502
Tweaks, more consistent #define names
10 years ago
ocornut
7a3e6aa38d
Default Clipboard functions on Windows+ renamed ARRAYSIZE to IM_ARRAYSIZE
10 years ago
ocornut
2573ffb6fc
Fixed warnings for more stringent compilation settings. Added various small helpers.
10 years ago
ocornut
dbd777232a
Initial release
10 years ago