731 Commits (cfa8f672f6ece16e8e574a61fb406294777b720b)

Author SHA1 Message Date
omar 99c7622a1b ItemAdd(), not performing computation for IsItemRectHovered() which does them itself, allowing us in the next commit to optimize ItemAdd() and make its logic more consistent with IsHovered(). ago%!(EXTRA string=8 years)
omar 8374a454da Removed extraneous ImGui:: prefixes. Declared ColorEditOptionsPopup in imgui_internals.h. Tweaked internal signatures. ago%!(EXTRA string=8 years)
omar 072d6d8cb5 ImFontAtlas: Refactored internals API to 1) avoid building lookup table multiple times for merged fonts + 2) allow the mapping of custom icons inside fonts (wip, uncommited) ago%!(EXTRA string=8 years)
omar be03882a15 Separator(): output vertical separator when used in horizontal layout mode, so it works in menu bars. ago%!(EXTRA string=8 years)
omar 69d0d33451 Exposed PushMultiItemsWidths() to imgui_internal.h ago%!(EXTRA string=8 years)
omar 0d56140b4a BeginCombo(): rework internals a little to make it easier to provide custom combo-like elements relying in BeginCombo(). ago%!(EXTRA string=8 years)
omar 4b82759598 SetNextWindowPos: added a ImVec2 pivot parameter for positioning a given a center, bottom-right position, etc. As a generalization of SetNextWindowPosCenter() which is now obsolete. This will be useful for combo-like popups as well. ago%!(EXTRA string=8 years)
omar 0a5fb24f10 Popups: Exposing a little more of popups internals in imgui_internals.h ago%!(EXTRA string=8 years)
Bruce Mitchener 2fcdeb7f12 Remove commas after last item in enumeration. ago%!(EXTRA string=8 years)
omar cb2775ae54 Internals: ImGuiItemFlags comments ago%!(EXTRA string=8 years)
omar f63c03c464 Internals: moved ButtonRepeat and AllowKeyboardFocus bools/stacks to a generic ItemFlags stack. Merged from Navigation branch. ago%!(EXTRA string=8 years)
omar 2169bf6895 Fixed WantTextInput from being true when an activated Drag or Slider was previously turned into an InputText(). (#1317) ago%!(EXTRA string=8 years)
omar 790605e359 Minor comments + renaming internal fields ago%!(EXTRA string=8 years)
omar e8dbf1c795 Combo: Internally split into BeginCombo(), EndCombo(), toward a more flexible combo api. ago%!(EXTRA string=8 years)
omar 804ee78731 Added IsWindowAppearing(). ago%!(EXTRA string=8 years)
omar ddf41b0398 Merged from Navigation branch. TAB/Alt-TAB processing now deactivate if holding Ctrl. ago%!(EXTRA string=8 years)
omar 358e7a194e Added GetKeyPressedAmount() (from Nav branch) to be able to measure fast repeat rate accurately. Added internal CalcTypematicPressedRepeatAmount() function. ago%!(EXTRA string=8 years)
omar ee42fae468 Merge various minor things (supposedly harmless) from Navigation branch into Master to reduce differences. (#787) ago%!(EXTRA string=8 years)
omar 01d4bf299a Added overcomplicated RenderRectFilledRangeH() to fix rounded progress bar, which will also help for range widgets and perhaps sliders grabs over rounded areas. (#1296, #76) ago%!(EXTRA string=8 years)
omar 7a9ea281be ImSwap() helper. ago%!(EXTRA string=8 years)
omar 1f51e8f39d Internals: Renamed some ImGuiCorner enums. ago%!(EXTRA string=8 years)
omar 419b22a487 Internals: Split some code out of NewFrame() into an Initialize() function. ago%!(EXTRA string=8 years)
omar f72ca6d22c ImFontConfig: Added RasterizerMultiply option to alter the brightness of individual fonts at rasterization time, which may help increasing readability for some. Added RasterizerFlags for custom rasterizer flags (aka imgui_freetype) ago%!(EXTRA string=8 years)
omar 37f3a718c6 Marked all fmt + va_list functions with format attribute so GCC/Clang can warn about them. Not ignoring -Wsuggest-attribute=format anymore for GCC/Clang. ago%!(EXTRA string=8 years)
omar 40f608ce9b Version 1.52 WIP ago%!(EXTRA string=8 years)
omar 55a6209931 Version 1.51 ago%!(EXTRA string=8 years)
omar 141339e4b7 (internals) Renamed FocusedWindow to NavWindow to match terminology of navigation branch ago%!(EXTRA string=8 years)
ocornut 2ad2190d47 Merge 20a0fde012 Tidying up default clipboard handler for non Windows-OS (from Nav branch) ago%!(EXTRA string=8 years)
omar bea06117bb Nav: Fix navigation inside child windows. Removed GetChildID() and storin/g the info within the window. (#1291) ago%!(EXTRA string=8 years)
ocornut 50b3a14d0a Merge 2545d75c3b from Nav - Tidying up, removed two unnecessary window flags from being exposed in imgui.h ago%!(EXTRA string=8 years)
omar d5b0d51274 Minor miscellaneous merges from Navigation branch to reduce divergence a little bit ago%!(EXTRA string=8 years)
omar 6ee317d26d ImRect::Clip() -> ClipWith() to clarify meaning, going to undo the change in Nav branch. ago%!(EXTRA string=8 years)
omar 530baee1a7 Removed tabs that slipped through the cracks ago%!(EXTRA string=8 years)
omar 067127f113 Columns: Caching columns clipping rectangles (#125) ago%!(EXTRA string=8 years)
omar adeaf1cd72 Columns: Moved PushColumnClipRect() to imgui_internal.h ago%!(EXTRA string=8 years)
omar 1c83b073c6 Columns: A set of column (and most importantly the right-most column) do not register its content to the parent, not affecting the window contents size. (#519, #125, #913) ago%!(EXTRA string=8 years)
omar 7f0063f858 Columns: Added ImGuiColumnsFlags_NoResize flag (internal). (#913, #125) ago%!(EXTRA string=8 years)
omar 19a42cb2fd Columns: Moved BeginColumns/EndColumns/flags from #913 to imgui_internals.h + minor shallow tweaks. Removed demo code temporarily. (#125) ago%!(EXTRA string=8 years)
omar 8be7a60f20 ImFontAtlas: Re-arranging code to simplify implementation of imgui_freetype. (#618) ago%!(EXTRA string=8 years)
omar 1086c87767 ImFontAtlas: Re-arranging code to simplify implementation of imgui_freetype. (#618) ago%!(EXTRA string=8 years)
omar 4075cc58e9 ImFontAtlas; Re-arranging code to simplify implementation of imgui_freetype (#618) ago%!(EXTRA string=8 years)
omar a85a14370b OpenPopupEx() internal tweaks to receive an ImGuiID, BeginPopupContextXXX shortening unnecessarily long identifier. ago%!(EXTRA string=8 years)
omar d2259f65e5 Undo part of 32dbe836d0 to keep the same name for both overloads (#891, #799) ago%!(EXTRA string=8 years)
omar e682362f35 TODO list update, comments 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)
omar 942cb0e1f2 Added SetColorEditOptions(). ColorPicker4: context menu to select picker type and alpha bar. Reorganized flags (again!). (#346) ago%!(EXTRA string=8 years)
omar fb54dce71c Internals: Added ImLineClosestPoint, ImTriangleClosestPoint helpers. Changing ImVec2 arg to const ImVec2& ago%!(EXTRA string=8 years)
omar 1a26d0bc98 Internals: Added ImDot(), ImRotate(), ImLerp(v2,v2,float) helpers. ago%!(EXTRA string=8 years)
omar 72da4081f8 Internals: Added ImTriangleBarycentricCoords() helper. Renamed ImIsPointInTriangle() to ImTriangleContainsPoint(), with different arg order. ago%!(EXTRA string=8 years)
omar 390188dfa9 Comments about parts of imgui_internal.h that will self-destruct. ago%!(EXTRA string=8 years)