forked from xenia-project/capstone
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Major improvements to pointer/touch input:
List of changes: -Refactorized virtual scroll methods and introduced virtual GetScrollInfo. -Added TBScroller to do slow down scroll after panning. -Added TBScrollerSnapListener for snapped smooth scrolling. -Added keyboard scroll support in TBScrollContainer and TBSelectList. -Added possibility to cancel EVENT_TYPE_CLICK for current touch (stopping scroll should not cause click) -Added flag to TBWidgetEvent to distinguish cursor base pointer events from touch events (Fixes issue capstone-engine#2). --Pan TBEditField on touch pointer events instead of doing selection scroll. --Touch events should not result in setting the hover state automatically.
- Loading branch information
Showing
26 changed files
with
988 additions
and
149 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
WindowInfo | ||
title TBScrollerSnapListener | ||
TBScrollContainer: id: "page-scroller" | ||
lp: width: 200, height: 300 | ||
scroll-mode off | ||
TBLayout | ||
spacing 0 | ||
TBContainer | ||
lp: width: 200, height: 300 | ||
TBTextField: text: "One - Swipe to next page" | ||
TBContainer | ||
lp: width: 200, height: 300 | ||
TBTextField: text: "Two" | ||
TBContainer | ||
lp: width: 200, height: 300 | ||
TBTextField: text: "Three" | ||
TBContainer | ||
lp: width: 200, height: 300 | ||
TBTextField: text: "Four" | ||
TBContainer | ||
lp: width: 200, height: 300 | ||
TBTextField: text: "Five - Last page" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.