448 Commits (cd51f37fc04eb3b260940f7900afb84860119fc5)

Author SHA1 Message Date
omar e3453d0dc4 Misc: Comments and shallow/small changes (merged from viewport branch to minimize branch drift). ago%!(EXTRA string=7 years)
omar dc03c93164 Internals: Removed misleading ImRect::FixInverted + fix minor formatting in Readme. ago%!(EXTRA string=7 years)
omar 456bbffcc4 Viewport: Switched to using unified platform-absolute mouse coordinates, which simplify lots of problems and simplify/reduce tricky conversions, makes ImVec2 less ambiguous. Fixed various viewport/windowing/popups/synchronization bugs. Settings on host-viewport are stored as relative (made settings decently compatible between viewport enable/disabled settings). Merged ImGuiViewport::Pos and ::PlatformPos. Tweaked thumbnails. Better, smaller code. (#1542) ago%!(EXTRA string=7 years)
omar 6a0b2627ad BeginMainMenuBar: Followup to 1e41bad9. Removed public window flag. DisplaySafeAreaPadding defaults to (3,3) instead of (4.4). Comments, tab to spaces, Changelog. (#1439) ago%!(EXTRA string=7 years)
omar 38e357ef10 Viewport: Virtual mouse position are patched immediately when viewports are moved in the virtual space, avoiding interaction glitchs on a resizing frame. (#1542) ago%!(EXTRA string=7 years)
omar 6f1f5cbc20 Version 1.61 WIP ago%!(EXTRA string=7 years)
omar 3a29ddbcfa Version 1.60 ago%!(EXTRA string=7 years)
omar 72b7f48870 Renamed ImGuiConfigFlags_NoSetMouseCursor to ImGuiConfigFlags_NoMouseCursorChange. Followup to 75c3793db5 two weeks ago. (#787, #1495, #1202) + comments ago%!(EXTRA string=7 years)
omar c19b27813d Added InputDouble() function. We use a format string instead of a decimal_precision parameter to also for "%e" and variants. (#1011) May transition the other InputXXX function to use format strings as well. ago%!(EXTRA string=7 years)
omar 75c3793db5 IO: Added ImGuiConfigFlags_NoSetMouseCursors. Added ImGuiBackendFlags_HasMouseCursors, ImGuiBackendFlags_HasSetMousePos. (#787, #1495, #1202) ago%!(EXTRA string=7 years)
omar 170f44e6f0 IO: Renamed io.WantMoveMouse to io.WantSetMousePos (was added in 1.52, _not_ used by core and only honored by some binding ahead of merging the Nav branch) + internal renaming (#787) ago%!(EXTRA string=7 years)
omar 166411287f Demo: Added more complete Combo demo. (#1658) ago%!(EXTRA string=7 years)
omar 33ad8b2f0c Nav: Track nav input source more generally (gamepad vs keyboard) (#787) + update todos and demo tweaks ago%!(EXTRA string=7 years)
omar c50198debe Viewport: Obsoleted io.DisplayPos (which was a Viewport branch thing), added ImDrawData::DisplayPos, DisplaySize (#1542) wip ago%!(EXTRA string=7 years)
omar 111ea7af77 Misc comments, todos + reintroduced removed ImGuiCol defines under !IMGUI_DISABLE_OBSOLETE_FUNCTIONS wrap. ago%!(EXTRA string=7 years)
omar 1f6ad7a894 ImFont: Added FindGlyphNoFallback. Fixed MergeMode broken by 1ef1acbd8d ago%!(EXTRA string=7 years)
omar 945f4d1ecd Removed redundant semi colons. (#1653) ago%!(EXTRA string=7 years)
omar 69e700f869 Renamed ImGuiStyleVar_Count_ to ImGuiStyleVar_COUNT for consistency with other enums. Added ago%!(EXTRA string=7 years)
omar 8a4093f38b Added ArrowButton(). Exposed ImGuiDir. ago%!(EXTRA string=7 years)
omar b3594a6407 Added ImGuiConfigFlags_IsSRGB, ImGuiConfigFlags_IsTouchScreen (strictly for user storage) ago%!(EXTRA string=7 years)
omar d98a5d54aa Renamed ImGuiNavFlags io.NavFlags to ImGuiConfigFlags io.ConfigFlags. (#787) ago%!(EXTRA string=7 years)
omar 8074d56bdd Renamed ImGuiNavFlags io.NavFlags to ImGuiConfigFlags io.ConfigFlags. (#787) ago%!(EXTRA string=7 years)
omar 2c9f45bbe7 Renamed ImGuiNavFlags io.NavFlags to ImGuiConfigFlags io.ConfigFlags. (#787) ago%!(EXTRA string=7 years)
omar 735267d27c Viewport: Initial viewport branch+ platform api commit (squashed from previous commits, still very WIP) (#1542) ago%!(EXTRA string=7 years)
omar 45cbebad64 Added dummy io.DisplayPos field. 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)