Commit Graph

  • 000c1fc221 Demo: Added comments / tweaks related to the popups. omar 2018-10-16 10:25:32 +02:00
  • 5be915d6ab Added ImGuiWindowFlags_NoMouseInputs which is basically the old ImGuiWindowFlags_NoInputs (essentially we have renamed ImGuiWindowFlags_NoInputs to ImGuiWindowFlags_NoMouseInputs). Made the new ImGuiWindowFlags_NoInputs encompass both NoMouseInputs+NoNav, which is consistent with its description. (#1660, #787) omar 2018-10-15 18:23:18 +02:00
  • 90b50bd4c3 Window: Added ImGuiWindowFlags_NoBackground flag for consistency and to ease creating new flag combinations. Added ImGuiWindowFlags_NoDecoration helper flag which is essentially NoTitleBar+NoResize+NoScrollbar+NoCollapse. (#1660) omar 2018-10-15 18:00:04 +02:00
  • 8606d9fa11 Fix Clang/GCC's null-conversion warning: (#2081) Elias Dalerandomar 2018-10-15 18:07:06 +03:00
  • b039dbc62e Update README.md omarandGitHub 2018-10-15 08:34:42 +02:00
  • edb06a6c4d Fixed typo in misc/README.txt (#2131) Konstantin Podsvirovandomar 2018-10-14 09:43:06 +03:00
  • ca753829cb Revert using wchar_t functions (9cf94d5 + 2eaf5b0). Big mistake, wchar_t is not guaranteed to be 16-bits. omar 2018-10-12 15:48:38 +02:00
  • 28953208d4 Tests: Added imgui-test engine hooks (experimental). omar 2018-10-12 13:38:52 +02:00
  • ede3a3b92d Fixes crash introduced in previous commit 9cf94d5. omar 2018-10-12 13:29:13 +02:00
  • 9cf94d5dd6 RenderText(), InputTextMultiline(): Optimization for large text by using memchr, wmemchr, wcschr when appropriate. omar 2018-10-12 12:34:47 +02:00
  • 0fe48cbb61 Renamed misc/stl/imgui_stl.h,.cpp to misc/cpp/imgui_stdlib.h in prevision for other files.(#2035, #2096) Added misc/README file. omar 2018-10-12 11:14:21 +02:00
  • 74c0309126 InputText: Clarified comments around ImGuiInputTextFlags_CallbackResize and other callbacks. (#2006, #1443, #1008) omar 2018-10-12 10:14:03 +02:00
  • ed4dcd9072 Shutdown: Unlock font atlas before destroying context, so we can destroy a context between NewFrame and EndFrame if we wait (facilitate main loop structures). Internals: GetWindowScrollMaxX(), GetWindowScrollMaxY() omar 2018-10-11 17:11:27 +02:00
  • cf0afb48ac TextUnformatted: Using memchr(), fixed not properly testing for text_end bound + comments. Internals: Added ImStreolRange() + used in LogRenderedText() + comments. omar 2018-10-11 11:48:40 +02:00
  • d02b11dfbd ImGuiTextBuffer: Avoid heap allocation when empty. omar 2018-10-10 17:02:14 +02:00
  • 1efafa1d29 Comments + internal using Tab Stop terminology (ImGuiItemFlags_NoTabStop instead of !ImGuiItemFlags_AllowKeyboardFocus) omar 2018-10-10 12:01:40 +02:00
  • 3fcc178c23 Update README.md omarandGitHub 2018-10-08 11:37:13 +02:00
  • dd748f0e39 Update README.md omarandomar 2018-10-08 11:19:50 +02:00
  • 500a60debc Examples: OpenGL3: Cast compile/link status to GLboolean (#2112, #2125) hesiodandomar 2018-10-07 16:14:24 +00:00
  • 02afbaeef0 Examples: imgui_imp_opengl3.cpp explicit casting for overly aggressive glbinding compatibility. (#2112) [@hesiod] omar 2018-10-06 11:35:05 +02:00
  • a3b0e0acfa Examples: DirectX10, DirectX11: Removed seemingly unnecessary calls to invalidate and recreate device objects in the WM_SIZE handler. (#2088) omar 2018-10-05 11:36:27 +02:00
  • 084c26aa41 Fix spacing in imgui_imp_sdl example (#2111) Michael Vetterandomar 2018-10-05 10:04:10 +02:00
  • 3c427e284f Update pull_request_template.md omarandGitHub 2018-10-04 12:49:48 +02:00
  • fbfe193fcd Window, Inputs: Fixed resizing from edges when io.MousePos is not pixel-rounded by rounding mouse position input. (#2110) omar 2018-10-02 18:49:55 +02:00
  • ae7f833c69 Window: Resizing from edges (with io.ConfigResizeWindowsFromEdges Beta flag) extends the hit region of root floating windows outside the window, making it easier to resize windows. Resize grips are also extended accordingly so there are no discontinuity when hovering between borders and corners. (#1495, #822, #2110) omar 2018-10-02 18:43:10 +02:00
  • 76e31bd51a Fixed typo. (#2108, #2083) omar 2018-10-01 17:56:06 +02:00
  • e623be998d Drag and Drop: Added GetDragDropPayload() to peek directly into the payload (if any) from anywhere. (#143) omar 2018-10-01 15:53:18 +02:00
  • 3dcd552628 Fixed extraneous static attribute. (#2105) omar 2018-09-27 13:01:51 +02:00
  • 9aae21483a Fix missing IMGUI_API and mismatching namespace internal's CreateNewWindowSettings (#2105) Loïc HAMOTandomar 2018-09-27 12:59:22 +02:00
  • 61d94ff88e Renamed SetScrollHere() to SetScrollHereY(). Kept redirection function (will obsolete). omar 2018-09-26 21:30:37 +02:00
  • a7d3ae8937 BeginChild(): Fixed BeginChild(const char*, ...) variation erroneously not applying the ID stack to the provided string to uniquely identify the child window. This was undoing an intentional change introduced in 1.50 and broken in 1.60. (#1698, #894, #713) + reworked the Begin/BeginChild comments in imgui.h. omar 2018-09-26 21:23:42 +02:00
  • 781a7950d7 ImVector: Fixed a oddly unqualified return type in the assignment operator (I assume C++ handles it nicely as this never warned anywhere, but it is completely unintentional). omar 2018-09-24 11:33:26 +02:00
  • 788febf044 Examples: Vulkan: Fixed some minor discrepency in the SDL+Vulkan example to match the Glfw+Vulkan example. (cc #2097) omar 2018-09-24 10:13:01 +02:00
  • 5719b23e01 ImDrawList: Fixed AddConvexPolyFilled() undefined behavior when passing points_count smaller than 3, in particular, points_count==0 could lead to a memory stomp if the draw list was previously empty. omar 2018-09-21 10:00:26 +02:00
  • 7c3b9172ad Examples: Referring to missing gamepad support in back-end that are missing it. omar 2018-09-20 10:37:55 +02:00
  • 3d318a6577 ArrowButton(): Fixed arrow shape being horizontally misaligned by (FramePadding.y-FramePadding.x) if they are different. Demo: Added extra usage of AlignTextToFramePadding() in a more visible section. omar 2018-09-20 10:24:29 +02:00
  • 0b190f11b9 Contributing, Issue Template omar 2018-09-18 18:04:32 +02:00
  • 571676ebd2 Added Fonts readme details and links to Sweet16 font. (#2085) omar 2018-09-17 13:15:57 +02:00
  • 4b353ce482 Fix file names (#2083) Tesla Ice Zhangandomar 2018-09-15 15:41:07 -04:00
  • c12da2a607 BeginMenu(): Fixed menu popup horizontal offset being off the item in the menu bar when WindowPadding=0.0f. omar 2018-09-14 11:27:18 +02:00
  • ca5dc0c019 ColorPicker: Replaced the Separator with a Spacing call. (#2068) omar 2018-09-14 10:05:53 +02:00
  • 1afd29d382 Examples: Using "dear imgui" terminology in all examples headers/comments + fix minor typo. omar 2018-09-13 16:44:08 +02:00
  • ec04e8bb05 Fix MSVC's C4312 warning about casting user texture type to void* in ImageButton (#2080) Elias Dalerandomar 2018-09-12 23:58:45 +03:00
  • 9cc63ba279 Internals: Replace unsigned short with ImWchar when dealing with character storage (missing cases) + in imgui_impl_ file keep using neutral type everywhere, added missing explicit cast in three bindings. (#2078) omar 2018-09-11 22:00:39 +02:00
  • 201fcfd2e5 Internals: Replace unsigned short with ImWchar when dealing with character storage. (#2078) ice1000andomar 2018-09-11 12:04:45 -04:00
  • d014d0285a DragFloat: Disabled using power curve when one edge is FLT_MAX (broken in 1.61). Disabled setting a default drag speed when one edge is FLT_MAX. (#2024) omar 2018-09-11 11:15:06 +02:00
  • af6cf25255 DragFloat: Fixed a situation where dragging with value rounding enabled or with a power curve erroneously wrapped the value to one of the min/max edge. (#2024, #708, #320, #2075). omar 2018-09-11 10:55:52 +02:00
  • e2436ca625 Nav, Focus: Fixed ImGuiWindowFlags_NoBringToFrontOnFocus windows not being restoring focus properly after the main menu bar or last focused window is deactivated. omar 2018-09-10 20:30:14 +02:00
  • 7eadcf7d7d example_glfw_vulkan was missing a reference to imgui_widgets.cpp (#2071, #2036) MindSpunkandomar 2018-09-09 22:32:57 +10:00
  • 062b1f0463 Fixed calling SetNextWindowSize()/SetWindowSize() with non-integer values leading to accidental alteration of window position. We now round the provided size. (#2067) omar 2018-09-07 22:30:46 +02:00
  • 2eaf722fd7 Fixed calling DestroyContext() always saving .ini data with the current context instead of the supplied context pointer. (#2066) omar 2018-09-07 17:23:55 +02:00
  • eb7033e75b Version 1.66 WIP omar 2018-09-06 21:44:59 +02:00
  • e0cab5664a Version 1.65 omar 2018-09-06 15:58:58 +02:00
  • 5a679a45cc Renamed stb_truetype.h to imstb_truetype.h, stb_textedit.h to imstb_textedit.h, and stb_rect_pack.h to imstb_rectpack.h. (#1718, #2036) If you were conveniently using the imgui copy of those STB headers in your project, you will have to update your include paths. The reason for this change is to avoid conflicts for projects that may also be importing their own copy of the STB libraries. Note that imgui's copy of stb_textedit.h is modified. omar 2018-09-06 15:58:25 +02:00
  • e58bc3d5b7 Refactor: Tweaked and improved the sectioning to facilitate grepping/moving around and applied to all files. (#2036) omar 2018-09-06 11:35:13 +02:00
  • 0b18c11440 Refactor: Moved ImFile functions. (#2036) omar 2018-09-06 11:09:55 +02:00
  • ab64e8f993 Refactor: Moved one indentation level in the bulk of the ShowMetricsWindow() function. Should appear as a small diff if whitespaces changes are ignored. (#2036) omar 2018-09-06 11:05:23 +02:00
  • bb3184af74 Refactor: moved low-layout helpers to imgui_widgets.cpp (Spacing, Dummy, NewLine, Separator, etc.) (#2036) omar 2018-09-05 20:54:28 +02:00
  • cbdce80837 Internals: Refactor: Moved render functions to their own section. (#2036) omar 2018-09-05 20:36:36 +02:00
  • 65876f348a Nav: Removed the [Beta] tag from various descriptions of the gamepad/keyboard navigation system. Although it is not perfect and will keep being improved, it is fairly functional and used by many. (#787) omar 2018-09-05 17:33:00 +02:00
  • 77ba883f23 Renamed io.OptCursorBlink/io.ConfigCursorBlink to io.ConfigInputTextCursorBlink. (#1427) + changed ImGuiIO layout. omar 2018-09-05 17:20:27 +02:00
  • bbcc976739 Demo: Added a "Configuration" block to make io.ConfigFlags/io.BackendFlags more prominent. omar 2018-09-05 17:14:37 +02:00
  • b944aa623c Minor mostly inconsequential merges from Viewport + LoadIniSettingsFromMemory() entirely skip lines starting with ';' omar 2018-09-05 11:52:48 +02:00
  • 40db2ca098 Fixed a build issue with non-Cygwin GCC under Windows. omar 2018-09-04 18:58:20 +02:00
  • 5451cb7e1e Readme, Changelog (#2059) omar 2018-09-03 19:37:43 +02:00
  • f8b7e4d94f Examples: imgui_impl_opengl3 Fix GLAD error condition (#2059, #2002) Jiří Šebeleandomar 2018-09-03 19:36:02 +02:00
  • d07f494305 Internals: Exposed SliderBehaviorT, DragBehaviorT, RoundScalarWithFormatT, SliderCalcRatioFromValueT. (#2036) Renamed RoundScalarWithFormat -> RoundScalarWithFormatT. Renamed SliderBehaviorCalcRatioFromValue -> SliderCalcRatioFromValueT omar 2018-09-03 14:40:59 +02:00
  • bcb1441ce7 Version 1.65 WIP omar 2018-09-03 14:38:04 +02:00
  • 767649afb1 Fix missing include on some systems to use intptr_t. (#2036, #2054) omar 2018-08-31 18:07:47 +02:00
  • 5d40d295b3 Comments, readme updates omar 2018-08-31 11:33:12 +02:00
  • be6ea86f8d OSX: Added imgui_widgets.cpp to xcode project files. Omar Cornut 2018-08-31 11:29:25 +02:00
  • 9174958b43 imgui_stl: Comments (#2035) omar 2018-08-31 10:50:22 +02:00
  • 36435b43c7 Merge branch 'master_164' omar 2018-08-31 10:12:49 +02:00
  • 48db5713d6 Version 1.64 omar 2018-08-31 09:54:06 +02:00
  • 38cfcf9fbc Tweak comments and indexes omar 2018-08-31 09:50:14 +02:00
  • 8a216fe756 Refactor: Internals: Moved Tooltip functions in imgui.cpp in their own section + comments. (#2036) omar 2018-08-30 21:03:51 +02:00
  • fd2bfb7e07 Refactor: Internals: Moved Popup functions in imgui.cpp in their own section. (part 3) (#2036) omar 2018-08-30 21:00:51 +02:00
  • 064b949bc2 Refactor: Internals: Moved Popup functions in imgui.cpp in their own section. (part 2) (#2036) omar 2018-08-30 20:59:24 +02:00
  • 2a0d26e603 Refactor: Internals: Moved Popup functions in imgui.cpp in their own section. (part 1) (#2036) omar 2018-08-30 20:58:04 +02:00
  • df37a156e8 Refactor: Moved Scrollbar function from imgui.cpp to imgui_widgets.cpp, added file index (#2036) omar 2018-08-30 20:42:50 +02:00
  • 728b2ef026 Refactor: Internals: Moved Navigation functions in imgui.cpp in their own section. DONE! (part 9) (#2036, #787) omar 2018-08-30 18:24:33 +02:00
  • cda45737ab Refactor: Internals: Moved Navigation functions in imgui.cpp in their own section. (part 8) (#2036, #787) omar 2018-08-30 18:20:19 +02:00
  • acf3cc4c3f Refactor: Internals: Moved Navigation functions in imgui.cpp in their own section. (part 7) (#2036, #787) omar 2018-08-30 18:18:24 +02:00
  • 8a6fd237f6 Refactor: Internals: Restored new lines in NavUpdate() ... (part 6) (#2036, #787) omar 2018-08-30 18:13:34 +02:00
  • 84eb2682b7 Refactor: Internals: Moved Navigation functions in imgui.cpp in their own section (moved NavUpdate which would not diff properly unless empty lines were removed, hence the previous patch). (part 5) (#2036, #787) omar 2018-08-30 18:10:15 +02:00
  • 73052dc00c Refactor: Internals: Removing new lines from NavUpdate solely because I couldn't find another way to get a neat diff/patch when moving it. (part 4) (#2036, #787) omar 2018-08-30 18:04:36 +02:00
  • 6bda59e5b7 Refactor: Internals: Moved Navigation functions in imgui.cpp in their own section (extracted some code out of NavUpdate()). (part 3) (#2036, #787) omar 2018-08-30 18:01:19 +02:00
  • 60ee4de56d Refactor: Internals: Moved Navigation functions in imgui.cpp in their own section. (part 2) (#2036, #787) omar 2018-08-30 16:18:13 +02:00
  • ce58795bdf Refactor: Internals: Moved Navigation functions in imgui.cpp in their own section. (part 1) (#2036, #787) omar 2018-08-30 16:11:49 +02:00
  • f2926f910f Refactor: Internals: Moved Logging functions in imgui.cpp in their own section. (#2036) omar 2018-08-30 15:51:14 +02:00
  • 15172f0742 Refactor: Internals: Moved Settings functions in imgui.cpp in their own section. (#2036) omar 2018-08-30 15:48:57 +02:00
  • 98f618ed18 Refactor: Internals: Moved various functions in imgui.cpp (#2036) omar 2018-08-30 15:38:55 +02:00
  • 5afd4b61f2 Refactor: Moved README, ChangeLog, TODO files to docs/ folder + update Changelog. (#2036) omar 2018-08-30 15:19:24 +02:00
  • 2714f8fa23 Refactor: Moved Slider/Drag/Input functions + support DataType stuff from imgui.cpp to imgui_widgets.cpp (#2036) omar 2018-08-30 15:14:10 +02:00
  • c25f48b902 Refactor: Moved InputText functions from imgui.cpp to imgui_widgets.cpp (#2036) omar 2018-08-30 15:09:33 +02:00
  • ad0bfdcd95 Refactor: Moved ColorEdit/ColorPicker/ColorButton/etc. functions from imgui.cpp to imgui_widgets.cpp (#2036) omar 2018-08-30 15:06:05 +02:00
  • 5dc954f5d7 Refactor: Moved Tree/Selectable functions from imgui.cpp to imgui_widgets.cpp (#2036) omar 2018-08-30 15:03:21 +02:00
  • a265c62636 Refactor: Moved Plot/Value functions from imgui.cpp to imgui_widgets.cpp (#2036) omar 2018-08-30 15:00:24 +02:00
  • 0e9577d0da Refactor: Moved Menu functions from imgui.cpp to imgui_widgets.cpp (#2036) omar 2018-08-30 14:58:55 +02:00
  • f26b8c1e07 Refactor: Moved Combo/ListBox functions from imgui.cpp to imgui_widgets.cpp (#2036) omar 2018-08-30 14:49:28 +02:00