3490 Commits (7dea158175615dc8939c57a06641bac911e33e8c)
 

Author SHA1 Message Date
omar ce95b84825 Added ImGuiKey_Insert for future use. Setup in all example bindings. (#1541) ago%!(EXTRA string=7 years)
omar 39cb56c39e Examples: OpenGL3+GLFW: Using 3.2 context + GLSL version 150 (#1466) ago%!(EXTRA string=7 years)
omar 7484c63449 Examples: OpenGL3+SDL: Changed GLSL shader version to 150 (#1466, #1504) ago%!(EXTRA string=7 years)
omar 168200f915 Popups: Comments, reorganize bits of the header section, renamed parameters. ago%!(EXTRA string=7 years)
omar a8e5542d78 BeginPopup: Exposed extra_flags publicly. (#1533) ago%!(EXTRA string=7 years)
omar 3fc7cf190d OpenPopup(): Always reopen existing popup. Removed OpenPopupEx() bool reopen_existing which is always true. This also makes the public API on par with OpenPopupEx(). (#1497, #1533) ago%!(EXTRA string=7 years)
omar deab2ab015 Popups: Gently handle the user mistakenly calling OpenPopup() every frame. (when reopen_existing is true). (#1497) ago%!(EXTRA string=7 years)
omar 69ff65f054 Internals: Popup: Renaming fields. ago%!(EXTRA string=7 years)
omar 3678307cd9 Popup, Menus: Tweaks and comments. ago%!(EXTRA string=7 years)
omar 369189b675 Internals: Popup: Explicitely setting up ImGuiPopupRef reduces confusion. ago%!(EXTRA string=7 years)
omar e09852fc49 Popups: Revert aca23fd3f0 (Oct 20, 2017). Because 1) I can't seem to find a default. 2) The if is definitively faulty and would have been all true. 3) It looks like possibly the following commit 6ab737a4bb could have made this unnecessary. Not absolutly certain. (~#439) ago%!(EXTRA string=7 years)
omar 63e4677b81 Popup: BeginPopupContextItem(), BeginPopupContextWindow(), BeginPopupContextVoid(), OpenPopupOnItemClick() all react on mouse release instead of mouse click. Note that they don't use the full ButtonBehavior() or tracking aabb on both click and release. Applications I've tried seems to behave inconsistently there but on-release-without-tracking is both fairly common and doesn't require extra code for the id tracking. (~#439) ago%!(EXTRA string=7 years)
omar c337cdcfd3 Internal: ButtonBehavior: Tweak to update g.ActiveIdClickOffset more consistently ago%!(EXTRA string=7 years)
omar d730a763f6 Internal: Reworked FocusFrontMostActiveWindow() so it fits the Nav branch usage as well. ago%!(EXTRA string=7 years)
omar a34490239c Internals: Popup: Separating MousePosOnOpen and PopupPosOnOpen. They are equal in the master branch but different in the navigation branch. ago%!(EXTRA string=7 years)
omar 5fd19f037f Internals: renamed FocusPreviousWindow() to FocusfrontMostActiveWindow() ago%!(EXTRA string=7 years)
omar 2874aabb93 Internals: BringWindowToFront() iterate front to back, faster in majority of use cases. ago%!(EXTRA string=7 years)
omar 3d24a9eb40 Examples: DirectX9/10/11: Comments about CS_DBLCLKS + formatting tweaks. (#1538) ago%!(EXTRA string=7 years)
omar 65dd55cb2b
Merge pull request #1538 from ndandoulakis/ndandoulakis-CS_DBLCLKS-patch ago%!(EXTRA string=7 years)
omar 407955d9fb Examples: Using IM_OFFSETOF macro. + Comments ago%!(EXTRA string=7 years)
Nick Dandoulakis bfc25bc8a3
CS_DBLCLKS support for DirectX 11 ago%!(EXTRA string=7 years)
Nick Dandoulakis 583e97b297
CS_DBLCLKS support for DirectX 10 ago%!(EXTRA string=7 years)
Nick Dandoulakis 20ae6439ea
CS_DBLCLKS support for Directx9 ago%!(EXTRA string=7 years)
omar 95b773370f Revert "Internals: Added LastActiveId, LastActiveIdTimer. (#1537)" Will come up with a better design later. ago%!(EXTRA string=7 years)
omar 007f4034c9 Internals: Added LastActiveId, LastActiveIdTimer. (#1537) ago%!(EXTRA string=7 years)
omar 4c90529c62 Examples: Visual Studio projects: Disabled extraneous function-level check in Release build. ago%!(EXTRA string=7 years)
omar ecbfdd3143 Added extraneous initialization to NULL. (#1527). ago%!(EXTRA string=7 years)
omar 4fc9f44073 Merge of minor left-overs from private work branch to reduce drifts. Should be functionally a no-op. ago%!(EXTRA string=7 years)
omar 4b1240b2e1 Fixed non-popup child windows not honoring the HiddenFrames flag (can't see a reason). Docking relies on this. ago%!(EXTRA string=7 years)
omar b2ec0741f1 Internals: Settings api tweaks ago%!(EXTRA string=7 years)
omar 0a0b252bb6 DragDrop: Removed IsDragDropActive() (introduced a few days ago, revert 06bea369c0) as our use case doesn't need it anymore. Will add it if there is a real need. ago%!(EXTRA string=7 years)
omar a7deb3a394 Demo: Minor tweaks. ago%!(EXTRA string=7 years)
omar 9fbecac87e Demo: Improved Selectable() examples. (#1528) ago%!(EXTRA string=7 years)
omar 33f7769d85 Columns: Clear offsets data when columns count changed. (#1525) ago%!(EXTRA string=7 years)
omar f9b2058d5a Internals: Renamed ImGuiSimpleColumns to ImGuiMenuColumns to avoid confusion. Reduced internal buffer size (we only use 3 slots). ago%!(EXTRA string=7 years)
omar 79d38e5ade Updated copyright date for 2018 ago%!(EXTRA string=7 years)
omar 05ec0b0736 Casing tweaks + clarify license copyright (simpler/safer?) (#1346) ago%!(EXTRA string=7 years)
omar 3c6fbe0849 Renamed ImGuiSizeConstraintCallback to ImGuiSizeCallback, ImGuiSizeConstraintCallbackData to ImGuiSizeCallbackData. ago%!(EXTRA string=7 years)
omar 7fcbd45500 Internals: NextWindow: Renamed, moved functions to member. ago%!(EXTRA string=7 years)
omar e339949de1 Internals: NextWindow: Using ImGuiCond for consistency. ago%!(EXTRA string=7 years)
omar 04b44398eb Internals: refactored g.SetNextWindow fields into g.NextWindow. structure (so it can be more easily transported/copied) ago%!(EXTRA string=7 years)
Branimir Karadžić 856ee17ed8 Fixed Android clang warning. ago%!(EXTRA string=7 years)
omar bfc9c5216a
Merge pull request #1529 from unprompted/master ago%!(EXTRA string=7 years)
Cory McWilliams 561e9f286e Fix a memory leak of ImGuiColumnsSet's Columns vector. ImVector doesn't call destructors. ago%!(EXTRA string=7 years)
omar 170bcb2d7c Internals: NewFrame: Shuffled some code around (to minimize upcoming patches) ago%!(EXTRA string=7 years)
omar 4af84ac781 ImFontAtlas: Handle stb_truetype failure more gracefully, GetTexDataAsRGBA32() won't crash during conversion. (#1527) ago%!(EXTRA string=7 years)
omar 6ec00a366a Internals: ImRect: Minor formatting tweaks. ago%!(EXTRA string=7 years)
omar fbf2435f38 Exposed IM_OFFSETOF() helper in imgui.h ago%!(EXTRA string=7 years)
omar eef9120e07 Reorganized comments in the IMGUI_DISABLE_OBSOLETE_FUNCTIONS function. Added an IM_ASSERT(0). ago%!(EXTRA string=7 years)
omar 2dd2ca0096 Removed CalcItemRectClosestPoint() which was weird and not really used by anyone except demo code. If you need it it's easy to replicate on your side. ago%!(EXTRA string=7 years)