Commit Graph

6170 Commits (3233d85d2f7565d5d5ae3edfc311597fe790256f)
 

Author SHA1 Message Date
ocornut 8d0186c82b Nav: programmatic call to SetKeyboardFocusHere() doesn't quality as a nav input (doesn't position mouse) ()
ocornut e2dd48ae65 Nav: Split _NoNav window flag into _NoNavInputs and _NoNavFocus ()
ocornut 4c4d750cae Nav: Fixed Collapse icon disappearing when Nav is disabled (since b2aaab873d) ()
ocornut 3672105b87 Tidying up
ocornut 04157da291 Nav: first committed pass for manual moving and manual scrolling (after a bunch of attempts) ()
ocornut 4309b8c1ed Clarifying that MovedWindow* apply to mouse moving only
ocornut f2d1472481 Nav: Fixed navigating outside of current scrolling bounds (bug from 0cc20fca83) ()
+ spaces
ocornut efc8858328 ImRect: fixed Clip() function being the other way around (INTERNAL API BREAKING CHANGE- wasn't exposed, hoping nobody uses that) + actually fixes the function behavior.
ocornut d6ce800a20 Nav: ActiveIdAllowNavMove -> ActiveIdAllowNavDirFlags for more flexibility (nav up/down typically allowed on a single-line text input) ()
ocornut d9d6b0e629 Nav: Renamed private ImGuiNavDir_ enum to use left/right/up/down to be consistent with key enums ()
ocornut cbe03e3108 Nav: CalcListClipping/ImGuiListClipper: fix to ensure we can navigate clipped lists ()
ocornut b3ddae07d1 Nav: not activating widgets with NavActivate when NavMenu is held ()
ocornut b2aaab873d Nav: collapse button is interactve, allow collapsing, tidying up, resize speed takes account of framebuffer scale ()
ocornut 4735802096 Shallow tidying up ctrl+wheel scaling code in NewFrame()
ocornut 20a0fde012 Tidying up default clipboard handler for non Windows-OS
omar cabba0f158 Update README.md
ocornut f34d7ea199 Fixed bad merge
ocornut 5f6f4d0ffc Merge remote-tracking branch 'origin' into 2016-07-navigation
ocornut 4a4d3eab70 Merge branch 'michaelbartnett-add-osx-homeend-keys'
ocornut 7086a17854 InputTextEx: got rid of unnecessary locals.
ocornut 776ea6b946 InputTextEx(): more shallow tidying up, still being cautious with this function
ocornut 666d83b5c7 InputText/IO: Got rid of individual OSX options in ImGuiIO, added io.OSXBehaviors (, )
ocornut 0ff22dbf0b InputTextEx(): minor tidying up
ocornut e5b6ddde26 InputText(): minor tidying up/simplification following changes for osx style improvements ()
ocornut 802e91f69e Merge branch 'add-osx-homeend-keys' of https://github.com/michaelbartnett/imgui into michaelbartnett-add-osx-homeend-keys
ocornut d8dacd729b Examples: SDL+OpenGL: explicitly setting GL_UNPACK_ROW_LENGTH to reduce issues because SDL changes it ()
ocornut aeabda5a5f Navigation: Tap NavMenu to access menu and close buttons, hold to focus/resize ()
Introducing a concept of NavLayer to filter navigable items
ocornut c3aa36d9ab Navigation: Renamed ImGuiKey_NavWindowing to ImGuiKey_NavMenu ()
ocornut 175f42420c Navigation: Can nav-out but not nav-in a window with ImGuiWindowFlags_NoNav flag ()
ocornut 67feb5ac6c Navigation: comments + moving init block of code above in NavUpdate(), should have no side-effect (committed to simplify next commit) ()
ocornut a424d6f805 Navigation: Fixed missing initialization (had no side-effect, would be set in Begin) ()
ocornut 49ec65b1b5 Navigation: can't manually focus out of a modal window with controller ()
ocornut 5cac4926c8 Fixed display of TitleBgActive color on window before a Modal window + modal window availability for navigation ()
ocornut ba43310df1 Navigation: Renaming, shortened some unnecessary long fields names ()
ocornut 4bbdaa4e3c Navigation: Moving NavInitWindow() around and making it static ()
ocornut b2ad33ce41 Merge remote-tracking branch 'origin' into 2016-07-navigation
ocornut e9d8b48a4c Navigation: Allow to navigate out of text input with direction or NavCancel ()
ocornut 2f94563564 Navigation: Collapsed window uses ImGuiCol_TitleBgActive when navigation is active ()
ocornut afadc7cf59 Navigation: Scoring: Improved directional navigation. Not totally cancelling out dx. Better support for zero-spaced items. ()
ocornut e74d96642f Navigation: mouse/popup position gets clamped within visible display ()
ocornut 0cc20fca83 Navigation: Scoring uses rectangle as clipped by parent. Fix selectable extending past parent column among other things ()
ocornut 2f1fb41579 Navigation: Fixed automatic fallback scrolling from glitching near scroll limits because of miscalculation of SizeContents ()
ocornut ad48309047 Navigation: Fixed using NavWindowed when a menu is open. ()
ocornut 2cab404a81 Fixed tooltip positioning issues when using navigation ()
ocornut bccd3d8a32 Merge branch 'nProtect-master'
ocornut 8efd05a148 Tab->Spaces, missing spaces, typos
Adisorn Aeksatean 4141144b21 Added GetGlyphRangesThai()
ocornut c2cb2a6928 Gamepad/Keyboard navigation support, initial commit, WIP ()
ocornut 4a11cc35b9 Updated code for repeat delay / repeat handling. GetKeyPressedAmount() now returns a count to support fast repeat rate (where DeltaTime > RepeatRate).
Renamed from recently added IsKeyPressed() variant to GetKeyPressedAmount(). (no API breakage, added in branch, bbd3b75609) ()
ocornut 88c1966629 Added IsAnyWindowFocused(). Renamed IsMouseHoveringAnyWindow() -> IsAnyWindowHovered(), IsPosHoveringAnyWindow() -> IsAnyWindowHoveredAtPos(), IsMouseHoveringWindow() -> IsWindowHoveredRect() for consistency. Kept inline rediection function.