416 Commits (2c9f45bbe7260139b4fdb3c0285ecf170cdd4522)

Author SHA1 Message Date
omar 2c9f45bbe7 Renamed ImGuiNavFlags io.NavFlags to ImGuiConfigFlags io.ConfigFlags. (#787) ago%!(EXTRA string=7 years)
omar 4ec931853e Demo: Fonts; Added Font Offset. ago%!(EXTRA string=7 years)
omar 7c16d52f72 Updated version to 1.60 WIP to emphasis on the addition of required calls CreateContext/DestroyContext + merged the massive Navigation branch (#1565, #787) ago%!(EXTRA string=7 years)
omar 5c83b55d04 Nav: Added ImGuiWindowFlags_NoNav shortcut, comments. (#787) ago%!(EXTRA string=7 years)
omar 8ad88f725c Nav: Minor tidying up. (#787) ago%!(EXTRA string=7 years)
omar efbd8cebe7 Nav: Comments (#787) ago%!(EXTRA string=7 years)
omar dbdbf01b9f Demo: Tweaked the Child demos, added a menu bar to the second child to test some navigation functions. ago%!(EXTRA string=7 years)
omar 38d45ee73f Demo: Tweaked the Child demos, added a menu bar to the second child to test some navigation functions. ago%!(EXTRA string=7 years)
omar cd3dd886de Moved extra_fonts/ to misc/fonts/. Moved .natvis file to misc/natvis/ (#1569) ago%!(EXTRA string=7 years)
omar cca9c3e3da Examples: Using Dark theme by default. (#707). Tweaked demo code. ago%!(EXTRA string=7 years)
omar bebe03db05 Metrics: Minor formatting tweaks ago%!(EXTRA string=7 years)
omar bd579e5429 Nav: Removed io.NavUsable --> io.NavActive, io.NavActive --> io.NavVisible. (#787). NavActive takes account of NavFlags enable flags. ago%!(EXTRA string=7 years)
omar c851b33352 Nav: Added proper version of ImGuiWindowFlags_NavFlattened that handles scrolling nicely. Marked as private as I'm not happy with the name. (#787) ago%!(EXTRA string=7 years)
omar 6f366fff6b Demo: Tweaked example menu with colors + menu items, was currently particularly inconvenient for Nav. Will rework later. (#787) ago%!(EXTRA string=7 years)
omar 455989b8b1 Nav: Added io.NavFlags to hold various options. Added ImGuiNavFlags_EnableGamepad and ImGuiNavFlags_EnableKeyboard for bindings to use (#787) ago%!(EXTRA string=7 years)
omar 9a76fd30fd Added SetNextWindowBgAlpha() helper. (#1567) particularly helpul with the marking of the old 5-parameters version of Begin() as obsolete. ago%!(EXTRA string=7 years)
omar 1493de4f81 Internals: Merge of harmless stuff from Navigation stuff. Added GetHoveredID() internal helper. ago%!(EXTRA string=7 years)
omar c85d7d6e49 Nav: Remove GetItemID(), hide ActivateItem() before this feature is unfinished and has issue (full feature is on hold). Undo part of 59c6f35bf6 (#787) ago%!(EXTRA string=7 years)
omar a8bbb0b7dd Demo: Using IM_COL32() instead of ImColor() in ImDrawList centric contexts. ago%!(EXTRA string=7 years)
omar 12aa3cb09e Demo: Tweaks format. ago%!(EXTRA string=7 years)
omar a63fbbca8b Added ImGuiHoveredFlags_AnyWindow, ImGuiFocusedFlags_AnyWindow. Obsoleted IsAnyWindowHovered()/IsAnyWindowFocused() in favor of IsWindowHovered(ImGuiHoveredFlags_AnyWindow)/IsWindowFocused(ImGuiFocusedFlags_AnyWindow). Added to demo. (#1382) ago%!(EXTRA string=7 years)
omar a7deb3a394 Demo: Minor tweaks. ago%!(EXTRA string=7 years)
omar 9fbecac87e Demo: Improved Selectable() examples. (#1528) ago%!(EXTRA string=7 years)
omar 05ec0b0736 Casing tweaks + clarify license copyright (simpler/safer?) (#1346) ago%!(EXTRA string=7 years)
omar 3c6fbe0849 Renamed ImGuiSizeConstraintCallback to ImGuiSizeCallback, ImGuiSizeConstraintCallbackData to ImGuiSizeCallbackData. ago%!(EXTRA string=7 years)
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=7 years)
omar 08b72eb5c0 IsWindowFocused() refactor will flags. (#1382) ago%!(EXTRA string=7 years)
omar 8d8f4934fb Demo: mouse dragging demo tweaks ago%!(EXTRA string=7 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=7 years)
Branimir Karadžić e67f3809ed Replaced obsolete function with new one. ago%!(EXTRA string=7 years)
omar 71296910a0 Demo: Tweaks and spacing. Stopped using rand() function in demo code. ago%!(EXTRA string=7 years)
omar 4b8857d536 Demo: About box tweaks. ago%!(EXTRA string=7 years)
omar 20ba79aa56 Demo: Added "No close" option. ago%!(EXTRA string=7 years)
omar c9f0275e22 Combo: Removed ImGuiWindowFlags_ComboBox flag. Moved internal window flags. ago%!(EXTRA string=8 years)