Commit Graph

  • 9770c8b21d Examples: OpenGL3: Removed unnecessary backup/restore of GL_ELEMENT_ARRAY_BUFFER_BINDING since this is part of the VAO state. (#1836) omar 2018-05-25 12:08:08 +0200
  • 251f178a6f Drag and Drop: Source doesn't report as hovered (at a lower-level). Source disable AllowOverlap flag if any set. (#143) omar 2018-05-24 18:05:27 +0200
  • 5fd23eeb74 Examples: iOS: Fixed missing call to CreateContext() + various shallow coding style tweaks. (#1835) omar 2018-05-24 17:42:50 +0200
  • 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. (#1739) omar 2018-05-23 23:18:12 +0200
  • 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 2018-05-23 22:57:54 +0200
  • 002e513b82 Added float GetWindowDpiScale(). (#1542, #1676) omar 2018-05-23 18:23:58 +0200
  • ed84b2aaeb Viewport, Platform: Fixed a crash if the back-end set the PlatformRequestMove/PlatformRequestSize flags while viewports were disabled (it happened in the SDL back-end, and generally we want to tolerate it to make back-end implementation simpler). (#1542) omar 2018-05-23 18:01:50 +0200
  • 496bc4ed04 Add missing IMGUI_API macros to ImVec2/4 functions Bradley Smith 2018-05-21 23:04:22 +0100
  • bef0a13283 Examples: Comments about GLSL version not being the same as GL context version. (#1828) omar 2018-05-21 11:28:30 +0200
  • 663e2c9237 Examples: GLFW: Made it possible to Shutdown/Init the backend again (by reseting the time storage properly). Changelog. Added to Vulkan example. (#1827) omar 2018-05-21 10:36:50 +0200
  • e8a72d3e72 Examples: GLFW* Make subsequent window creation possible. ice1000 2018-05-21 07:35:09 +0800
  • 2cf50d70ab
    Merge 28361a375f into bf56b6b9a5 Tesla Ice Zhang 2018-05-21 08:31:31 +0000
  • bf56b6b9a5 ColorEdit3, ColorEdit4, ColorButton: Added ImGuiColorEditFlags_NoDragDrop flag to disable ColorEditX as drag target and ColorButton as drag source. (#1826) omar 2018-05-21 10:13:21 +0200
  • 28361a375f Make subsequent window creation possible for ogl2 ice1000 2018-05-21 07:36:31 +0800
  • 7197020697 Make subsequent window creation possible ice1000 2018-05-21 07:35:09 +0800
  • 1176460e44 Viewport: Fixed using ImGuiConfigFlags_ViewportsNoMerge always showing the Debug window by testing the Active flag as well. (#1542) omar 2018-05-19 20:45:49 +0200
  • 7c7e96e1aa ImVector: added erase(it first, it last) helper. Added erase_unsorted(it) helper. + todo fixes/additions omar 2018-05-18 20:33:00 +0200
  • 6c684ae39b Fixed GCC pre-8 build. (#1822) + added bonus the non-ASCII character pasted from GCC breaks my SourceTree/Git combo omar 2018-05-17 18:10:20 +0200
  • 01429e7d16 Merge branch 'master' into viewport omar 2018-05-17 15:03:56 +0200
  • 96547e6b18
    Merge 9238098ac1 into 64b1645deb Francisco Demartino 2018-05-17 12:19:43 +0000
  • 64b1645deb Disabled GCC 8.1.0 warnings -Wclass-memaccess (#1822) omar 2018-05-17 14:19:20 +0200
  • d5c8f404b2 Remove trailing white spaces. omar 2018-05-17 14:12:37 +0200
  • ede5059e69 Internals: Forward declaring and commenting internal structures. Renamed ImGuiDrawContext to ImGuiWindowTempData, but kept .DC member name for backward compatibility purpose omar 2018-05-16 18:34:12 +0200
  • 9238098ac1 fix -Wclass-memaccess warnings (gcc 8.1) Francisco Demartino 2018-05-16 17:50:48 -0300
  • 4c35e00f49 Viewport: Made GetWindowViewport() not flag the window as written to. omar 2018-05-16 22:48:54 +0200
  • 20d8be7dd1 whitespace Francisco Demartino 2018-05-16 17:44:30 -0300
  • 86f8cdbd98 Comments + Internals: Selectable: decoupled internal flags and removed their menu / menu-item semantic as upcoming changes are requiring more flexibility. omar 2018-05-16 14:08:06 +0200
  • 7f960616e0 Viewport: When resizing/moving a window using the host OS/WM we attempt to merge back into host viewport. (#1542) omar 2018-05-16 14:34:46 +0200
  • 1cafdb5b46 Viewport: Added GetWindowViewport() to query the current viewport for the current window. Comments. (#1542) omar 2018-05-15 11:04:07 +0200
  • 640c056602 TreeNode: Fixed nodes with ImGuiTreeNodeFlags_Leaf flag always returning true which was meaningless. Tweak demo. omar 2018-05-14 23:36:37 +0200
  • 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). (#787) omar 2018-05-14 20:06:41 +0200
  • e11610d6ff Nav: To keep the navigated item in view we also attempt to scroll the parent window as well as the current window. (#787) omar 2018-05-14 19:44:00 +0200
  • 036dce634e Version 1.62 WIP omar 2018-05-14 17:59:12 +0200
  • 721ca97d95 ImVector: Tweaked reserve() flow to avoid calling MemFree(NULL) which is unnecessary. (#1796) Kirill Artemov 2018-05-05 04:24:27 +0300
  • 8280842ee9
    Merge ab61c64341 into 19544629be Kirill Artemov 2018-05-14 15:48:20 +0000
  • 19544629be Examples: OpenGL3: Trying to make the call to glBindSampler optional to make the example code easier to use/share with different context version. (#1806) omar 2018-05-14 17:47:22 +0200
  • bacb9dba1b Merge branch 'master' into tabs omar 2018-05-14 16:04:33 +0200
  • b0fb340b57 Merge branch 'master' into viewport omar 2018-05-14 13:15:21 +0200
  • 78b28d545f Version 1.61 + todo additions v1.61 omar 2018-05-14 11:58:11 +0200
  • d7cc4bc317 Demo: Tweaked custom rendering custom, added a Thickness drag. Clarified use of vertical/horizontal line. Add a single pixel demo (wowow) omar 2018-05-13 23:42:19 +0200
  • 3f29ed6fd5 ColorEdit: Fixed not being able to pass the ImGuiColorEditFlags_NoAlpha or ImGuiColorEditFlags_HDR flags to SetColorEditOptions(). Demo tweak. omar 2018-05-13 23:41:43 +0200
  • 725c13ca68 Fix for atof with glibc. omar 2018-05-13 22:43:43 +0200
  • 2a2bb8970d Added ImAtof, ImCeil, ImFloorStd to IMGUI_DISABLE_MATH_FUNCTIONS for consistency. Configuration comments. omar 2018-05-13 21:30:10 +0200
  • 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 2018-05-13 20:02:47 +0200
  • f8ca7f45c4 Comments about AddConvexPolyFilled(), PathFillConvex() requiring a clockwise order path. (#1811) omar 2018-05-13 15:55:15 +0200
  • df67017daf
    Merge b8247a48dc into e61b224b24 Thomas Roughton 2018-05-13 03:45:01 +0000
  • e61b224b24
    Update README.md omar 2018-05-12 19:20:54 +0200
  • d53bae4c14 Demo: Fixing build due to using INT_MAX, UINT_MAX, LLONG_MAX, ULLONG_MAX. omar 2018-05-12 18:58:59 +0200
  • 8adbf081af Demo: Renamed "fixed overlay" to "simple overlay" because it's not fixed any more! omar 2018-05-12 18:07:22 +0200
  • a7a1b3b0a7 Demo: Added demo for DragScalar(), InputScalar(), SliderScalar(). (#643) omar 2018-05-12 17:53:34 +0200
  • 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. (#643) omar 2018-05-12 16:48:21 +0200
  • 85f3ba844c Merge branch 'master' into viewport omar 2018-05-11 22:22:41 +0200
  • fc7fc83f9e Data types: DragScalar, InputScalar: default parameters. Added IM_STATIC_ASSERT(). Comments. omar 2018-05-11 18:55:48 +0200
  • 0dc18a6ca6 Documentation tweaks, comments omar 2018-05-11 16:54:50 +0200
  • 8149408408 Merge branch 'data_types' omar 2018-05-11 16:48:50 +0200
  • 090eb437ed Viewport, Platform: Cleaned up xxx_UpdateMouseCursor() functions to make them more consistent. (#1542) omar 2018-05-11 16:41:32 +0200
  • d574604a5d Viewport, Platform: Win32: Fixed handling of io.WantSetMousePos + added a bunch of comments. GLFW, SDL2: Added handling of io.WantSetMousePos. (#1542) omar 2018-05-11 14:05:40 +0200
  • d59df1af3e
    Fix potential segmentation fault on `glBindSampler` Matrefeytontias 2018-05-10 17:32:48 +0200
  • 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. (#1804) omar 2018-05-10 14:02:28 +0200
  • 6eacddb50f Viewport: Changed Monitor field to use Pos+Size (more consistent), changed FullMin,FullMax to MainPos,MainSize. Made main viewport accessible in PlatformIO on first frame. Fixed casing of ImGuiViewportFlags_TopMost flag. (#1542) omar 2018-05-10 12:10:10 +0200
  • 91e39e72a3 Combo: Horizontally offset items using WindowPadding instead of Indent, for consistency. omar 2018-05-09 22:53:32 +0200
  • 773d484009 Internals: Made ContentsRegionRect absolute to reduce confusion. Renamed InnerRect to InnerMainRect, renamed WindowRectClipper to OuterRectClipped. omar 2018-05-09 22:02:59 +0200
  • f83f566530 Internals: Nav: Extracted code into a NavClampToVisibleAreaForMoveDir() + fix debug code + inline some functions, removed obsolete EndChild() comment. omar 2018-05-09 18:59:16 +0200
  • 39f4761ff7 TODO list update + Changelog and comments for #1803. omar 2018-05-09 15:47:41 +0200
  • 895647a240 Fixed clipboard paste memory leak in SDL examples. (#1803) Elias Daler 2018-05-09 15:06:53 +0300
  • 005eab649a
    Merge e315a28e20 into ad2927888b Elias Daler 2018-05-09 12:12:56 +0000
  • e315a28e20 Fixed clipboard paste memory leak in SDL examples Elias Daler 2018-05-09 15:06:53 +0300
  • 4cabf599c4 Data types: Fix format srtings with leading blanks. Fix ColorEdit4() to not use obsolete formats (when using IMGUI_DISABLE_OBSOLETE_FUNCTIONS) (#643) omar 2018-05-08 23:35:26 +0200
  • ad2927888b Apply fix from data_types branch, some widgets broken when format string doesn't contains a %. Broken by 92f0165f85. Data_types branch fix c5fb929555. omar 2018-05-08 20:07:25 +0200
  • 5f464877ed Internals: Declaring DragBehavior, SliderBehavior in there (no warantee given) as they may be useful to custom widgets. omar 2018-05-07 10:35:18 +0200
  • 8da0d42ef2 Moved DragScalar, InputScalar, SliderScalar to imgui.h as well as ImGuiDataType (#320, #643, #708, #1011) omar 2018-05-04 21:35:23 +0200
  • c5fb929555 Data types: Fixed empty format string (or no % specifier) breaking the parsing back of values. omar 2018-05-04 21:02:26 +0200
  • 280c05e4f8 Fix to allow compiling in unity builds where stb_rectpack/stb_truetype may be already included in the same compilation unit. omar 2018-05-08 11:02:38 +0200
  • f13f10e725 Settings: Comments (#923, #993) omar 2018-05-07 22:35:23 +0200
  • 4ff23d3306 Merge branch 'master' into viewport omar 2018-05-07 22:23:58 +0200
  • 0bf43b3a1b Settings: Added LoadIniSettingsFromDisk(), LoadIniSettingsFromMemory(), SaveIniSettingsToDisk(), SaveIniSettingsToMemory(), io.WantSaveIniSettings. (#923, #993) omar 2018-05-07 22:18:45 +0200
  • 023cc25c7c Internals: Removed unnecessary allocation indirection for g.LogClipboard (this only made sense when there was a global context instance) omar 2018-05-07 22:15:25 +0200
  • 35e74c72ab imgui_freetype: skip missing glyphs as well to match our stb loader (#1671, #1703) omar 2018-05-07 20:32:17 +0200
  • 6eda9ed3fb Skip missing font glyphs V2 revert changes to stb_truetype.h ( omar 2018-05-07 19:57:53 +0200
  • 787a475650 Skip missing font glyphs to 1) avoid using space for missing glyphs and 2) allow merging fonts with overlapping ranges. Demo: Fixed displaying ? instead of greyed out empty box. (#1671, #1703) omar 2018-05-07 17:59:23 +0200
  • 807c4f0ea4 Ran a spell checker for sanity. omar 2018-05-03 21:11:53 +0200
  • 4310bad32a Examples: DirectX9: Comments, updated changelog, notes about usage of imconfig.h (#1790, #1687) omar 2018-05-07 11:52:11 +0200
  • d0051ce5cb add renderstate D3DRS_SHADEMODE for Dx9 impl SR_team 2018-05-03 12:01:41 +0300
  • 3657ce19db
    Merge 3e801a58bf into dbe16b6a70 BlackKnigga 2018-05-07 09:43:54 +0000
  • c7687fc1d6 Viewports: Comments on ImGuiConfigFlags_DpiEnableScaleViewports and ImGuiConfigFlags_DpiEnableScaleFonts. (#1542) omar 2018-05-07 10:44:08 +0200
  • ab61c64341
    Fixed a possible free(NULL) in ImVector::reserve Kirill Artemov 2018-05-05 04:24:27 +0300
  • e2296d94fb
    Merge f3aa767d17 into dbe16b6a70 terryadavis 2018-05-04 19:29:58 +0000
  • f3aa767d17
    Update imconfig.h terryadavis 2018-05-04 12:29:55 -0700
  • 149060f03b
    Update imgui.h terryadavis 2018-05-04 12:17:25 -0700
  • 0267d092c2
    Update imgui.h terryadavis 2018-05-04 12:16:23 -0700
  • a61fe292d1
    Update imgui.h terryadavis 2018-05-04 12:15:39 -0700
  • be5d3871c0
    Update imconfig.h terryadavis 2018-05-04 12:11:48 -0700
  • 1ccc74187c
    Update imgui.h terryadavis 2018-05-04 12:11:07 -0700
  • 3e8087458d SliderScalar, VSliderScalar(): Support for any data types. Tested with various ranges/limits. Note that Drag/Slider/Input currently fail if the format string doesn't preview the actual value. Will fix next. (#320, #643, #708, #1011) omar 2018-05-04 20:41:21 +0200
  • 944f414cc6 Internals: A few selected math helpers are now using template to handle all supported types. Added ImPow() to wrap float/double in a standard manner without calling pow(double) when not needed in Drag code. omar 2018-05-04 18:13:27 +0200
  • f4c16fbb99 Internals: Data types: Made format string optional. DragBehavior: Moved a bit of code outside of the template. Slider tidying up. Removed unnecessary call to fabsf(). omar 2018-05-04 15:31:17 +0200
  • dcd26f1295 DragFloat, DragInt: Default format string is none is passed to the function. Fixed demo using old style %.0f. omar 2018-05-04 15:29:33 +0200
  • 57ad9549c7
    Merge 1a23d548d9 into dbe16b6a70 SR_team 2018-05-04 13:11:07 +0000
  • dbe16b6a70 Made IMGUI_DISABLE_OBSOLETE_FUNCTIONS exceptionally not affect the layout of ImGuiIO. (#1695) omar 2018-05-04 14:55:38 +0200
  • f47c756755 Internals: Missing const, some renaming. Tweak legacy fast path. omar 2018-05-03 21:53:26 +0200