Commit Graph

  • 5cb7040f66 Internals: Tracking dummy select scope id (currently always zero) to facilitate merging of the range_select branch. (#1861) omar 2019-02-01 12:14:12 +01:00
  • d5945aa25b Internals: Minor changes to TreeNodeBehavior() and Selectable() for the benefit of fhe range_select branch. (#1861) omar 2019-02-01 12:11:27 +01:00
  • 0d4a2a2cd0 Internals: Track ActiveIdHasBeenPressed (similar to ActiveIdHasBeenEdited). This is currently mostly for the benefit of the range_select branch. (#1861) omar 2019-02-01 12:04:42 +01:00
  • 52a9f8bd3e Merged from Docking branch: Various small changes, comments, typos fixes, moved blocks. To reduce overall drift. Should be no-op. omar 2019-02-01 10:26:08 +01:00
  • 699e945a82 Merged from Docking branch: non-const ImVec2[] operator. omar 2019-02-01 10:22:46 +01:00
  • 2d363fa315 Fixed doc typo (#2326) Michael Savageandomar 2019-01-31 15:19:15 +02:00
  • 16c0a0217c Updating supporter list. omar 2019-01-31 13:42:53 +01:00
  • 1fb57c97c6 Internals: InputScalarAsWidgetReplacement: Fixed seemingly unnecessary calling of SetActiveID/SetHoveredID every frame, which in turns allow us to remove the g.ActiveIdAllow/Block settings duplicated. omar 2019-01-30 15:41:20 +01:00
  • fb4f1ff7f6 InputText: Fixed a bug where ESCAPE would be first captured by the Keyboard Navigation code. (#2321, #787) omar 2019-01-30 15:16:09 +01:00
  • 158995f271 InputText: Fixed a bug where ESCAPE would not restore the initial value in all situations. (#2321) [@relick] omar 2019-01-30 13:15:14 +01:00
  • 0a233a505d imgui-test: Added extra item info callbacks. Using nav_bb for interactions when possible. Comments, Demo tweaks. omar 2019-01-30 10:52:13 +01:00
  • aacf993ee1 ImStrncpy: Fixed -Wstringop-truncation warning on GCC8 (#2323) Francisco Gallegoandomar 2019-01-30 10:19:40 +01:00
  • ed240c910b Demo: Fixed "Log" demo not initializing properly, leading to the first line not showing before a Clear. (#2318) [@bluescan] omar 2019-01-29 14:36:55 +01:00
  • 8a4422b2fa Fixed CloseCurrentPopup() on a child-menu of a modal incorrectly closing the modal. (#2308) omar 2019-01-27 23:54:17 +01:00
  • 13ca2fe845 Silence XCode static analysis false positive (#2309) omar 2019-01-27 23:30:44 +01:00
  • 8a605354ef Replacing one of the third-party Python bindings. (#2312) Marc-Alexandre Espiautandomar 2019-01-27 21:59:48 +01:00
  • b26ac92a12 Revert "Added PushID(size_t sz) helper (may not be useful/meaningful for non C/C++ languages)." omar 2019-01-27 16:43:56 +01:00
  • f56d9b74cc Nav: Removed unnecessary test (always failing). omar 2019-01-27 16:37:02 +01:00
  • 4e8e177cac Persistently fixing some PVS-Studio static analyzer false positive warnings. omar 2019-01-27 16:35:48 +01:00
  • ee3b4f2bf1 Using IM_UNUSED() macro. omar 2019-01-27 16:23:23 +01:00
  • c3c2cd1e82 Fix various XCode and PVS-Studio static analyzer warnings (#2309) omar 2019-01-27 15:27:49 +01:00
  • 20bc06af70 Added PushID(size_t sz) helper (may not be useful/meaningful for non C/C++ languages). omar 2019-01-27 15:44:57 +01:00
  • e55678adec Update README.md (changed e-mail address) omarandGitHub 2019-01-24 18:31:31 +01:00
  • a8277ca873 Reoder Python bindings omarandGitHub 2019-01-23 20:04:08 +01:00
  • c362a96a3f When resizing from an edge, the border is more visible and better follow the rounded corners. Border rendering moved to RenderOuterBorders so it can be called in a different order for docking. (#1495, #822) omar 2019-01-23 17:31:32 +01:00
  • ab9cd44c89 Examples: DirectX9: Fix Clang warning. omar 2019-01-22 13:47:15 +01:00
  • f14f93ef6e Fixed range-version of PushID() and GetID() not honoring the ### operator to restart from the seed value. omar 2019-01-21 16:05:41 +01:00
  • 28901dd104 Internals: Tweaks. Comments about PushID/GetID public function. omar 2019-01-21 15:39:43 +01:00
  • f994b8aab8 ImHash: Moved crc32 table out of the function so it can be shared, also avoid cases were compiler tries to makes its initialization thread-safe. omar 2019-01-21 15:13:54 +01:00
  • 1e4cf67a53 avoid floating point exception when _EM_OVERFLOW is enabled (#2303) Thomas Rufandomar 2019-01-21 16:43:07 +01:00
  • ea7206fd4f Fixed using imgui_freetype.cpp in unity builds. (#2302) omar 2019-01-21 13:58:29 +01:00
  • 54ba8a643e Removed trailing spaces from text files. (#2038, #2299) omar 2019-01-20 22:23:29 +01:00
  • 00ffdb9fa9 ImGuiTextBuffer: Added append() function (unformatted). omar 2019-01-20 22:21:26 +01:00
  • 259f3c78a2 Examples: OpenGL2: Added (yet another) comment/instruction against using opengl2 with modern OpenGL. (#2297) omar 2019-01-20 18:10:52 +01:00
  • 2c38b32db1 Removed trailing spaces (#2038, #2299) omar 2019-01-20 17:56:17 +01:00
  • e837099b67 Update for stb_ files. (#2038) omar 2019-01-20 17:51:30 +01:00
  • f94ba546ba Added checks for "zero-as-null-pointer-constant" warnings for older Clang (#2299, followup to #2277) omar 2019-01-20 17:45:36 +01:00
  • 8a63c72ac4 Fix the year for screenshot gallery part 7 and 8 links (#2298) Ryan Mastandomar 2019-01-19 11:45:17 -08:00
  • fcd61e0c59 Comments about DLL boundaries and using TLS variables for GImGui. (#2292) omar 2019-01-18 23:02:58 +01:00
  • 92d29531fa Qt links omarandGitHub 2019-01-18 11:34:25 +01:00
  • 295ada0364 Examples: Win32: Using wc.lpszClassName instead of duplicating the literal. + tweak README format. omar 2019-01-17 18:04:35 +01:00
  • b8020032f9 Examples: Win32: Added support for mouse buttons 4 and 5 via WM_XBUTTON* messages. (#2264) omar 2019-01-17 16:55:23 +01:00
  • bebb07f12d ImFontAtlas: Added 0x2000-0x206F general punctuation range to default ChineseFull/ChineseSimplifiedCommon ranges. (#2093) omar 2019-01-17 16:48:11 +01:00
  • 872477548b Examples: Win32: Using IsChild() to be compatible with windows created within a parent. (#1951, #2087, #2156, #2232) omar 2019-01-17 11:45:32 +01:00
  • 14c40242db Examples: DirectX9: Explicitly disable fog (D3DRS_FOGENABLE) before drawing in case user state has it set. (#2288, #2290) Gilad Reichandomar 2019-01-17 06:07:15 +01:00
  • f2c92808f8 EditorConfig: Further tweaks (#2038) omar 2019-01-16 22:02:42 +01:00
  • 83810039d1 Add editor config for 4 spaces instead of tab. Chris Savoieandomar 2018-08-22 22:19:55 -07:00
  • 8cbb91261e ImDrawList: Fixed AddCircle(), AddCircleFilled() angle step being off, which was visible when drawing a "circle" with a small number of segments (e.g. an hexagon). (#2287) [@baktery] + Demo tweaks omar 2019-01-16 17:47:49 +01:00
  • 06aaf23877 Various tweaks and fixes as suggested by PVS Studio (thanks PVS Studio!) omar 2019-01-16 16:10:51 +01:00
  • 882f1bc135 Examples: DirectX12: Targeting 10.0.14393.0 instead of 10.0.16299.0 (available on AppVeyor, and higher version doesn't seem necessary). omar 2019-01-16 15:10:31 +01:00
  • 09f1cb642b FreeType: Minor tweaks previous commit (#2285) omar 2019-01-15 21:50:43 +01:00
  • daac9c7559 By default ImGuiFreeType will use ImGui::MemAlloc()/MemFree(). ImGuiFreeType::SetAllocatorFunctions() can be used to specify custom allocator. alexey_skryabinandomar 2019-01-15 18:25:30 +05:00
  • f435aa193b Examples: Win32: Added support for XInput games (if ImGuiConfigFlags_NavEnableGamepad is enabled). omar 2019-01-15 21:17:48 +01:00
  • 133f112af0 Examples: Win32: Using GetForegroundWindow() instead of GetActiveWindow() to be compatible with windows created in a different thread. (#1951, #2087, #2156, #2232) [many people] omar 2019-01-15 20:26:33 +01:00
  • 95ee99e6aa Version 1.68 WIP omar 2019-01-15 20:19:05 +01:00
  • d38d7c6628 TODO update + internals: changed order or ImGuiLayoutType enums to allow using them for indexing. omar 2019-01-15 15:06:24 +01:00
  • b8c6e31c2d Fixed cursor issue caused by 6890e08b when calling BeginChild/EndChild multiple times to reappend into a same child window. (#2282) omar 2019-01-15 15:05:56 +01:00
  • 7a5058e3bf Version 1.67 omar 2019-01-14 17:41:44 +01:00
  • 1da40df279 DragFloat: Fixed broken mouse direction change with power!=1.0. (#2174, #2206) [@Joshhua5] omar 2019-01-14 17:37:48 +01:00
  • 6e41745f31 Added a bunch of diagnostic ignore to cope with Clang -Weverything being absurd. Also fixed two legit warnings. (#2277) omar 2019-01-13 18:57:46 +01:00
  • abdd39b700 Merge branch 'atlas_fixes' omar 2019-01-13 14:19:07 +01:00
  • 7e78865613 Demo: Fixed bounds of DragFloat in Clipping section to avoid passing zero-sized to InvisibleButton(). omar 2019-01-12 19:46:35 +01:00
  • 49994ceb6e FAQ entry, moved ImTextureId, Gallery links. omar 2019-01-11 17:38:14 +01:00
  • 8df8482ef4 imgui_freetype: Fixed redundant FT_Load_Glyph() calls, unused parameters, and compilation warning/error. (#2270) omar 2019-01-12 11:45:58 +01:00
  • 651130002f ImFontAtlas: Fixed allocating for last bit (would only affect is that last codepoint is a multiple of 32). (#2270) omar 2019-01-11 15:25:43 +01:00
  • 21828b08a0 ImFontAtlas: Rewrote FreeType based builder. - Fixed abnormally high atlas height. (#618) - Fixed support for any values of TexGlyphPadding (not just only 1). (#618) - Atlas width is now properly based on total surface rather than glyph count (unless overridden with TexDesiredWidth). (#618) - Fixed atlas builder so missing glyphs won't influence the atlas texture width. (#2233, #618) - Fixed atlas builder so duplicate glyphs (when merging fonts) won't be included in the rasterized atlas. (#618) omar 2019-01-10 22:11:27 +01:00
  • 9a9712807e ImFontAtlas: Rewrote stb_truetype based builder. - Atlas width is now properly based on total surface rather than glyph count (unless overridden with TexDesiredWidth). - Fixed atlas builder so missing glyphs won't influence the atlas texture width. (#2233) - Fixed atlas builder so duplicate glyphs (when merging fonts) won't be included in the rasterized atlas. omar 2019-01-10 13:38:51 +01:00
  • e3ccc96789 Internals: Added ImBoolVector helper. omar 2019-01-10 13:21:33 +01:00
  • 56caf7da29 imgui_freetype: Minor tweaks and comments. omar 2019-01-10 13:16:30 +01:00
  • 7ed8e55fc7 ImVector: Added size_in_bytes() helper. omar 2019-01-09 16:59:48 +01:00
  • e4c19f5af1 ImFontGlyphRangesBuilder: Using 32-bits fields for storage instead of 8-bit ones, comments, todo. omar 2019-01-10 13:15:29 +01:00
  • 7ffbcfe467 ImVector: Made reserve() another silly one-liner. It's not longer than other functions and our weird obsessions deserve to be carried with stringent consistence. + Comments omar 2019-01-09 15:56:37 +01:00
  • 1f6e0b2f98 ImVector: Made a struct. Using T/T* in the code instead of value_type/iterator. Renamed index_from_pointer() to index_from_ptr() (was not documented, added in 1.63, users not supposed to use ImVector, hopefully not a big deal). omar 2019-01-09 14:11:31 +01:00
  • 81eaa49773 Internals: Added comment index in imgui_internal.h omar 2019-01-10 13:14:51 +01:00
  • 289569ef27 Update link to Magnum bindings. (#2269) Vladimír Vondrušandomar 2019-01-10 14:58:59 +01:00
  • 61a99f994e Minot internal tweaks, comments omar 2019-01-08 18:23:28 +01:00
  • 9ad341902d ImDrawList: Optimized some of the functions for performance of debug builds where non-inline function call cost are non-negligible. omar 2019-01-08 17:37:22 +01:00
  • f53cd3ee0f Internals: LowerBound: Use raw pointer typedefs, we never use iterator anywhere else in the codebase. Demo: Typo. C98 fix. omar 2019-01-08 16:26:45 +01:00
  • 57b1622afc Added IMGUI_USE_STB_SPRINTF (undocumented) (#1038) omar 2019-01-08 15:28:33 +01:00
  • b33977bc15 Tests: Reworking hook prototypes for imgui-test to be faster and multi-context friendly. omar 2019-01-07 23:59:05 +01:00
  • c2db7f63bd Selectable() should have an ID even though they are disabled, to be consistent with other widgets. Not sure of the reasoning ~1.41 which made this turn to 0. omar 2019-01-07 23:45:07 +01:00
  • 3997e8b555 Fixed animated window titles from being updated when displayed in the CTRL+Tab list. + Adding overkill helpers for reusing buffers. (#787) omar 2019-01-07 22:46:42 +01:00
  • 1ae7f88495 Tabs: Added ImGuiTabBarFlags_NoTooltip flag. (#261, #351) + added helpful assert omar 2019-01-07 17:52:16 +01:00
  • 50faccf764 Demo: Log: Comments. Using clipper. Not linking with rand() anymore. omar 2019-01-07 17:33:02 +01:00
  • acfa4050ec Tweak changelog + tweak internal render helper functions. omar 2019-01-06 18:55:30 +01:00
  • 5cb7ce2085 Renamed ImFont::GlyphRangesBuilder to ImFontGlyphRangesBuilder. Keep redirection typedef (will obsolete). omar 2019-01-06 16:50:23 +01:00
  • 1353c74dcf Comments/formatting on obsolete stuff omar 2019-01-06 16:37:57 +01:00
  • c3af134cc8 IO: Renamed InputCharacters[], marked internal as was always intended. AddInputCharacter() goes into a queue which can receive as many characters as needed during the frame. This is useful for automation to not have an upper limit on typing speed. Will later transition key/mouse to use the event queue later. omar 2019-01-06 16:37:42 +01:00
  • 1705a81efb Moved ImVector higher up in imgui :( because we will need it in ImGuiIO. omar 2019-01-04 19:18:19 +01:00
  • 8b5f635624 Added alternative Rust bindings omarandGitHub 2019-01-06 14:43:43 +01:00
  • 9ba202821f Nav: Fixed an keyboard issue where holding Activate/Space for longer than two frames on a button would unnecessary keep the focus on the parent window, which could steal it from newly appearing windows. (#787) omar 2019-01-04 19:03:56 +01:00
  • d223d1e951 Added bindings in Readme. Added internal IMGUI_DEBUG_LOG() helper. Comments, missing breaking changes note relative to imgui_impl_xxxx changes, not really part of core but worth adding in the imgui.cpp breaking change section. omar 2019-01-04 15:27:52 +01:00
  • 4483320f0a Examples: Allegro 5: Properly destroy all globals on shutdown. (#2262) DomReandomar 2019-01-04 20:11:24 +08:00
  • 6777544855 Added sanity check to debug parent/child ordering issues (they would generally manifest with an assert/crash in EndFrame bu tthis assert will catch some earlier). omar 2019-01-03 21:42:36 +01:00
  • ca6ac34f9d Natvis: Added Hidden info about ImGuiWindow. omar 2019-01-03 18:38:20 +01:00
  • 25ac85f15d Examples: Downgrading projects to xcode 9.2 (maybe 8.0) (#2134) Alzatharandomar 2019-01-03 08:01:14 -05:00
  • 64c66529ae Moving issue/pr template to docs/. Added links in README. omar 2019-01-03 13:35:53 +01:00
  • 237109caa5 Internals: Extracted code out of EndFrame() into UpdateMouseMovingWindowEndFrame() omar 2019-01-02 23:05:59 +01:00
  • b3469fa94b Alternative fix for bug introduced in d845135 (#1651), fix CTRL+Tab and fallback tooltip. omar 2019-01-02 22:52:09 +01:00
  • 3e30bfd6c9 Revert "Fixes crash/assert bug introduced in d845135 (#1651): would assert when showing the CTRL+Tab list and or fallback "...." tooltip." omar 2019-01-02 22:56:17 +01:00