1380 Commits (cdb109f617bd44df718f2c7c367ece02e2468da9)

Author SHA1 Message Date
omar 6e41745f31 Added a bunch of diagnostic ignore to cope with Clang -Weverything being absurd. Also fixed two legit warnings. (#2277) ago%!(EXTRA string=6 years)
omar 49994ceb6e FAQ entry, moved ImTextureId, Gallery links. ago%!(EXTRA string=6 years)
omar 9a9712807e ImFontAtlas: Rewrote stb_truetype based builder. ago%!(EXTRA string=6 years)
omar 7ed8e55fc7 ImVector: Added size_in_bytes() helper. ago%!(EXTRA string=6 years)
omar e4c19f5af1 ImFontGlyphRangesBuilder: Using 32-bits fields for storage instead of 8-bit ones, comments, todo. ago%!(EXTRA string=6 years)
omar 7ffbcfe467 ImVector: Made reserve() another silly one-liner. It's not longer than other functions and our weird obsessions deserve to be carried with stringent consistence. + Comments ago%!(EXTRA string=6 years)
omar 1f6e0b2f98 ImVector: Made a struct. Using T/T* in the code instead of value_type/iterator. Renamed index_from_pointer() to index_from_ptr() (was not documented, added in 1.63, users not supposed to use ImVector, hopefully not a big deal). ago%!(EXTRA string=6 years)
omar 9ad341902d ImDrawList: Optimized some of the functions for performance of debug builds where non-inline function call cost are non-negligible. ago%!(EXTRA string=6 years)
omar 1ae7f88495 Tabs: Added ImGuiTabBarFlags_NoTooltip flag. (#261, #351) + added helpful assert ago%!(EXTRA string=6 years)
omar 5cb7ce2085 Renamed ImFont::GlyphRangesBuilder to ImFontGlyphRangesBuilder. Keep redirection typedef (will obsolete). ago%!(EXTRA string=6 years)
omar 1353c74dcf Comments/formatting on obsolete stuff ago%!(EXTRA string=6 years)
omar c3af134cc8 IO: Renamed InputCharacters[], marked internal as was always intended. AddInputCharacter() goes into a queue which can receive as many characters as needed during the frame. This is useful for automation to not have an upper limit on typing speed. Will later transition key/mouse to use the event queue later. ago%!(EXTRA string=6 years)
omar 1705a81efb Moved ImVector higher up in imgui :( because we will need it in ImGuiIO. ago%!(EXTRA string=6 years)
omar 9ba202821f Nav: Fixed an keyboard issue where holding Activate/Space for longer than two frames on a button would unnecessary keep the focus on the parent window, which could steal it from newly appearing windows. (#787) ago%!(EXTRA string=6 years)
omar d223d1e951 Added bindings in Readme. Added internal IMGUI_DEBUG_LOG() helper. Comments, missing breaking changes note relative to imgui_impl_xxxx changes, not really part of core but worth adding in the imgui.cpp breaking change section. ago%!(EXTRA string=6 years)
omar acacd93836 Renamed extra_flags to flags in InputXXX parameters. ago%!(EXTRA string=6 years)
omar 6b97ded438 Happy new year! & comments ago%!(EXTRA string=6 years)
omar 39dde66b21 IO: Realigned all fields, very minor comments change. This is nearly a no-op if you don't ignore Spaces. ago%!(EXTRA string=6 years)
omar 5691385a33 IO: Added BackendPlatformUserData, BackendRendererUserData, BackendLanguageUserData void* for storage use by back-ends. (#2004 + for cimgui) ago%!(EXTRA string=6 years)
omar 89ac0ea7c1 Various user-facing comments ago%!(EXTRA string=6 years)
omar f1c7596409 Internals: Popup related comments. Renamed the misleading internal ClosePopup() function. Added bool* test to BeginPopupModal in demo. ago%!(EXTRA string=6 years)
omar 8497948ba0 Comments, minor tweaks. ago%!(EXTRA string=6 years)
omar ccce47c6a2 Demo: Using Tabs in Style Editor and Simple Layout example. + Adding missing early out in About and Documents examples. ago%!(EXTRA string=6 years)
omar 54a60aaa40 Added BETA api for Tab Bar/Tabs widgets. (#261, #351) (merged this feature from the from Docking branch so it can be used earlier as as standalone feature) ago%!(EXTRA string=6 years)
omar cc1283fb78 Added ImGuiWindowFlags_UnsavedDocument window flag to append '*' to title without altering the ID, as a convenience to avoid using the ### operator. (merged from Docking branch) ago%!(EXTRA string=6 years)
omar 15447f5b7b Using named flags instead of 0 + shallow formatting tweaks from other branches. ago%!(EXTRA string=6 years)
omar 9476e07d5a Added io.ConfigWindowsMoveFromTitleBarOnly option. Still is ignored by window with no title bars (often popups). This affects clamping window within the visible area: with this option enabled title bars need to be visible. (#899) ago%!(EXTRA string=6 years)
omar 59f3c4fc20 Renamed io.ConfigResizeWindowsFromEdges to io.ConfigWindowsResizeFromEdges and removed its [Beta] mark. Resizing windows from edge is now enabled by default (io.ConfigWindowsResizeFromEdges=true). Note that it only works _if_ the back-end sets ImGuiBackendFlags_HasMouseCursors, which the standard back-end do. ago%!(EXTRA string=6 years)
omar b58bd5b311 Version 1.67 WIP + todo notes ago%!(EXTRA string=6 years)
omar eb311abc92 Fixed IMGUI_API tag on ImFontAtlas::IsBuilt() preventing to build as DLL on some setups. (#2226) ago%!(EXTRA string=7 years)
omar 10e13dd6bb Version 1.67 WIP (again, this time IMGUI_VERSION_NUM has leeway for another hot-fix). ago%!(EXTRA string=7 years)
omar 801645d350 Version 1.66b (will revisit how to change IMGUI_VERSION_NUM across versions, this commit reduces the numerical IMGUI_VERSION_NUM compared to the commit on Nov 22). ago%!(EXTRA string=7 years)
omar 7658035e5a About, IO: Added io.BackendPlatformName, io.BackendRendererName for informational/QA purpose. ago%!(EXTRA string=7 years)
omar 3849def253 Added ShowAboutWindow(), About Window now showing various config/build information. ago%!(EXTRA string=7 years)
omar 4a94b251fd Comments ago%!(EXTRA string=7 years)
omar 4105cc7e97 Added ImGuiConfigFlags_None, ImGuiBackendFlags_None for good measure. ago%!(EXTRA string=7 years)
omar 1fa2cb8748 imgui.h: Comments ago%!(EXTRA string=7 years)
omar ce07d55d1b imgui.h: Moved ImGuiListClipper ago%!(EXTRA string=7 years)
omar 8495c931c0 mgui.h: Moved ImGuiInputTextCallbackData,, ImGuiSizeCallbackData, ImGuiPayload structures so they are not in the "Helpers" section. ago%!(EXTRA string=7 years)
omar d27ffefbd4 Version 1.67 WIP ago%!(EXTRA string=7 years)
omar da3c4330c1 Version 1.66 ago%!(EXTRA string=7 years)
omar 19b4fcdacb Made IsWindowFocused() work outside of NewFrame()-EndFrame() and added comments about how ImGuiFocusedFlags_AnyWindow should NOT be used in place of io.WantCaptureMouse. (#2185) ago%!(EXTRA string=7 years)
Konstantin Podsvirov faecf90383 SliderAngle: Added optional `format` argument to allow users customize precision and make localization. (#2150) ago%!(EXTRA string=7 years)
omar a72d5ada61 Misc comments improvements ago%!(EXTRA string=7 years)
omar 000c1fc221 Demo: Added comments / tweaks related to the popups. ago%!(EXTRA string=7 years)
omar 5be915d6ab Added ImGuiWindowFlags_NoMouseInputs which is basically the old ImGuiWindowFlags_NoInputs (essentially we have renamed ImGuiWindowFlags_NoInputs to ImGuiWindowFlags_NoMouseInputs). Made the new ImGuiWindowFlags_NoInputs encompass both NoMouseInputs+NoNav, which is consistent with its description. (#1660, #787) ago%!(EXTRA string=7 years)
omar 90b50bd4c3 Window: Added ImGuiWindowFlags_NoBackground flag for consistency and to ease creating new flag combinations. Added ImGuiWindowFlags_NoDecoration helper flag which is essentially NoTitleBar+NoResize+NoScrollbar+NoCollapse. (#1660) ago%!(EXTRA string=7 years)
Elias Daler 8606d9fa11 Fix Clang/GCC's null-conversion warning: (#2081) ago%!(EXTRA string=7 years)
omar 0fe48cbb61 Renamed misc/stl/imgui_stl.h,.cpp to misc/cpp/imgui_stdlib.h in prevision for other files.(#2035, #2096) ago%!(EXTRA string=7 years)
omar 74c0309126 InputText: Clarified comments around ImGuiInputTextFlags_CallbackResize and other callbacks. (#2006, #1443, #1008) ago%!(EXTRA string=7 years)