305 Commits (bfc9c5216a2e95c44c46991b64eca7127b701c53)

Author SHA1 Message Date
omar 2dd2ca0096 Removed CalcItemRectClosestPoint() which was weird and not really used by anyone except demo code. If you need it it's easy to replicate on your side. ago%!(EXTRA string=7 years)
omar 4ba2e85744 Demo: Tweak. Comments. Metrics: Added some Drag and Drop info. ago%!(EXTRA string=7 years)
omar 49eed6e2d1 Version 1.54 WIP ago%!(EXTRA string=7 years)
omar 9511f22e8b Demo: Console: More friendly to text color changes. ago%!(EXTRA string=7 years)
omar e916310b2e Version 1.53 ago%!(EXTRA string=7 years)
omar 3d48f5b8c2 Demo: BeginCombo() demo code ago%!(EXTRA string=7 years)
omar 8d54b1b7af Misc comments, removed duplicated IM_ARRAYSIZE macro in imgui_demo.cpp (it is now declared in imgui.h) ago%!(EXTRA string=7 years)
omar 1b86e7343f Renamed the emblematic ShowTestWindow() function to ShowDemoWindow(). Kept redirection function (will obsolete). ago%!(EXTRA string=7 years)
omar cead207535 Comments ago%!(EXTRA string=7 years)
omar 983d8f5f8e Various zealous warning fixes (Clang). ago%!(EXTRA string=7 years)
omar e1a103b251 Drag and Drop: Disable tracking mouse button ownership when an external drag source is active, to make it easier to achieve drag and drop over multiple OS windows. (#143) ago%!(EXTRA string=7 years)
omar 996dfb21cf ImDrawList: Added ImDrawListFlags for AA settings. ImDrawList doesn't directly depends on GImGui anymore. ago%!(EXTRA string=7 years)
omar eefea0588a Using the ImGuiWindowFlags_NoScrollWithMouse flag on a child window forwards the mouse wheel event to the parent window, unless either ImGuiWindowFlags_NoInputs or ImGuiWindowFlags_NoScrollbar are also set. (#1380, #1502) ago%!(EXTRA string=7 years)
omar fa68cb5364 Demo: Console: Tweak. ago%!(EXTRA string=7 years)
omar 3905816082 Added ShowFontSelector(), ShowStyleSelector(). (#707) ago%!(EXTRA string=7 years)
Branimir Karadžić ef1a683ebe Removed use of obsolete ImGui API. ago%!(EXTRA string=7 years)
omar 6190ab0084 Renamed GetItemsLineHeightWithSpacing() to GetFrameHeightWithSpacing() ago%!(EXTRA string=8 years)
omar 08b72eb5c0 IsWindowFocused() refactor will flags. (#1382) ago%!(EXTRA string=8 years)
omar 8d8f4934fb Demo: mouse dragging demo tweaks ago%!(EXTRA string=8 years)
omar 4a555d35f0 IsWindowHovered(): split ImGuiHoveredFlags_FlattenChild into separate ChildWindows and RootWindow flags. Allowing more combination and a better symetry with IsWindowFocused() flags. (#1382) ago%!(EXTRA string=8 years)
Branimir Karadžić e67f3809ed Replaced obsolete function with new one. ago%!(EXTRA string=8 years)
omar 71296910a0 Demo: Tweaks and spacing. Stopped using rand() function in demo code. ago%!(EXTRA string=8 years)
omar 4b8857d536 Demo: About box tweaks. ago%!(EXTRA string=8 years)
omar 20ba79aa56 Demo: Added "No close" option. ago%!(EXTRA string=8 years)
omar c9f0275e22 Combo: Removed ImGuiWindowFlags_ComboBox flag. Moved internal window flags. ago%!(EXTRA string=8 years)
omar a4863e8084 Demo: Picker with palette demo supports drag and drop. (#143, #346) ago%!(EXTRA string=8 years)
omar abe5ad3c7a Demo: Added display for IsMouseDragging() function. ago%!(EXTRA string=8 years)
omar 94bf12f14b Demo: Display better mouse cursor info for debugging backends. ago%!(EXTRA string=8 years)
omar 0d53c8d480 Demo: Console: Fixed incorrect positioning which was hidden by a minor scroll issue (this would affect people who copied the console code as is) ago%!(EXTRA string=8 years)
omar a20fe279c5 Demo: Layout: Removed unnecessary BeginChild/EndChild calls ago%!(EXTRA string=8 years)
omar 532f564fd3 ImGuiTextBuffer: Renamed append() helper to appendf(), appendv() to appendfv(). Added reserve(). ago%!(EXTRA string=8 years)
omar 3f5b2a3fe3 Exposed ImDrawCornerFlags, replaced occurences of ~0 with an explicit ImDrawCornerFlags_All. Inversed BotLeft (prev 1<<3, now 1<<2) and BotRight (prev 1<<2, now 1<<3). ago%!(EXTRA string=8 years)
omar 3c5e64db78 Demo: Tweaked Image() code. ago%!(EXTRA string=8 years)
omar 28a31997b7 Style Editor: Simplified settings also show PopupBorderSize as a checkbox. (#707, #1019) ago%!(EXTRA string=8 years)
omar abbf836fd0 Style, Begin: removed ImGuiWindowFlags_ShowBorders window flag. Borders are now fully set up in the ImGuiStyle structure (see e.g. style.FrameBorderSize, style.WindowBorderSize). Use ImGui::ShowStyleEditor() to look them up. (#707, fix #819, #1031, ref #1019, ref #447) ago%!(EXTRA string=8 years)
omar 4cdd998be8 Demo: Fix warning "format not a string literal and no format arguments" for over-zealous compilers settings. (#1450, #1451) ago%!(EXTRA string=8 years)
omar d7af1a218e Style: Added PopupRounding setting. (#1112) ago%!(EXTRA string=8 years)
omar 0a61b7195c Style: Added a default StyleColorsLight(). (#707) ago%!(EXTRA string=8 years)
omar e7e81b265d Demo: Tweaks. ago%!(EXTRA string=8 years)
omar 1c41603b31 Style Editor: Using local storage so Save/Revert button made some more sense without code passing its storage. Tweaked layout, added horizontal scroll bar, Fixed Save/Revert button to be always accessible. (fix #1211) ago%!(EXTRA string=8 years)
omar c1b5eab868 Style Editor: Sneakily adding a combo box to change colors (#707) ago%!(EXTRA string=8 years)
omar bd4bc929ce Style: renamed style.ChildWindowRounding to style.ChildRounding, ImGuiStyleVar_ChildWindowRounding to ImGuiStyleVar_ChildRounding. ago%!(EXTRA string=8 years)
omar 27fd1b913b Made it guaranteed by API that after calling Begin() the last Item represent the title bar. (#823) ago%!(EXTRA string=8 years)
omar 6001d9c7a4 Columns: Clipping columns borders on Y axis on CPU because some GPU drivers appears to be unhappy with triangle spanning large regions (not sure why tbh). (#125) ago%!(EXTRA string=8 years)
omar 0858c3d7cb Demo: Custom Rendering: Fixed clipping rectangle extruding out of parent window. ago%!(EXTRA string=8 years)
omar 8e6adc78af Examples: Constrained Resize: Added more test cases (for #1417) ago%!(EXTRA string=8 years)
omar ff4d4ca651 IsWindowHovered(): Added ImGuiHoveredFlags_FlattenChilds flag. Made IsRootWindowOrAnyChildHovered() obsolete in favor of IsWindowHovered( ImGuiHoveredFlags_FlattenChilds) (#1382, #1404) ago%!(EXTRA string=8 years)
omar 59323b54da Demo: Comments (#1408) ago%!(EXTRA string=8 years)
omar 6ab20ff9bf Minor tweaks to the user guide. ago%!(EXTRA string=8 years)
omar 77df1ba9e0 Version 1.53 WIP ago%!(EXTRA string=8 years)