Commit Graph

8 Commits

Author SHA1 Message Date
Michael Tesch
8ed710c606 use more TBStr in place of (const char *) 2019-01-23 19:57:40 +01:00
Emil Segerås
2f51f25369 Refactorized demo platform integration to better suit game loops.
Makes it easier to reuse the demo platform glue for other projects.
Especially game loops or platforms where rendering is set up in a
different order.

TB API change: Removed language file path from tb_core_init.
g_tb_lng->Load should be called manually after tb_core_init instead.
2015-07-02 14:27:53 +02:00
Emil Segerås
bc3d360b03 Renamed project namespace. 2014-01-16 21:03:56 +01:00
Emil Segerås
9291b072fc Cleaned up & changed layout a bit on demo resources. 2013-09-14 20:07:26 +02:00
Emil Segerås
c8480297ac Moved event debugging to runtime debug window.
Listens to all events globally.
2013-09-04 07:42:26 +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
eef2d81a70 Added tests in demo for inflating widgets into non-layouting widgets. 2013-01-23 21:59:36 +01:00
Emil Segerås
9a7968cc07 Move demo & integration files to more suitable folders. 2012-11-13 18:25:41 +01:00