1616 Commits (cc66731c39a9ba1c0fc22c298a88db86a84804a2)

Author SHA1 Message Date
ocornut cc66731c39 Nav: Calling SetItemDefaultFocus() doesn't make mouse cursor dirty if nav highlight is off (#323) 8 years ago
ocornut 8d0186c82b Nav: programmatic call to SetKeyboardFocusHere() doesn't quality as a nav input (doesn't position mouse) (#323) 8 years ago
ocornut e2dd48ae65 Nav: Split _NoNav window flag into _NoNavInputs and _NoNavFocus (#323) 8 years ago
ocornut 4c4d750cae Nav: Fixed Collapse icon disappearing when Nav is disabled (since b2aaab873d) (#323) 8 years ago
ocornut 3672105b87 Tidying up 8 years ago
ocornut 04157da291 Nav: first committed pass for manual moving and manual scrolling (after a bunch of attempts) (#323) 8 years ago
ocornut 4309b8c1ed Clarifying that MovedWindow* apply to mouse moving only 8 years ago
ocornut f2d1472481 Nav: Fixed navigating outside of current scrolling bounds (bug from 0cc20fca83) (#323)
+ spaces
8 years ago
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. 8 years ago
ocornut d6ce800a20 Nav: ActiveIdAllowNavMove -> ActiveIdAllowNavDirFlags for more flexibility (nav up/down typically allowed on a single-line text input) (#323) 8 years ago
ocornut d9d6b0e629 Nav: Renamed private ImGuiNavDir_ enum to use left/right/up/down to be consistent with key enums (#323) 8 years ago
ocornut cbe03e3108 Nav: CalcListClipping/ImGuiListClipper: fix to ensure we can navigate clipped lists (#323) 8 years ago
ocornut b3ddae07d1 Nav: not activating widgets with NavActivate when NavMenu is held (#323) 8 years ago
ocornut b2aaab873d Nav: collapse button is interactve, allow collapsing, tidying up, resize speed takes account of framebuffer scale (#323) 8 years ago
ocornut 4735802096 Shallow tidying up ctrl+wheel scaling code in NewFrame() 8 years ago
ocornut 20a0fde012 Tidying up default clipboard handler for non Windows-OS 8 years ago
ocornut f34d7ea199 Fixed bad merge 8 years ago
ocornut 5f6f4d0ffc Merge remote-tracking branch 'origin' into 2016-07-navigation 8 years ago
ocornut 7086a17854 InputTextEx: got rid of unnecessary locals. 8 years ago
ocornut 776ea6b946 InputTextEx(): more shallow tidying up, still being cautious with this function 8 years ago
ocornut 666d83b5c7 InputText/IO: Got rid of individual OSX options in ImGuiIO, added io.OSXBehaviors (#473, #650) 8 years ago
ocornut 0ff22dbf0b InputTextEx(): minor tidying up 8 years ago
ocornut e5b6ddde26 InputText(): minor tidying up/simplification following changes for osx style improvements (#650) 8 years ago
ocornut 802e91f69e Merge branch 'add-osx-homeend-keys' of https://github.com/michaelbartnett/imgui into michaelbartnett-add-osx-homeend-keys 8 years ago
ocornut aeabda5a5f Navigation: Tap NavMenu to access menu and close buttons, hold to focus/resize (#323)
Introducing a concept of NavLayer to filter navigable items
8 years ago
ocornut c3aa36d9ab Navigation: Renamed ImGuiKey_NavWindowing to ImGuiKey_NavMenu (#323) 8 years ago
ocornut 175f42420c Navigation: Can nav-out but not nav-in a window with ImGuiWindowFlags_NoNav flag (#323) 8 years ago
ocornut 67feb5ac6c Navigation: comments + moving init block of code above in NavUpdate(), should have no side-effect (committed to simplify next commit) (#323) 8 years ago
ocornut 49ec65b1b5 Navigation: can't manually focus out of a modal window with controller (#323) 8 years ago
ocornut 5cac4926c8 Fixed display of TitleBgActive color on window before a Modal window + modal window availability for navigation (#323) 8 years ago
ocornut ba43310df1 Navigation: Renaming, shortened some unnecessary long fields names (#323) 8 years ago
ocornut 4bbdaa4e3c Navigation: Moving NavInitWindow() around and making it static (#323) 8 years ago
ocornut e9d8b48a4c Navigation: Allow to navigate out of text input with direction or NavCancel (#323) 8 years ago
ocornut 2f94563564 Navigation: Collapsed window uses ImGuiCol_TitleBgActive when navigation is active (#323) 8 years ago
ocornut afadc7cf59 Navigation: Scoring: Improved directional navigation. Not totally cancelling out dx. Better support for zero-spaced items. (#323) 8 years ago
ocornut e74d96642f Navigation: mouse/popup position gets clamped within visible display (#323) 8 years ago
ocornut 0cc20fca83 Navigation: Scoring uses rectangle as clipped by parent. Fix selectable extending past parent column among other things (#323) 8 years ago
ocornut 2f1fb41579 Navigation: Fixed automatic fallback scrolling from glitching near scroll limits because of miscalculation of SizeContents (#323) 8 years ago
ocornut ad48309047 Navigation: Fixed using NavWindowed when a menu is open. (#323) 8 years ago
ocornut 2cab404a81 Fixed tooltip positioning issues when using navigation (#323) 8 years ago
ocornut c2cb2a6928 Gamepad/Keyboard navigation support, initial commit, WIP (#323) 8 years ago
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) (#323)
8 years ago
ocornut 88c1966629 Added IsAnyWindowFocused(). Renamed IsMouseHoveringAnyWindow() -> IsAnyWindowHovered(), IsPosHoveringAnyWindow() -> IsAnyWindowHoveredAtPos(), IsMouseHoveringWindow() -> IsWindowHoveredRect() for consistency. Kept inline rediection function. 8 years ago
ocornut 23a81027e8 Comment on invalid comment regarding preserving keyboard focus of a closed window, due to commit 19d02becef. This is probably still what we want. (followup #727) 8 years ago
ocornut eb405ab375 DragBehavior: Moving code around, in what should be a no-op, to simplify upcoming Nav diff (#323, #180) 8 years ago
ocornut c816e6c742 Fixed SetScrollX() handling of center ratio (which actually wasn't exposed publicly). (#323, #246) 8 years ago
ocornut e10ecfe28a BeginChild(): tweak to make the code easier to understand 8 years ago
ocornut 24f79b91bd Style: minor tweak to default color theme to make currently focused window more prominent (#323, #707) 8 years ago
ocornut 068984691e Tab-key focusing inhibited when CTRL is held (#323) 8 years ago
ocornut 267e54cf06 NewFrame(): update activeid data and keyboard before mouse. Should have no side-effects! (So that later we can update Nav between Keyboard and Mouse) (#323) 8 years ago