Commit Graph

5170 Commits (bda2cde68eed30c5c1992709c909ad220d226ba4)
 

Author SHA1 Message Date
omar d1c16d4ccd Documentation bits. Misc comments.
Guillaume Chereau 58fd8ea303 Fix minor error in doc
Not a big deal.
omar d1d2bbf86a Internals: Popup: Moved popup/menu/tooltip positioning code (viewport branch needs it organized in a different manner, so we are pushing the bulk of it here to minimize differences).
omar bfc0efaae9 Internals: Window: Aggregating ImDrawList into the ImGuiWindow structure.
omar 84fe711bdf Settings: Fixed saving an empty .ini file if CreateContext/DestroyContext are called without a single call to NewFrame(). ()
omar 296f03374b NewFrame: Prevent division by zero in frame rate calculation if io.DeltaTime is continuously zero. (, )
omar 928a4ad315 Begin: moved tooltip position code in an else block. Misc comments
omar 52cac135c9 Internals: Renamed GetFrontMostModalRootWindow() to GetFrontMostPopupModal() and exposed in imgui_internal.h ()
omar 9117632bf0 Misc: IM_DELETE() helper function added in 1.60 doesn't clear the input _pointer_ reference, more consistent with expectation and allows passing r-value.
omar 660c157880 Examples: Added missing calls for ::DestroyWindow, glfwDestroyWindow() + fix old comments.
omar 6f1f5cbc20 Version 1.61 WIP
omar dd079fe6e6 Version 1.60 (missed the string). Will retag.
omar 54fca1d1b8 Fixed erroneous call to io.Fonts->ClearInputData() + ClearTexData() that was left in DX10 example but removed in 1.47 (Nov 2015) in every other back-ends. (fixes 6cee2fca94) (, ~#1731) + assert
omar 8acda84202 Nav: Fixed comment. ()
omar 3a29ddbcfa Version 1.60
omar 6d0c720451 Internals: Removed unused internal variant of ArrowButton().
omar 82b7a39f31 Fixed a few zealous warnings.
omar c712f7275d Fixed unused variable warning.
omar c2fc978983 Style: Default style is now StyleColorsDark()! Toward a 1.60 release :) ()
omar 0734a12d25 IO: ImGuiConfigFlags_NoMouse disable hovering so it is not destructive. Amend 2464e62a1a
omar e88fb10d7c NewFrame: Extract some code into a NewFrameUpdateHoveredWindowAndCaptureFlags() which can be of use with touch-based inputs systems.
omar c1bdab6d5b Comments about io.WantCapture flags + todo entries.
omar ac2027c415 NewFrame: Extract some code into a NewFrameUpdateMouseInputs function. Moved settings saving higher up in the function so it is next to its peers.
omar 2464e62a1a IO: Added ImGuiConfigFlags_NoMouse to force clear/disable mouse inputs in NewFrame().
omar 72b7f48870 Renamed ImGuiConfigFlags_NoSetMouseCursor to ImGuiConfigFlags_NoMouseCursorChange. Followup to 75c3793db5 two weeks ago. (, , ) + comments
omar 18a243bef0 Columns: Fixed calling Columns() again with the same number of columns. ()
omar 5f4001a811 Contribution guidelines
omar fc30462f18 Hide new windows for one frame until they calculate their size. Also fixes SetNextWindowPos() given a non-zero pivot. ()
omar 5aa3f99b4c Internal: using more consistent comparaison with HiddenFrames to not imply it could be -1. Tweaked comments.
omar 4649967112 Added extra comments and assertions to avoid user combining ImGuiCond flags. ()
omar cd1e6e384f Tooltip windows uses PopupBorderSize () + commented out debug stuff.
Francisco Demartino 2fa113c895 README.md: add link to Gallery Part 6
omar 1e116e6c17 Removed need for -Wnocast-qual on modern Clang/Xcode as a token of good behavior. Unfortunately the old stb_ decompress code is a little const clunky. + warning fix in stb_textedit which is already in master afaik.
omar 84fbc49403 BeginChild: named child don't include the full id inside their name ()
omar 78610a54d2 Fixed Clang zealous cast-call warning (on par with GCC) which decided to warn against explicit C-style casts now.
omar 77e234d9df Comments
omar c461401b21 Comments, FAQ
omar 664ab85f76 Examples: Tweak comments. (, ).
omar ca39070ca0 Examples: Win32: Fixes for MingW which doesn't support a 2007 define? I have no idea why people still use MingW (, )
omar cc96477b1c Comments ()
omar cd602b8832 Examples: SDL: Note about SDL breaking the IME under Windows (I can't seem a way SDL2 Windows IME implementation can possibly work, the functions are never called/referenced).
omar b69dc45f6e Internals: Removed ImGuiDataType_Float2.
omar c19b27813d Added InputDouble() function. We use a format string instead of a decimal_precision parameter to also for "%e" and variants. () May transition the other InputXXX function to use format strings as well.
omar c796960ff9 InputFloat: Scientific input. InputText: Added ImGuiInputTextFlags_CharsScientific to add 'e' 'E' to list of characters that can be input. (later useful for )
omar 21ac470a8a Nav: Fixed a crash with IMGUI_DEBUG_NAV_SCORING enabled + added info to Metrics.
omar 94116f1143 Examples: GLFW: Don't alter cursor mode if GLFW_CURSOR input mode is GLFW_CURSOR_DISABLED. () [@PhilCK]
omar 75c3793db5 IO: Added ImGuiConfigFlags_NoSetMouseCursors. Added ImGuiBackendFlags_HasMouseCursors, ImGuiBackendFlags_HasSetMousePos. (, , )
omar dcf7c3d188 Added ImGuiBackendFlags for backend to expose its capabilities. Added ImGuiBackendFlags_HasGamepad. (, )
omar 170f44e6f0 IO: Renamed io.WantMoveMouse to io.WantSetMousePos (was added in 1.52, _not_ used by core and only honored by some binding ahead of merging the Nav branch) + internal renaming ()
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.