omar
85f9694bd4
Big example binding refactor (manually imported from Viewport branch, stripped out of Viewport code). ( #1870 )
...
Read examples/README.txt for some details.
ImDrawData: Added DisplayPos, DisplaySize fields honored by all backends (not strictly necessary to honor just now, but doing it to be ahead)
ago%!(EXTRA string=7 years)
omar
8c374512fd
Examples, Platform: Removed the call to ImGui::NewFrame() from the platform _NewFrame() function e.g. ImGui_ImplWin32_NewFrame(), ImGui_ImplSDL2_NewFrame(), ImGui_ImplGlfw_NewFrame(), etc. Moved to main.cpp for consistency. ( #1542 )
ago%!(EXTRA string=7 years)
omar
77d51ebf24
Examples: Added .. folder in include path to remove the awkward #include "../imgui_impl_xxx.h" statements.
ago%!(EXTRA string=7 years)
omar
eb1c36fdfb
Added IMGUI_CHECKVERSION() macro to compare version string and data structure sizes in order to catch issues with mismatching compilation unit settings. ( #1695 , #1769 )
ago%!(EXTRA string=7 years)
omar
bcac02809f
Examples: Allegro 5: Renamed bindings from imgui_impl_a5.cpp to imgui_impl_allegro5.cpp.
ago%!(EXTRA string=7 years)
omar
3913297384
Examples: Allegro 5: Added support for 32-bit indices setup via defining ImDrawIdx, to avoid an unecessary conversion (Allegro 5 doesn't support 16-bit indices).
ago%!(EXTRA string=7 years)
omar
d98a5d54aa
Renamed ImGuiNavFlags io.NavFlags to ImGuiConfigFlags io.ConfigFlags. ( #787 )
ago%!(EXTRA string=8 years)
omar
8074d56bdd
Renamed ImGuiNavFlags io.NavFlags to ImGuiConfigFlags io.ConfigFlags. ( #787 )
ago%!(EXTRA string=8 years)
omar
2c9f45bbe7
Renamed ImGuiNavFlags io.NavFlags to ImGuiConfigFlags io.ConfigFlags. ( #787 )
ago%!(EXTRA string=8 years)
omar
6d0f9244b8
Examples: Allegro5, Marmalade: Moved bindings to parent folder. Renamed Allegro stuff from *A5_ to *Allegro5_
ago%!(EXTRA string=8 years)
omar
7c75835200
Renamed misleading ImGuiMouseCursor_Move to ImGuiMouseCursor_ResizeAll. SDL: Fixed cursor. ( #1626 )
ago%!(EXTRA string=8 years)
omar
63332d152a
Obsoleted the io.RenderDrawListsFn callback, you can call your graphics engine render function after ImGui::Render(). Use ImGui::GetDrawData() to retrieve the ImDrawData* to display..( #1599 )
...
Examples: Updated examples.
ago%!(EXTRA string=8 years)
omar
ae30efc0fd
Nav: Examples: Added commented out io.NavFlags |= ImGuiNavFlags_EnableKeyboard to all examples. ( #787 )
ago%!(EXTRA string=8 years)
omar
057807f4a7
Added ImGuiKey_Space, mapped in every examples. Will be required for navigation. ( #787 )
ago%!(EXTRA string=8 years)
omar
73d493c780
Examples: Organized header files to make available features more visible.
ago%!(EXTRA string=8 years)
omar
cd3dd886de
Moved extra_fonts/ to misc/fonts/. Moved .natvis file to misc/natvis/ ( #1569 )
ago%!(EXTRA string=8 years)
omar
cca9c3e3da
Examples: Using Dark theme by default. ( #707 ). Tweaked demo code.
ago%!(EXTRA string=8 years)
omar
6a25a8720a
Examples: Using #include "imgui.h" instead of <imgui.h> appear correct-er as per standard? xcode+clang are very nitpicky there.
ago%!(EXTRA string=8 years)
Jérôme Pasquier
94ed44b5cb
Fix allegro5_example build instructions
ago%!(EXTRA string=8 years)
omar
d3e826c247
Examples: Updated for reorganized context functions. Calling CreateContext(), DestroyContext() in example code. Removed Shutdown() from binding code. ( #1565 , #586 , #992 , #1007 , #1558 )
ago%!(EXTRA string=8 years)
omar
7dea158175
Examples: Allegro, Apple, DirectX9/10/11, Glfw+Vulkan :Added support for horizontal mouse wheel. ( #1463 )
ago%!(EXTRA string=8 years)
omar
ce95b84825
Added ImGuiKey_Insert for future use. Setup in all example bindings. ( #1541 )
ago%!(EXTRA string=8 years)
omar
407955d9fb
Examples: Using IM_OFFSETOF macro. + Comments
ago%!(EXTRA string=8 years)
omar
ce13426a1a
Examples: Comments, synched some minor drift between examples + stronger suggestion to use StyleColorsDark().
ago%!(EXTRA string=8 years)
omar
1b86e7343f
Renamed the emblematic ShowTestWindow() function to ShowDemoWindow(). Kept redirection function (will obsolete).
ago%!(EXTRA string=8 years)
omar
fba704bf5d
Examples: Added a bunch of comments/referencs related to io.WantCaptureMouse, io.WantCaptureKeyboard ( #1262 , #1237 , #1219 , #635 , #1058 , #1051 , #912 , #533 , #703 , #446 , #459 , #364 , #213 , #52 , and more)
ago%!(EXTRA string=8 years)
omar
cb38caeda4
Examples: Added more comments near the fonts loading section, to catch common questions and errors (e.g. #1397 , #1366 , #1341 , #1222 , #1193 , #1115 , #951 , etc.)
ago%!(EXTRA string=8 years)
omar
b3099d650c
Examples: Adding Roboto to the commented-out font list, and removing the unnecessary ProggyClean from there.
ago%!(EXTRA string=8 years)
omar
842e88a8e3
Examples: Avoid using ImColor() to not tempt newcomers into looking at it
ago%!(EXTRA string=8 years)
omar
b8ade0b94f
Examples: Main: Removed call to SetNextWindowSize()
ago%!(EXTRA string=8 years)
omar
92a6faca6f
IO: io.MousePos needs to be set to ImVec2(-FLT_MAX,-FLT_MAX) when mouse is unavailable/missing. Previously ImVec2(-1,-1) was enough but we'll now accept negative mouse coordinates.
ago%!(EXTRA string=8 years)
omar
7e452ec737
Renamed ImGuiSetCond_XXX type and enums to ImGuiCond_XXX, kept old enums under #ifdef IMGUI_DISABLE_OBSOLETE_FUNCTIONS
ago%!(EXTRA string=8 years)
ocornut
0d3f8807c7
Added a void* user_data parameter to Clipboard function handlers. ( #875 )
ago%!(EXTRA string=9 years)
ocornut
2825eaa0be
Examples: Accessing ImVector fields directly, feel less stl-ey and fix renderer side assert when render list only contains a callback ( #810 )
ago%!(EXTRA string=9 years)
ocornut
a6399f120f
IO: Added "Super" keyboard modifiers (corresponding to Cmd on Mac and Windows key in theory although the later is hard to read) ( #473 )
...
NB: Value not used.
ago%!(EXTRA string=9 years)
ocornut
7661b1e778
Trim trailing spaces
ago%!(EXTRA string=9 years)
ocornut
04396ed7a9
FAQ and comments about the use of ImTextureID ( #562 , #561 , #521 , #510 , #497 , #475 ...)
ago%!(EXTRA string=9 years)
ocornut
6cee2fca94
Examples: Not clearing input data/tex data in atlas (will be required for dynamic atlas anyway). Effectively fix resizing in DX examples.
...
+ Standardized comments.
ago%!(EXTRA string=10 years)
ocornut
94ec3d534e
Examples: Header comments.
ago%!(EXTRA string=10 years)
ocornut
6800939e73
Examples: Header comments.
ago%!(EXTRA string=10 years)
ocornut
5c52e9ec0d
Examples: Clarified comments. Removed font merging example from comments.
ago%!(EXTRA string=10 years)
ocornut
624adb1b23
Tweak build batch files and readmes
ago%!(EXTRA string=10 years)
ocornut
e46c7b70eb
Examples: Most examples apps detect if ImDrawIdx was changed to 32-bits instead of 16
ago%!(EXTRA string=10 years)
ocornut
e858d229a0
Examples: update all examples with same comment ( #389 )
ago%!(EXTRA string=10 years)
ocornut
5d53f37a5d
Examples: Possibly clarified the intent of imgui_impl_* files.
ago%!(EXTRA string=10 years)
ocornut
7d6ddbe5c8
Examples: comment on setting the RenderDrawListsFn function.
ago%!(EXTRA string=10 years)
ocornut
9a0650dbd0
Examples: imgui_impl* functions declared with IMGUI_API to ease copy & pasting into projects using DLL
ago%!(EXTRA string=10 years)
ocornut
85dab1a680
Fixed documentation
ago%!(EXTRA string=10 years)
ocornut
4842ac3bc6
Fonts: added Cousine-Regular.ttf
ago%!(EXTRA string=10 years)
ocornut
0224d29a35
Examples: comments.
ago%!(EXTRA string=10 years)