Commit Graph

8 Commits

Author SHA1 Message Date
Emil Segerås
603851f6ca Constraints part from layout improvements branch.
This change optionally pass constraints down through hierarchy
when measuring. Axis specific dependency information is bubbled
back up (so future multi-pass layout may take further action).

This enables f.ex wrapping textfields to adapt to content a bit
better, but all layout is still done in a single pass (Still WIP
on the layout branch)
2013-11-16 20:31:32 +01:00
Emil Segerås
fd4429df5b Added screen info dialog to the Android test app. 2013-07-30 15:20:40 +02:00
Emil Segerås
8c25e04e39 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 #2).
 --Pan TBEditField on touch pointer events instead of doing selection scroll.
 --Touch events should not result in setting the hover state automatically.
2013-07-10 21:03:44 +02:00
Emil Segerås
9c8d7ba100 Added inflate & layout speed tests to Android demo. 2013-04-09 22:32:24 +02:00
Emil Segerås
a0903b12d1 Updated some demo layouts a bit. 2013-03-29 14:30:59 +01:00
Emil Segerås
eef2d81a70 Added tests in demo for inflating widgets into non-layouting widgets. 2013-01-23 21:59:36 +01:00
Emil Segerås
bb6f7654cd High DPI arrow skins. 2013-01-11 18:09:48 +01:00
Emil Segerås
ead45b9137 Added android test code. 2012-12-31 15:09:43 +01:00