Commit Graph

5652 Commits (e137db2df7c8d3ea89f95d96d28ed9f4b7b11242)
 

Author SHA1 Message Date
Marc J. Schmidt 0903a12c2a Fixed documentation example ()
omar a2198bcf6b Made mouse drag distance calculation more robust to invalid mouse position. ()
omar 08e20ae465 Internals: Reintroducing LastActiveIdTimer because it is useful and to reduce merge conflicts. ()
omar d4b151076c Internals: Added BeginDragDropTooltip() internal function to convey semantic (drag and drop tooltip doesn't get clipped within display boundaries). Revert part of 3218666fb9. (, ).
omar 3218666fb9 Made drag source tooltip display at the same position as a regular tooltip to avoid discontinuity where dynamically swapping tooltip at the target site. Made drag source tooltip override previous tooltip if any. (, ).
omar 92b7d6bc4f Added ImGuiDragDropFlags_AcceptNoPreviewTooltip flag to disable drag source tooltip from the target site ()
omar 7fd9199a1d Internals: Selectable: Renamed variables. Todo update.
omar f843facba4 Internals: PushItemFlag() flags are inherited by BeginChild().
omar 0e83d74698 Documentation: FAQ, ID Stack, Fonts (, ), )
omar 929522febe Missing examples changelog bits and todo list
omar 9770c8b21d Examples: OpenGL3: Removed unnecessary backup/restore of GL_ELEMENT_ARRAY_BUFFER_BINDING since this is part of the VAO state. ()
omar 251f178a6f Drag and Drop: Source doesn't report as hovered (at a lower-level). Source disable AllowOverlap flag if any set. ()
omar 5fd23eeb74 Examples: iOS: Fixed missing call to CreateContext() + various shallow coding style tweaks. ()
omar b88fbd69cc Drag and Drop: BeginDragDropSource(): Offset tooltip position so it is off the mouse cursor, but also closer to it than regular tooltips, and not clamped by viewport. ()
omar 09ea376a6a BeginCombo(), BeginMainMenuBar(), BeginChildFrame(): restore modified style at end of Begin instead of End so doesn't affect child windows, BeginTooltip() etc.. (allowed since 7b6b7038c5)
omar bef0a13283 Examples: Comments about GLSL version not being the same as GL context version. ()
omar 663e2c9237 Examples: GLFW: Made it possible to Shutdown/Init the backend again (by reseting the time storage properly). Changelog. Added to Vulkan example. ()
ice1000 e8a72d3e72 Examples: GLFW* Make subsequent window creation possible.
omar bf56b6b9a5 ColorEdit3, ColorEdit4, ColorButton: Added ImGuiColorEditFlags_NoDragDrop flag to disable ColorEditX as drag target and ColorButton as drag source. ()
omar 7c7e96e1aa ImVector: added erase(it first, it last) helper. Added erase_unsorted(it) helper. + todo fixes/additions
omar 6c684ae39b Fixed GCC pre-8 build. () + added bonus the non-ASCII character pasted from GCC breaks my SourceTree/Git combo
omar 64b1645deb Disabled GCC 8.1.0 warnings -Wclass-memaccess ()
omar d5c8f404b2 Remove trailing white spaces.
omar ede5059e69 Internals: Forward declaring and commenting internal structures. Renamed ImGuiDrawContext to ImGuiWindowTempData, but kept .DC member name for backward compatibility purpose
omar 86f8cdbd98 Comments + Internals: Selectable: decoupled internal flags and removed their menu / menu-item semantic as upcoming changes are requiring more flexibility.
omar 640c056602 TreeNode: Fixed nodes with ImGuiTreeNodeFlags_Leaf flag always returning true which was meaningless. Tweak demo.
omar 99ff6fc7e4 Nav: Draft internal api to forward move request with loop/wrap options. Will rework for parallel scoring of two paths (as a generalization of the NavFlattened concept). ()
omar e11610d6ff Nav: To keep the navigated item in view we also attempt to scroll the parent window as well as the current window. ()
omar 036dce634e Version 1.62 WIP
Kirill Artemov 721ca97d95 ImVector: Tweaked reserve() flow to avoid calling MemFree(NULL) which is unnecessary. ()
omar 19544629be Examples: OpenGL3: Trying to make the call to glBindSampler optional to make the example code easier to use/share with different context version. ()
omar 78b28d545f Version 1.61 + todo additions
omar d7cc4bc317 Demo: Tweaked custom rendering custom, added a Thickness drag. Clarified use of vertical/horizontal line. Add a single pixel demo (wowow)
omar 3f29ed6fd5 ColorEdit: Fixed not being able to pass the ImGuiColorEditFlags_NoAlpha or ImGuiColorEditFlags_HDR flags to SetColorEditOptions(). Demo tweak.
omar 725c13ca68 Fix for atof with glibc.
omar 2a2bb8970d Added ImAtof, ImCeil, ImFloorStd to IMGUI_DISABLE_MATH_FUNCTIONS for consistency. Configuration comments.
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.
omar f8ca7f45c4 Comments about AddConvexPolyFilled(), PathFillConvex() requiring a clockwise order path. ()
omar e61b224b24
Update README.md
omar d53bae4c14 Demo: Fixing build due to using INT_MAX, UINT_MAX, LLONG_MAX, ULLONG_MAX.
omar 8adbf081af Demo: Renamed "fixed overlay" to "simple overlay" because it's not fixed any more!
omar a7a1b3b0a7 Demo: Added demo for DragScalar(), InputScalar(), SliderScalar(). ()
omar 7475c1e7dd Data types: DragScalar: Fixed speed of integer values tweaking with keyboard/gamepad when speed < 1. Enforce min/max bounds when power curves are used. SliderScalar: Fixed integer/slow tweaking. ()
omar fc7fc83f9e Data types: DragScalar, InputScalar: default parameters. Added IM_STATIC_ASSERT(). Comments.
omar 0dc18a6ca6 Documentation tweaks, comments
omar 8149408408 Merge branch 'data_types'
# Conflicts:
#	CHANGELOG.txt
#	imgui.cpp
omar 14f575ff76 Scrolling: Fixed a case where using SetScrollHere(1.0f) at the bottom of a window on the same frame the window height has been growing would have the scroll clamped using the previous height. ()
omar 91e39e72a3 Combo: Horizontally offset items using WindowPadding instead of Indent, for consistency.
omar 773d484009 Internals: Made ContentsRegionRect absolute to reduce confusion. Renamed InnerRect to InnerMainRect, renamed WindowRectClipper to OuterRectClipped.
omar f83f566530 Internals: Nav: Extracted code into a NavClampToVisibleAreaForMoveDir() + fix debug code + inline some functions, removed obsolete EndChild() comment.