Commit Graph

  • 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
  • 0699ae161f DragInt, DragScalar: Actually made the fast-past handle the now-most-common case.. omar 2018-05-03 21:49:38 +0200
  • 7640439747 DragInt: Patch old format strings to replace %f by %d when using the DragInt() entry point. (#320, #643, #708, #1011) omar 2018-05-03 21:28:59 +0200
  • 17d3c6305e Ran a spell checker for sanity. omar 2018-05-03 21:11:53 +0200
  • 069b284f17 Internals: Tidying up internal helpers. Fixed a case ImParseFormatTrimDecorations() can return an off by one (out of bound) pointer if the format string is invalid. Extracted ImParseFormatFindEnd() out of TrimDecorations so we can use it to find the format type and replace the %f in old Int apis. omar 2018-05-03 20:22:29 +0200
  • 086c3925c4 Internals: Fixed DragInt* default format string. InputScalar(), InputScalarN(), removed InputFloatN(), InputInt(). Note that DragInt2/3/4 will %f format strings will currently be broken. (#320, #643, #708, #1011) omar 2018-05-03 19:36:47 +0200
  • 6c932479f2 Internal: DragScalar(), InputScalar() now support signed/unsigned, 32/64 bits, float/double data types. (#320, #643, #708, #1011) omar 2018-05-03 17:32:50 +0200
  • 93b8580a8d Internals: DragFloat: Fixed power handling. Use an temporary accumulator and no absolute values so we will be able to manipulate double as well as 64-bit integers. (#1011, #708, #320) omar 2018-05-03 14:05:17 +0200
  • 3f04fd0644 Internals: DragFloat: Removed DragSpeedScaleFast/DragSpeedScaleSlow since it's not yet usable and Nav version doesn't have an equivalent. omar 2018-05-03 14:04:25 +0200
  • 4780ac1ca4 Internals: Data types: Added s64, u64 data types. Added support in InputScalar(). Removed internal.h InputScalarEx() to InputScalar(). Removed cheap-relative-operators support in recently added U32 data path, since this is heading toward being legacy code. + Fixed InputDouble parsing code. (#1011, #320, #708) omar 2018-05-02 14:07:20 +0200
  • d9fa1f869e Comments about using "power curves". Demo tweaks. (#648) omar 2018-05-03 12:50:34 +0200
  • 8a370f6491 SliderFloat: Fixed grab size and steps with %g format. (#642, #1301) omar 2018-05-02 19:46:57 +0200
  • 10e3f17235 DragFloat/SliderFloat internal InputScalar trim leading/trailing spaces emitted from the format string when presenting an edit box to the user. (#648) Follow up to 6881d065b8 omar 2018-05-03 11:59:20 +0200
  • a62f195e83 Internals: Renamed IsCharIsSpace() to IsCharIsBlank*() to match standard terminlogy and added ascii/u16 variations. omar 2018-05-03 11:57:51 +0200
  • 1a23d548d9 Pack 4 commit to 1 commit SR_team 2018-05-03 12:40:01 +0300
  • be8de80514 add renderstate D3DRS_SHADEMODE for Dx9 impl SR_team 2018-05-03 12:01:41 +0300
  • 54dd9b6f38 refactor bak_ to last_ SR_team 2018-05-03 12:30:12 +0300
  • e0374d0dc2 fix spaces SR_team 2018-05-03 12:07:30 +0300
  • ef89fe864a add backuping transform for Dx9 impl SR_team 2018-05-03 12:05:06 +0300