2016-07-23
@ocornut
Merge remote-tracking branch 'origin' into 2016-07-navigation
ocornut committed on 23 Jul 2016
@ocornut
Navigation: Allow to navigate out of text input with direction or NavCancel (#323)
ocornut committed on 23 Jul 2016
@ocornut
Navigation: Collapsed window uses ImGuiCol_TitleBgActive when navigation is active (#323)
ocornut committed on 23 Jul 2016
@ocornut
Navigation: Scoring: Improved directional navigation. Not totally cancelling out dx. Better support for zero-spaced items. (#323)
ocornut committed on 23 Jul 2016
@ocornut
Navigation: mouse/popup position gets clamped within visible display (#323)
ocornut committed on 23 Jul 2016
@ocornut
Navigation: Scoring uses rectangle as clipped by parent. Fix selectable extending past parent column among other things (#323)
ocornut committed on 23 Jul 2016
@ocornut
Navigation: Fixed automatic fallback scrolling from glitching near scroll limits because of miscalculation of SizeContents (#323)
ocornut committed on 23 Jul 2016
@ocornut
Navigation: Fixed using NavWindowed when a menu is open. (#323)
ocornut committed on 23 Jul 2016
@ocornut
Fixed tooltip positioning issues when using navigation (#323)
ocornut committed on 23 Jul 2016
2016-07-20
@ocornut
Merge branch 'nProtect-master'
ocornut committed on 20 Jul 2016
@ocornut
Tab->Spaces, missing spaces, typos
ocornut committed on 20 Jul 2016
@Adisorn Aeksatean
Added GetGlyphRangesThai()
Adisorn Aeksatean authored on 19 Jul 2016 ocornut committed on 20 Jul 2016
2016-07-19
@ocornut
Gamepad/Keyboard navigation support, initial commit, WIP (#323)
ocornut committed on 19 Jul 2016
@ocornut
Updated code for repeat delay / repeat handling. GetKeyPressedAmount() now returns a count to support fast repeat rate (where DeltaTime > RepeatRate). ...
ocornut committed on 19 Jul 2016
2016-07-18
@ocornut
Added IsAnyWindowFocused(). Renamed IsMouseHoveringAnyWindow() -> IsAnyWindowHovered(), IsPosHoveringAnyWindow() -> IsAnyWindowHoveredAtPos(), IsMouseHoveringWindow() -> IsWindowHoveredRect() for consistency. Kept inline rediection function.
ocornut committed on 18 Jul 2016
@ocornut
Comment on invalid comment regarding preserving keyboard focus of a closed window, due to commit 19d02be. This is probably still what we want. (followup #727)
ocornut committed on 18 Jul 2016
@ocornut
DragBehavior: Moving code around, in what should be a no-op, to simplify upcoming Nav diff (#323, #180)
ocornut committed on 18 Jul 2016
@ocornut
Fixed SetScrollX() handling of center ratio (which actually wasn't exposed publicly). (#323, #246)
ocornut committed on 18 Jul 2016
@ocornut
BeginChild(): tweak to make the code easier to understand
ocornut committed on 18 Jul 2016
@ocornut
Style: minor tweak to default color theme to make currently focused window more prominent (#323, #707)
ocornut committed on 18 Jul 2016
@ocornut
Demo: tweaks.
ocornut committed on 18 Jul 2016
@ocornut
Comments
ocornut committed on 18 Jul 2016
@ocornut
Fixed incorrect comment for ParentWindow (#615, #604)
ocornut committed on 18 Jul 2016
@ocornut
Tab-key focusing inhibited when CTRL is held (#323)
ocornut committed on 18 Jul 2016
@ocornut
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)
ocornut committed on 18 Jul 2016
@ocornut
ImGuiIO: initializing fields in the same order as the declaration.
ocornut committed on 18 Jul 2016
@ocornut
InputText: don't process keys during the activation frame (this is mostly a workaround to that activation with enter doesn't validate immediately, which is turns triggers an assert in InputScalarAsWidgetReplacement - can't see an issue with changing it this way so trying out) + using local flag clear_active_id to only clear the active id at the end of the frame, which is one of the step that my stash for #701 requires. (#323)
ocornut committed on 18 Jul 2016
@ocornut
SliderBehavior, RoundScalar: split into separate functions for usage in upcoming nav commits. Testing power==1.0f without fabsf(). Maybe just use == 1.0f as well? (#323)
ocornut committed on 18 Jul 2016
@ocornut
Popup: Fixed popup initial frame reading MousePos again instead of the value already stored within the CurrentPopupStack in the previous frame. Doesn't make a big difference here, but will do as gamepad/keyboard navigation will set its own popup position. (#323)
ocornut committed on 18 Jul 2016
@ocornut
Minor bits.
ocornut committed on 18 Jul 2016