Commit Graph

  • 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 +0100
  • 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 +0100
  • 902e629975 Disable IME if not io.WantTextInput in SDL impl vby 2019-03-04 22:32:26 +0800
  • db4f5b29a9 Formatting gab 2019-03-04 09:43:08 +0100
  • 9cfa84c05e Removed cmake hack to find SDL2 gab 2019-03-04 09:42:42 +0100
  • f53defc38e #includes of GL files in the .cpp gab 2019-03-04 08:44:35 +0100
  • a2353b276c Formating gab 2019-03-04 02:48:05 +0100
  • 4c1f44600d Get similar formatting than original gl3.cpp file gab 2019-03-04 02:36:26 +0100
  • 8ca24828af Removed FindSDL2.cmake gab 2019-03-04 02:23:54 +0100
  • 49eb5f0280 Merge branch 'master' into docking omar 2019-03-03 23:34:56 +0100
  • 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 +0100
  • 9d1a392d7d Examples: OpenGL: Comments about versions and loaders. (#2393, #2351) omar 2019-03-03 23:14:30 +0100
  • 7a536f1bd2 Examples + Viewport: GLFW: context wasn't set when using multiple windows. (#2392) Richard Mitton 2019-03-01 18:55:55 -0800
  • 4403d3f84d
    Create premake5.lua Ryan 2019-03-03 15:33:35 -0500
  • e83989ae9c Implement multiple view ports support for DX9. Gilad Reich 2019-03-02 09:09:16 +0100
  • ba4191f3aa Compile fix. Richard Mitton 2019-03-01 19:11:11 -0800
  • a1553faf7f Added ifdefs to support OpenGL ES 2.0 Richard Mitton 2019-03-01 18:57:52 -0800
  • e886dcbe4e GL context wasn't set when using multiple windows. Richard Mitton 2019-03-01 18:55:55 -0800
  • 78b600d121 Disable SDL message handler only if io.WantTextInput vby 2019-03-02 01:27:24 +0800
  • 40b184d5b0 Workaround to disable the incomplete UI-less mode IME in SDL(Windows) vby 2019-03-01 23:33:38 +0800
  • 1c67d09c0b ColorPicker: Fix assertion when running in a collapsed window and dragging its title bar (#2389) omar 2019-03-01 00:05:39 +0100
  • 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 +0100
  • c907e1dfe1 add ability to pass Color widgets HSV data Haldean Brown 2019-02-27 10:55:49 -0800
  • ff0c6c2bde Merge branch 'master' into docking omar 2019-02-27 19:00:09 +0100
  • f02705fbaa InputInt, InputScalar: +/- buttons now respects the natural type limits instead of overflowing or underflowing the value. omar 2019-02-27 18:59:17 +0100
  • 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 +0100
  • 525a53a86b Comments omar 2019-02-27 17:26:18 +0100
  • ac47710db7 Internal: InputText: Tweaks to make PVS static analyzer relax a little with its false positive. omar 2019-02-27 16:49:55 +0100
  • 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 +0100
  • 8a2f6866a6 add _Show prefix to color flags that control inputs, rename __InputsMask to __ShowMask haldean 2019-02-26 10:19:06 -0800
  • 688035b5f4
    Added px_render_imgui.h (#1935) omar 2019-02-27 15:06:11 +0100
  • cef77098ab
    Update README.md omar 2019-02-27 15:00:41 +0100
  • 75641926e1 Merge branch 'allegro-touch' of https://github.com/dos1/imgui into dos1-allegro-touch omar 2019-02-27 14:39:41 +0100
  • def723b6b6 Plot: Fixed error in 5e3a1de (#2387) omar 2019-02-27 14:34:11 +0100
  • 5e3a1de4e6 Plot: Fixed divide-by-zero in PlotLines() when passing a count of 1. (#2387) [@Lectem] omar 2019-02-27 14:25:37 +0100
  • 0987917b52
    Fix div by 0 in DrawLines when values_count == 1 Lectem 2019-02-27 14:16:03 +0100
  • 4eecf80a4b Moved Settings section above Docking to facilitate master<>docking merges. omar 2019-02-26 15:34:47 +0100
  • 104294c7e4 Moved Logging/Capturing section above Docking to facilitate master<>docking merges. omar 2019-02-26 15:33:50 +0100
  • 6b43a314bf Merge branch 'master' into docking omar 2019-02-26 12:53:38 +0100
  • 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 +0100
  • 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 +0100
  • 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 +0100
  • 8915f7933a Merge branch 'master' into docking omar 2019-02-24 23:24:07 +0100
  • 5d7bd2309b Fixes warning caused by a missing switch/case. (#2382, #2381) David Wingrove 2019-02-24 17:19:36 -0500
  • 7aa77e3727 Added IM_ASSERT(0); if a log finishes with ImGuiLogType_None. Dave Wingrove 2019-02-24 14:06:40 -0500
  • 1d016db7bc Fixes a compile issue caused by a missing case. Dave Wingrove 2019-02-24 13:41:40 -0500
  • c3ea1748dc Fix -Wconversion warning (#2379) Elias Daler 2019-02-24 20:35:52 +0300
  • 17a4e31e53 Fix -Wconversion warning Elias Daler 2019-02-24 17:57:39 +0300
  • 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 +0100
  • 6cbf4b8121 Fixed uninitialized variable (leading to asserts in the docking branch). (#2376, #2371) omar 2019-02-23 17:00:59 +0100
  • 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 +0100
  • 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 +0100
  • 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 +0100
  • 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 +0100
  • 87ded34f9f Merge branch 'master' into docking omar 2019-02-22 12:29:18 +0100
  • 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 +0100
  • 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 +0100
  • 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 +0100
  • 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 +0100
  • 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 +0100
  • 81a8730022 Internal: InputText: Renamed is_editable to !is_readonly, Hopefully more explicit. Renamed internal member. Shuffled some code. Added comments, assert (_will_ trigger on !readonly > readonly edge, old bug). omar 2019-02-21 12:35:21 +0100
  • cc3be5d428 InputText: Fixed an edge case crash that would happen if another widget sharing the same ID is being swapped with an InputText that has yet to be activated. omar 2019-02-21 12:25:21 +0100
  • 2e9a175057 Internal: InputText: Refactor to clarify access pattern to the InputTextState (we are now accessing via a pointer which can be NULL, shortened its name while we are at it) + added an assert to track an issue that existed already before. omar 2019-02-21 12:24:50 +0100
  • 677e64e71e Internal: InputText: Comments. Renamed internal member. Renamed ImGuiStb->ImStb. omar 2019-02-20 21:25:17 +0100
  • 79f7778e48 Moved binaries to dearimgui.org/binaries omar 2019-02-20 15:10:23 +0100
  • 2068dd509c Examples: OpenGL: Fix for OSX not supporting OpenGL 4.5, we don't try to read GL_CLIP_ORIGIN even if the OpenGL headers/loader happens to define the value. (#2366, #2186) omar 2019-02-20 14:31:19 +0100
  • b8a6e9b9db Merge remote-tracking branch 'remotes/origin/master' into pfox/passwordFix Paul Fox 2019-02-20 23:06:42 +1000
  • 782b747a17 InputText: Renamed some local variables to clarify code. Should be a no-op functionality wise. TODO items. omar 2019-02-20 00:40:09 +0100
  • 7c51cba74f InputInt, InputFloat, InputScalar: Fix to keep the label of the +/- buttons centered when style.FramePadding.x is abnormally larger than style.FramePadding.y. Since the buttons are meant to be square (to align with e.g. color button) we always use FramePadding.y. (#2367) omar 2019-02-20 00:20:11 +0100
  • 257f5d204e Version 1.69 WIP omar 2019-02-20 00:11:36 +0100
  • 93b06e6e7c Internal: Changed Scrollbar() signature. Using GetScrollbarID() in InputTextMultiline(). Removed multiple semi-colons (#2368) omar 2019-02-19 23:39:44 +0100
  • 91cc32379d Updated binaries (now auto-generated by a script! next step would be to slowly transition all this stuff into a public repo) omar 2019-02-19 20:27:47 +0100
  • d0c98bf880 Examples: VS: Made project paths independant of SolutionDir so they can be built aside from the solution. omar 2019-02-19 20:13:06 +0100
  • 77833003ff Fixed unused argument warning when compiling with IM_ASERT() evaluating to an empty macro. omar 2019-02-19 17:32:14 +0100
  • ff0f9aa856 Comments for Linux/Mac (#2117) omar 2019-02-19 16:36:06 +0100
  • 9dc02464a4 Merge branch 'master' into docking omar 2019-02-19 13:04:35 +0100
  • 3c15dffc94 Version 1.68 v1.68 omar 2019-02-19 12:17:28 +0100
  • ae4f2eb58d Add examples/example_win32_opengl2 Konstantin Podsvirov 2019-02-18 23:32:56 +0300
  • 7573d10a4a Docking: Fixed bad ever-growing/ leak (accumulating text into TabsNames forever, fix d38f4dc14 from February 5th, affected docking branch only). (#2109) omar 2019-02-18 16:50:39 +0100
  • 5412cdf2c8 Docking: Made DockBuilderSplitNode/DockNodeTreeSplit work even if the node doesn't have a size yet. (#2357, #2109) Followup to fa0ce4b7d, at that time I came to the conclusion that programmatic split couldn't work without knowing the size ahead of it. I forgot the reason for that. May bite us back! omar 2019-02-18 16:23:54 +0100
  • 3de440fda2 Docking: Fixed assert in DockContextProcessDock() preventing some uses of DockNodeBuilder api. (#2357, #2109) omar 2019-02-18 16:13:17 +0100
  • 5bf9029bf9 Merge branch 'master' into docking omar 2019-02-18 12:16:13 +0100
  • f5bf6e38d2 Font: Fixed assert when specifying duplicate/overlapping ranges within a same font. (#2353, #2233) omar 2019-02-18 12:11:46 +0100
  • db40699990 imgui_freeetype: Updated suggested test code. omar 2019-02-18 12:08:19 +0100
  • 5e52ff0bfc Added new backend "imgui_impl_gl", supporting GL3, GL4, ES2, ES3 + new "example_sdl_gl" using it gab 2019-02-17 11:20:07 +0100
  • 94e479cd67 Make CMAKEFILE to work both on Emscripten and Linux gab 2019-02-16 12:35:56 +0100
  • d972533d09 Examples: Vulkan: Rewrote scissor processing to match other examples more closely. Removed extraneous +1 of scissor extent height. omar 2019-02-16 12:33:38 +0100
  • dd14adc731 Examples: Vulkan: Support draw_data->FramebufferScale correctly matching a79785c for on Metal/GL2/GL3. (#2306, #1676) omar 2019-02-16 12:27:46 +0100
  • 7f8008f6fe Added CMakeFile example (works with EMSCRIPTEN) gab 2019-02-16 12:12:16 +0100
  • 22c7ad4c11 Added example_sdl_gles2 gab 2019-02-16 12:11:53 +0100
  • 176bf71312 Added GLES2/WebGL render backend gab 2019-02-16 12:11:30 +0100
  • f977871854 ImFont: Minor adjustment to the structure. Examples: Removed unused variable. omar 2019-02-15 13:10:22 +0100
  • 09c9bf2edb Merge branch 'master' into docking omar 2019-02-14 20:35:11 +0100
  • 76dbff37cd Selectable: Tweaks for #2347 (demo, changelog, member position) omar 2019-02-14 20:29:50 +0100
  • 6896c0be0c add support for specifying text alignment on selectables haldean 2019-02-13 14:56:21 -0800
  • b277cfffc8 Selectable: add support for specifying text alignment on selectables (#2347) haldean 2019-02-13 14:56:21 -0800
  • 93d1179805 Examples: Extracted gamepad code into ImGui_ImplGlfw_UpdateGamepads(). Renamed matching Win32 function for consistency. Added more link to nothing's oversample document. Spacing bits. omar 2019-02-14 18:55:08 +0100
  • 3c07ec6a61 Made it illegal/assert when io.DisplayTime == 0.0f (with an exception for the first frame). Causing too many subtle side-effect, e.g. IsNavInputPressed() would return true multiple times in a row. omar 2019-02-14 17:14:29 +0100
  • 2206df9e7a Demo: Added Auto-Scroll option in Log/Console. Comments. Removed some ImColor() uses. omar 2019-02-14 14:00:30 +0100
  • 8522a4bbea Fixed Clang warning ("multi-line comment"). XCode also also "space between \ and carriage return". Perhaps it would work with 2 spaces? Adding a dot for now.. omar 2019-02-14 13:42:14 +0100