Commit Graph

  • ff03ae503b Examples: OpenGL: Added a dummy GL call + comments in ImGui_ImplOpenGL3_Init() to detect uninitialized GL function loaders early, and help users understand what they are missing. (#2421) omar 2019-03-15 13:09:07 +01:00
  • cf2c52282d Version 1.70 WIP omar 2019-03-15 13:07:30 +01:00
  • ebe79bbed0 Demo: Custom rendering: Minor sizing issue fix. v1.69 omar 2019-03-13 15:44:23 +01:00
  • b1af4d36ce Merge branch 'master' into docking omar 2019-03-13 15:30:35 +01:00
  • 55c02099c5 Version 1.69, comments, typos omar 2019-03-13 11:35:34 +01:00
  • c3f20f6b81 Viewport: DestroyPlatformWindow() skips calling user function if PlatformWindowCreated is set. + Clarified comment about implicit Debug viewport which may be hogging a viewport. omar 2019-03-13 11:27:30 +01:00
  • e7dca4fec2 Fixed main viewport not being marked as created, which broke updating the IME input position for the main viewport. David Maas 2019-03-13 00:57:15 -05:00
  • a26085ed53 Internals: Fixed Navigation from reaching ImGuiItemFlags_Disabled items (#211) + Examples comments omar 2019-03-12 22:23:56 +01:00
  • 53e0c13be2 TabBar: Reworked scrolling policy (when ImGuiTabBarFlags_FittingPolicyScroll is set) to teleport the view when aiming at a tab far away the visible section, and otherwise accelerate the scrolling speed to cap the scrolling time to 0.3 seconds. omar 2019-03-12 20:57:02 +01:00
  • 99d8425173 TabBar: Fixed Tab tooltip code making drag and drop tooltip disappear during the frame where the drag payload activate a tab. omar 2019-03-12 18:56:19 +01:00
  • 9afb849e16 Merge branch 'master' into docking omar 2019-03-12 18:28:47 +01:00
  • cfa8f672f6 Examples: GLFW, SDL: Preserve DisplayFramebufferScale when main viewport is minimized. (This is particularly useful for the viewport branch because we are not supporting per-viewport frame-buffer scale. It fixes windows not refreshing when main viewport is minimized.) (#2416) omar 2019-03-12 18:27:14 +01:00
  • 495065f790 Fixed Clang and PVS warnings. omar 2019-03-12 12:08:51 +01:00
  • f254168335 InputText: Fixed c779fbb leading to display of the wrong buffer when resizing a buffer. (#2400, #2006, #1443, #1008). omar 2019-03-12 11:56:40 +01:00
  • 897badec7a Demo: InputText: Demonstrating use of ImGuiInputTextFlags_CallbackResize. (#2006, #1443, #1008). omar 2019-03-12 11:24:49 +01:00
  • a92c587c75 Added GetGlyphRangesVietnamese() helper. (#2403) omar 2019-03-11 22:02:59 +01:00
  • 65c2220049 Internal: Removed unused fields from ImGuiMenuColumns. omar 2019-03-11 20:14:56 +01:00
  • e1acb0b1fa Docking: Fixed node merging altering window position incorrectly in a way that would make SizeContents incorrect for the next frame (making scrollbar flicker). (#2414, #2109) omar 2019-03-11 19:46:37 +01:00
  • 3ead9820f7 Viewport: Popups and Tooltips viewports are correctly parented to the parent window's viewport. (#2409, #1542) omar 2019-03-11 16:51:46 +01:00
  • f7db4fad31 Merge branch 'master' into docking omar 2019-03-11 16:08:16 +01:00
  • 6767b0a1b0 Examples: Win32+DirectX: moved helper functions below main. omar 2019-03-11 16:00:18 +01:00
  • cf4fcc4735 Viewports: Fixed delayed window pos->viewport pos sync leading to monitor not being updated at the time of clamping window position in Begin. (#2415, #1542) omar 2019-03-11 13:10:41 +01:00
  • 3eedb542a6 Viewports: Renamed ConfigViewportsNoParent to ConfigViewportsNoDefaultParent. Fix outdated comments in examples. omar 2019-03-11 11:07:23 +01:00
  • ecf7666624 Docking: Fixed an issue where removing the last window from a dockspace node that is not a central node without remove the node. (#2414, #2109) omar 2019-03-10 22:19:18 +01:00
  • b5d57a6615 Fix typos. (#2413) Bruce Mitchener 2019-03-09 16:10:17 +07:00
  • 17c567c3a9 Don't use const qualified parameters in declarations. Bruce Mitchener 2019-03-09 00:05:20 +07:00
  • 79bb4ce128 Added ImGuiColorEditFlagsFlags_InputHSV. (#2383, #2384) Haldean Brown 2019-03-07 15:31:29 +01:00
  • 8e0e91827f ColorEdit: Fixed tooltip not honoring the ImGuiColorEditFlags_NoAlpha contract of never reading the 4th float in the array (value was read and discarded). (#2384) omar 2019-03-08 17:46:04 +01:00
  • 66936880ba Moved placeholder sections to match Docking branch. Comments. omar 2019-03-08 17:33:44 +01:00
  • 3b11505481 Fix typos. (#2411) Bruce Mitchener 2019-03-08 23:52:32 +07:00
  • d77d3416d3 Merge branch 'master' into docking omar 2019-03-07 18:40:55 +01:00
  • 5ce93bc0cc Refactor: Move viewport code under other subsystem to simplify merging (4) (moving in multiple commits to make diff/patch behave nicely) omar 2019-03-07 18:39:31 +01:00
  • 54a129a2e2 Refactor: Move viewport code under other subsystem to simplify merging (3) (moving in multiple commits to make diff/patch behave nicely) omar 2019-03-07 18:38:40 +01:00
  • bdf60dac6a Refactor: Move viewport code under other subsystem to simplify merging (2) (moving in multiple commits to make diff/patch behave nicely) omar 2019-03-07 18:35:14 +01:00
  • bbb543fc16 Refactor: Move viewport code under other subsystem to simplify merging (1) (moving in multiple commits to make diff/patch behave nicely) omar 2019-03-07 18:33:45 +01:00
  • f717df4eb6 Internal: Columns: Allow to use BeginColumns(1) so code designed for variable number of columns can still call NextColumn etc. (#125) omar 2019-03-07 18:21:56 +01:00
  • e9651aaa77 TabBar: Fixed ImGuiTabItemFlags_SetSelected being ignored if the tab is not visible (with scrolling policy enabled) or if is currently appearing. omar 2019-03-07 17:45:59 +01:00
  • 1c23981782 Made ImS8 and ImS16 explicitly signed in case some crazy SDK decide to flip the signedness over. (#2408) omar 2019-03-07 16:09:11 +01:00
  • 28d8eb220b Fix for Android char being unsigned by default (#2408) omar 2019-03-07 16:07:16 +01:00
  • 0a6c5bc234 Examples: DirectX9: Added support for multi-viewport (#2394) Gilad Reich 2019-03-06 21:34:37 +01:00
  • e91d275b10 Merge branch 'master' into docking omar 2019-03-06 21:18:46 +01:00
  • 8464df1f6e Internals: ColorEdit: Minor optimizations. Initialize internal arrays as static const, avoid unnecessary HSV->RGB conversion. omar 2019-03-06 19:12:53 +01:00
  • ea8158acdf Demo: Renamed ShowHelpMarker() -> HelpMarker(). Fixed minor PVS warning. Removed unnecessary casts. omar 2019-03-06 18:19:28 +01:00
  • 510342f024 Examples: DirectX9: Minor changes to match the other DirectX examples more closely. (#2394) omar 2019-03-06 18:00:04 +01:00
  • c779fbb651 InputTextWithHint: Fix for Password fields. Update changelog, demo. (#2400) omar 2019-03-06 17:33:24 +01:00
  • ab80ee6453 Added InputTextWithHint() (#2400) Lucas Lazare 2019-03-06 14:31:19 +01:00
  • fe48368cb2 InputText: Moving some code in anticipation of supporting hint display with password. This commit is aimed at having no visible side effect. (#2400) omar 2019-03-06 15:44:21 +01:00
  • 8b8ab1db5b Removed redundant declaration of SetNextWindowClass. (#2402) David Maas 2019-03-06 00:39:16 -08:00
  • e02d6014bf Merge branch 'master' into docking omar 2019-03-05 22:13:38 +01:00
  • 344140004b Fixed IsItemDeactivated()/IsItemDeactivatedAfterEdit() from not correctly returning true when tabbing out of a focusable widget (Input/Slider/Drag) in most situations. (#2215, #1875) + Minor renaming of a local variable in widget code. omar 2019-03-05 22:09:25 +01:00
  • 26328fc9fe Internal: Tabbing/Focus: Tidying up old code, moved some state to context instead of window. Storing new data will allow us to fix the bug mentioned in #2215 (probably in next commit). omar 2019-03-05 19:37:20 +01:00
  • 9c45072cb0 Demo: Added flags to InputTextMulttiline() demo. omar 2019-03-05 19:22:58 +01:00
  • 076be7ec41 MenuItem, Selectable: Fixed disabled widget interfering with navigation (fix c2db7f63 in 1.67). omar 2019-03-05 19:00:19 +01:00
  • ce4e62649a Internal: Tabbing: Tweaks to FocusableItemRegister and using the standard mechanism to allow/block Tab being interpreting by tabbing instead of InputText() widget. omar 2019-03-05 17:38:36 +01:00
  • 1ed3c4cf4a Internal: Text: Extracted TextUnformatted into TextEx over which we can freely atter the signature. Clarified current large text behavior of TextUnformatted with explicit ImGuiTextFlags_NoWidthForLargeClippedText flag (always set). omar 2019-03-05 16:08:18 +01:00
  • 622a27506a Text: Fixed large Text/TextUnformatted call not declaring its size when starting below the lower point of the current clipping rectangle. Somehow this bug has been there since v1.0! It was hardly noticeable but would affect the scrolling range, which in turn would affect some scrolling request functions when called during the opening frame of a window. omar 2019-03-05 15:23:11 +01:00
  • ac4842fa17 Nav: Fixed Ctrl+Tab keeping active InputText() of a previous window active after the switch. (#2380) omar 2019-03-05 12:03:54 +01:00
  • f4dd990e38 Comments and Issue Template omar 2019-03-05 11:03:32 +01:00
  • 8414c0bb09 Merge branch 'master' into docking omar 2019-03-04 18:00:32 +01:00
  • 94e794f81b Renamed GetOverlayDrawList() to GetForegroundDrawList() for consistency. Kept redirection function (will obsolete). (#2391) Demo: Using GetBackgroundDrawList() and GetForegroundDrawList() in "Custom Rendering" demo. omar 2019-03-04 16:20:32 +01:00
  • 96b13760d4 Added GetBackgroundDrawList() helper to quickly get access to a ImDrawList that will be rendered behind every other windows. (#2391) omar 2019-03-04 16:10:51 +01:00
  • 49eb5f0280 Merge branch 'master' into docking omar 2019-03-03 23:34:56 +01:00
  • beb3062dc5 Examples: OpenGL: Fix to be able to run on ES 2.0 / WebGL 1.0. [@rmitton, @gabrielcuvillier] omar 2019-03-03 23:32:40 +01:00
  • 9d1a392d7d Examples: OpenGL: Comments about versions and loaders. (#2393, #2351) omar 2019-03-03 23:14:30 +01:00
  • 7a536f1bd2 Examples + Viewport: GLFW: context wasn't set when using multiple windows. (#2392) Richard Mitton 2019-03-01 18:55:55 -08:00
  • 1c67d09c0b ColorPicker: Fix assertion when running in a collapsed window and dragging its title bar (#2389) omar 2019-03-01 00:05:39 +01:00
  • 1d0b4df3d9 Misc: Asserting in NewFrame() if style.WindowMinSize is zero or smaller than (1.0f,1.0f). Internal: ImHash functions tweaks. Added InputText() to query status section. omar 2019-02-28 16:59:01 +01:00
  • ff0c6c2bde Merge branch 'master' into docking omar 2019-02-27 19:00:09 +01:00
  • f02705fbaa InputInt, InputScalar: +/- buttons now respects the natural type limits instead of overflowing or underflowing the value. omar 2019-02-27 18:59:17 +01:00
  • 736d3e2654 DragScalar, InputScalar, SliderScalar: Added support for u8/s8/u16/s16 data types. We are reusing function instances for larger types to reduce code size. (#643, #320, #708, #1011) omar 2019-02-27 18:16:03 +01:00
  • 525a53a86b Comments omar 2019-02-27 17:26:18 +01:00
  • ac47710db7 Internal: InputText: Tweaks to make PVS static analyzer relax a little with its false positive. omar 2019-02-27 16:49:55 +01:00
  • 6de09a5e48 Renamed ColorEdit/ColorPicker's ImGuiColorEditFlags_RGB/_HSV/_HEX flags to respectively ImGuiColorEditFlags_DisplayRGB/_DisplayHSV/_DisplayHex. This is anticipation of adding new flags to ColorEdit/ColorPicker functions which would make those ambiguous. (#2384) [@haldean] omar 2019-02-27 16:45:58 +01:00
  • 8a2f6866a6 add _Show prefix to color flags that control inputs, rename __InputsMask to __ShowMask haldean 2019-02-26 10:19:06 -08:00
  • 688035b5f4 Added px_render_imgui.h (#1935) omar 2019-02-27 15:06:11 +01:00
  • cef77098ab Update README.md omar 2019-02-27 15:00:41 +01:00
  • 75641926e1 Merge branch 'allegro-touch' of https://github.com/dos1/imgui into dos1-allegro-touch omar 2019-02-27 14:39:41 +01:00
  • def723b6b6 Plot: Fixed error in 5e3a1de (#2387) omar 2019-02-27 14:34:11 +01:00
  • 5e3a1de4e6 Plot: Fixed divide-by-zero in PlotLines() when passing a count of 1. (#2387) [@Lectem] omar 2019-02-27 14:25:37 +01:00
  • 4eecf80a4b Moved Settings section above Docking to facilitate master<>docking merges. omar 2019-02-26 15:34:47 +01:00
  • 104294c7e4 Moved Logging/Capturing section above Docking to facilitate master<>docking merges. omar 2019-02-26 15:33:50 +01:00
  • 6b43a314bf Merge branch 'master' into docking omar 2019-02-26 12:53:38 +01:00
  • cf3cb7cf7e InputText: Fixed various display corruption related to swapping the underlying buffer while a input widget is active (both for writable and read-only paths). Often they would manifest when manipulating the scrollbar of a multi-line input text. omar 2019-02-26 12:50:44 +01:00
  • b7b82520b4 Internal: InputText: Minor changes (intended to have side-effect but clarify next commit, however there is rarely such a thing as zero side effect in InputText land!) omar 2019-02-26 12:22:58 +01:00
  • 439f726945 InputText; Disabled rendering selection when inactive (it kinda work but I'm not sure this is desirable especially for single-line input, was not intended to be active). omar 2019-02-24 23:31:00 +01:00
  • 8915f7933a Merge branch 'master' into docking omar 2019-02-24 23:24:07 +01:00
  • 5d7bd2309b Fixes warning caused by a missing switch/case. (#2382, #2381) David Wingrove 2019-02-24 17:19:36 -05:00
  • c3ea1748dc Fix -Wconversion warning (#2379) Elias Daler 2019-02-24 20:35:52 +03:00
  • 6f80179a1d InputText: Fixed deactivated but-last-active InputText instance holding on displaying the last active version of the text and not reflecting change in the source. Fix/amend 2e9a175. [+test] omar 2019-02-23 17:04:54 +01:00
  • 6cbf4b8121 Fixed uninitialized variable (leading to asserts in the docking branch). (#2376, #2371) omar 2019-02-23 17:00:59 +01:00
  • 9558e327d2 Log/Capture: Fixed extraneous leading carriage return. Fixed an issue when empty string on a new line would not emit a carriage return. omar 2019-02-23 16:22:55 +01:00
  • cd67d4d3c1 Log/Capture: Fixed LogXXX functions 'auto_open_depth' parameter being treated as an absolute tree depth instead of a relative one. Fixed CollapsingHeader trailing ascii representation being "#" instead of "##". Minor tidying up the of code. omar 2019-02-23 15:39:18 +01:00
  • 2cd7de5666 Internal: Log/Capture: Rework to add an internal LogToBuffer() function which is useful for writing automated tests. Clarified logging state by adding an enum. omar 2019-02-23 15:24:01 +01:00
  • 3eba840053 Nav: Fixed a tap on AltGR (e.g. German keyboard) from navigation to the menu layer. (follow and extend on e.g #369, #370) omar 2019-02-23 14:49:36 +01:00
  • 87ded34f9f Merge branch 'master' into docking omar 2019-02-22 12:29:18 +01:00
  • 9da48c16c5 TabBar: Added extra mis-usage error recovery. Past the assert, common mis-usage don't lead to hard crashes any more, facilitating integration with scripting languages. (#1651) omar 2019-02-22 12:27:41 +01:00
  • 0f83145aa8 TabBar: Fixed a crash when using BeginTabBar() recursively (didn't affect docking). (#2371) Added ImPool::Contains() helper. omar 2019-02-22 12:24:27 +01:00
  • f988618ebe Internal: InputText: Tweaks (including a large indentation change, compare ignoring space) to make next commit more digestible. omar 2019-02-21 23:00:47 +01:00
  • be593f2c16 Internal: InputText: refactor the flow to easily decorrelate rendering of selection vs cursor, which would allow us to render selection on inactive items, and generally makes the code clearer. + Some renaming. omar 2019-02-21 19:45:28 +01:00
  • 332f8f2462 Internal: InputText: Made clipboard copy/cut use its own temporary buffer (like paste) so we can guarantee that TempBuffer if not altered and can be preserved. Renamed TempBufferA to TextA to celebrate this. omar 2019-02-21 17:33:57 +01:00