Commit Graph

  • 71296910a0 Demo: Tweaks and spacing. Stopped using rand() function in demo code. omar 2017-12-10 18:49:47 +0100
  • 4b8857d536 Demo: About box tweaks. omar 2017-12-10 18:45:05 +0100
  • 1096e14356 ImFont: Added GetDebugName() helper. omar 2017-12-10 18:34:32 +0100
  • e3e0326ea9 Exposed BeginCombo() publicly. omar 2017-12-10 18:08:59 +0100
  • 080f61858f Sorted typedefs/enumations forward declarations in imgui.h omar 2017-12-10 17:57:27 +0100
  • eab6333a0b SetNextWindowContentSize() adjust for client->window size, but the fate of borders isn't really clear for now (until now we always tried to make borders not affect layout, so if we want a 200x200 fully visible space with borders and zero window padding user need to include the borders) (#1490) omar 2017-12-10 17:36:30 +0100
  • 7ac1583411 Scrollbar: Minor simplication of the code using InnerRect data. omar 2017-12-10 17:27:37 +0100
  • a9b01600ac Internals: window->InnerRect includes removal of borders so it'll be easier to use from other locations. omar 2017-12-10 17:24:10 +0100
  • 20ba79aa56 Demo: Added "No close" option. omar 2017-12-10 17:02:41 +0100
  • b75acc21b0 Fix for border under title bar when WindowBorderSize == 0 and FrameBorderSize > 0 omar 2017-12-10 16:48:18 +0100
  • 0872020c5c Comments omar 2017-12-10 16:11:29 +0100
  • f72b002da8 Removed SetNextWindowContentWidth(), prefer using SetNextWindowContentSize(). Kept redirection function (will obsolete). (#246, #519, #1444) omar 2017-12-10 16:05:47 +0100
  • e23083a080 Fixed warning: logical ‘and’ of equal expressions Branimir Karadžić 2017-12-09 13:47:54 -0800
  • 0365c524a2 ColorPicker4: Fixed returning true when holding mouse button on the sat/value/alpha locations. (#1489) omar 2017-12-09 21:25:20 +0100
  • a8c7b1a2a2 ColorEdit4: Made IsItemActive() return true when picker popup is active. (#1489) omar 2017-12-09 21:17:27 +0100
  • 871a5cecc1 Merge branch 'master' into navigation omar 2017-12-08 18:32:46 +0100
  • c9f0275e22 Combo: Removed ImGuiWindowFlags_ComboBox flag. Moved internal window flags. omar 2017-12-08 18:32:12 +0100
  • 457011660e Mouse wheel scrolling doesn't change speed inside Combo box (uses to slow down from 5 to 3) but instead slow down on window that are smaller than the scroll speed. omar 2017-12-08 18:28:17 +0100
  • a263dce2f2 Combo: Cleanup. Removed unrequired uses of the _ComboBox flag (the test in EndChild() is from commit no 1!). We could remove ImGuiWindowFlags_ComboBox soonish. omar 2017-12-08 17:16:33 +0100
  • 9ce51ad9f6 Fix bad merge omar 2017-12-08 15:11:35 +0100
  • a6f37287d8 Merge branch 'master' into navigation omar 2017-12-08 15:06:37 +0100
  • 7ac5f11b29 Standardizing the casing/format of internal window names + Misc comments. omar 2017-12-08 14:52:33 +0100
  • befc58771c Combo: Recycling windows by using a stack number instead of a unique id, wasitng less windows. omar 2017-12-08 14:48:25 +0100
  • e998c7d3e3 Combo: Moved functions (untouched). omar 2017-12-08 14:45:43 +0100
  • a5e9392140 Combo: Added flags to BeginCombo() new api, removed explicit height, default to 8 instead of 7 items, allow popup height constraints via SetNextWindowSizeConstraints(), width expand if contents doesn't fit, popup reposition policy if it doesn't fit. omar 2017-12-08 14:44:58 +0100
  • d9d231dc6b Internals: Renamed CalcSizeFullWithConstraint() to CalcSizeAfterConstraint() which is more appropriate + added explicit parameter to CalcSizeAutoFit() so it can be used externally. omar 2017-12-08 12:30:58 +0100
  • 74f42baf3e Fixed scrollbar issue, source size when explicit was read before applying custom size constraints (followup to cc2c023880 etc.) omar 2017-12-08 11:48:18 +0100
  • 541dfd7901 Combo: Comments + fixed missing lower window padding. omar 2017-12-07 22:23:27 +0100
  • 9872297a84 Internals: Renamed FindBestPopupWindowPos() to FindBestWindowPosForPopup() omar 2017-12-07 22:22:53 +0100
  • a4863e8084 Demo: Picker with palette demo supports drag and drop. (#143, #346) omar 2017-12-08 12:49:35 +0100
  • 7bf85db6c4 Drag and drop: Added COL3F payload for color without alpha overwrite. Exposed standard color payload types in imgui.h (#143) omar 2017-12-08 12:48:53 +0100
  • b6b940c8ee Merge branch 'master' into navigation + removed extraneous g.NavDisableMouseHover test in IsItemHovered() omar 2017-12-08 09:35:23 +0100
  • e118239f69 IsItemHovered() comments (#1382) omar 2017-12-08 09:34:05 +0100
  • 553b0fcf8f Merge branch 'master' into navigation omar 2017-12-07 21:20:16 +0100
  • ca0bb000ad Begin: Factored out a bit of code to CalcSizeContents() omar 2017-12-07 20:47:57 +0100
  • f658edc72a Begin: Remove unnecessary usage of window_is_new flag, as both fields are zero on window creation. omar 2017-12-07 20:47:00 +0100
  • 45466a8cf9 Internals: BeginCombo() added dummy ImGuiComboFlags. omar 2017-12-07 20:14:24 +0100
  • 97edd42fc0 Indent(), Unindent(): Allow passing negative values. omar 2017-12-07 18:51:48 +0100
  • 7f2b9ea4c0 Begin: Minor refactor following fcf652f8ee7267055e331bf7a0133ed477816f27. Merging the if (Collapsed) block with the main one. omar 2017-12-07 18:10:37 +0100
  • 8dcc1a8a20 Begin: Sizing fixes regarding uses SetNextWindowSize() on individual axises. omar 2017-12-07 18:07:42 +0100
  • e045eddd77 Minor tweaks. Using ImGuiAxis defines. omar 2017-12-07 17:11:51 +0100
  • 92f7bd3605 Fixed 64-bit warnings. omar 2017-12-07 21:06:15 +0100
  • cc2c023880 Fixed scrollbar issue, followup to beda5fc5a0 and 2df8fa95df. omar 2017-12-07 17:04:39 +0100
  • e6215b6ca0 Merge branch 'master' into navigation + merge fix omar 2017-12-07 16:42:52 +0100
  • 3c9f9a455e Internals: Cleanup FindBestPopupWindowPos() to be more digestible, since we are bounds to rework the logic there. No functional changes intended. FIXED TYPO. omar 2017-12-07 16:36:07 +0100
  • 8959c64b33 Internals: Cleanup FindBestPopupWindowPos() to be more digestible, since we are bounds to rework the logic there. No functional changes intended omar 2017-12-07 13:26:56 +0100
  • abe5ad3c7a Demo: Added display for IsMouseDragging() function. omar 2017-12-06 23:38:33 +0100
  • 94bf12f14b Demo: Display better mouse cursor info for debugging backends. omar 2017-12-06 22:20:08 +0100
  • 20c7aab60c Exposed GetOverlayDrawList(). (~#545, ~#530) omar 2017-12-07 12:49:52 +0100
  • 6deb865f78 Nav: Merge fix. omar 2017-12-06 17:48:28 +0100
  • 2fc6a82665 Merge branch 'master' into navigation omar 2017-12-06 17:44:40 +0100
  • 8f41508c52 Begin: Move the code that update the Appearing flag above the BeginDocked() branch. omar 2017-12-06 17:42:28 +0100
  • 2fc9a2e6e7 Fixed nav branch merge issue. omar 2017-12-06 15:20:36 +0100
  • beda5fc5a0 Fixed scrollbar enable/disable calculation when size is modified programmatically. This is the generalization of the fix in 2df8fa95df. omar 2017-12-06 15:13:23 +0100
  • ecacaf7f2d Lower-right resize grip only appears when hovered. (#822) omar 2017-12-05 23:03:08 +0100
  • 3b7e4eaf38 Comments about ImGuiWindowFlags_ResizeFromAnySide. Removed hovering color. May need its own color. (#822) omar 2017-12-05 22:53:58 +0100
  • 531e559e49 Windows can be resized from their borders when ImGuiWindowFlags_ResizeFromAnySide is set. (#822) The interaction is currently unsatisfying because we can only reach a window from its inner rectangle (because of HoveredWindow filtering). omar 2017-12-05 22:38:02 +0100
  • e103fe8c1f Tweak four-corners resize grip code. Added ImRect::FixInverted() helper. (#822) omar 2017-12-05 22:05:24 +0100
  • 90ae1c59c4 Added ImGuiWindowFlags_ResizeFromAnySide flag and code to resize from any of the 4 corners (only 2 corners enabled). (#822) omar 2017-12-05 20:36:35 +0100
  • fe2cf231a8
    Update README.md omar 2017-12-06 11:18:17 +0100
  • 729333293c Merge branch 'master' into navigation omar 2017-12-05 22:56:35 +0100
  • 0f119865a6 Comments about ImGuiWindowFlags_ResizeFromAnySide. Removed hovering color. May need its own color. (#822) omar 2017-12-05 22:53:58 +0100
  • 5686c72bbd Windows can be resized from their borders when ImGuiWindowFlags_ResizeFromAnySide is set. (#822) The interaction is currently unsatisfying because we can only reach a window from its inner rectangle (because of HoveredWindow filtering). omar 2017-12-05 22:38:02 +0100
  • b9dc0caee3 Tweak four-corners resize grip code. Added ImRect::FixInverted() helper. (#822) omar 2017-12-05 22:05:24 +0100
  • 2ca4f9e862 Added ImGuiWindowFlags_ResizeFromAnySide flag and code to resize from any of the 4 corners (only 2 corners enabled). (#822) omar 2017-12-05 20:36:35 +0100
  • 364251146b Merge branch 'master' into navigation omar 2017-12-05 16:15:05 +0100
  • 77d1a4b636 Fixed a one frame glitch, when window claiming focus themselves on appear, the title bar wouldn't use the focused color on that frame. omar 2017-12-05 16:12:45 +0100
  • 16d9fa30b2 Merge branch 'master' into drag_and_drop omar 2017-12-05 09:21:07 +0100
  • 5f7cd7fb1c Internals: Splitter Behavior doesn't show a border. (#319) omar 2017-11-30 18:02:42 +0100
  • be6384eb2a Style: Tweaked default WindowRounding value from 9 to 7 (#707) omar 2017-11-30 19:06:09 +0100
  • c860a0a85c Internals: ImRect: Added IsFinite() helper. omar 2017-12-01 17:38:25 +0100
  • aea3fe41b9 Style: Tweaks Dark and Light styles. (#707) omar 2017-11-30 23:07:48 +0100
  • 6ea744d8f4 Drag and Drop: Added DragSource from color square. Added DragTarget on ColorEdit4 widget. (#143) omar 2017-11-30 16:54:39 +0100
  • 81cbaef806 Merge branch 'master' into navigation omar 2017-11-29 23:49:17 +0100
  • 0d53c8d480 Demo: Console: Fixed incorrect positioning which was hidden by a minor scroll issue (this would affect people who copied the console code as is) omar 2017-11-29 23:47:59 +0100
  • b513fdce48 Scrolling: SetScrollFromPosY() tweak to match change in a0d53fee81084a547bf21f46e736ea89f79fffb5 with similar desirable jump/discontinuity at each limit to skip the (ItemSpacing>WindowPadding) difference (followup to 0e5b64ecd2, #150) omar 2017-11-29 23:47:15 +0100
  • c36e586cce Style, Scrolling: Fixed padding and scrolling asymetry where lower/right sides of a window wouldn't use WindowPadding properly + causing minor scrolling glitches. omar 2017-11-29 23:39:23 +0100
  • a20fe279c5 Demo: Layout: Removed unnecessary BeginChild/EndChild calls omar 2017-11-29 23:33:31 +0100
  • 25c159fac8 Internals: Removed unnecessary duplicate scrolling code + added extra infos to Metrics window. omar 2017-11-29 21:10:59 +0100
  • 52e475230f Settings: Internals: Renaming. omar 2017-11-28 22:51:07 +0100
  • 2e1013a0c6 Settings: Internals: Simplifying code a bit. Creating Settings structure during first save. Windows where ImGuiWindowFlags_NoSavedSettings was late toggled will save settings correctly. (#1000) omar 2017-11-28 21:04:13 +0100
  • 7ae71e4984 Settings: Internals: Added FindSettingsHandler() omar 2017-11-28 20:03:10 +0100
  • 35eb5c5c99 Settings: Internals: Exposed FindWindowSettings(). Simplified some code. omar 2017-11-28 19:25:16 +0100
  • 963259d128 Settings: Internals: Renamed ImGuiSettingsWindow to ImGuiWindowSettings. omar 2017-11-28 19:20:50 +0100
  • 63712d5f5c Merge branch 'master' into drag_and_drop omar 2017-11-28 17:28:45 +0100
  • 9191b17218 Merge branch 'master' into navigation omar 2017-11-28 17:28:08 +0100
  • 4a43632163 Build fix omar 2017-11-28 17:27:54 +0100
  • 1a8a7c9d17 Settings: Import old style .ini file omar 2017-11-28 16:23:46 +0100
  • c8b5b569da Examples: DirectX9: Call EndFrame(), fix for assert added in 9a44d447cd omar 2017-11-28 11:26:14 +0100
  • e5ebe42207 Settings: Make ImGuiWindow settings always first in the list. omar 2017-11-28 00:33:12 +0100
  • 4c4f1b0224 ImVector: Added ImVector::push_front helper. omar 2017-11-28 00:33:03 +0100
  • f3ec608c19 Settings: Initializing ImGuiSettingsWindow so external users don't end up with uncleared data. Exposed MarkIniSettingsDirty() in imgui_internal.h omar 2017-11-28 00:32:25 +0100
  • e000ee0116 Examples: DirectX9: Handle loss of D3D9 device (D3DERR_DEVICELOST). (#1464) omar 2017-11-28 10:48:01 +0100
  • 7e2d0d734c Settings: basic refactor so that additional data structures can be loaded/saved. Parser/saver is still the minimum viable poor-man parsing. omar 2017-11-27 23:55:42 +0100
  • d552cabd15 Settings: Internal renaming of structure and fields names. omar 2017-11-27 23:00:27 +0100
  • 77a310736d Horizontal mouse wheel support Emmanuel Benoît 2017-11-27 20:36:23 +0100
  • ade09b9e3c Settings: Basic internal refactor to have functions for saving from/to memory (not exposed) omar 2017-11-27 19:01:40 +0100
  • 532f564fd3 ImGuiTextBuffer: Renamed append() helper to appendf(), appendv() to appendfv(). Added reserve(). omar 2017-11-27 16:55:06 +0100
  • 0f955b818d Fixed DroidSans font link (#1460) omar 2017-11-26 11:44:52 +0100
  • d9c5d72962 ImGuiStorage: Added BuildSortByKey() helper to rebuild storage from stratch. omar 2017-11-24 11:26:42 +0100