* remove TBSystem::GetRoot. fix glew header
* make runtime debug info an indepedent setting
* windows build on travis
* fix IOS and macos high-dpi
* fix win+sdl2 combo
* try to auto detect what can be make-all'd
* cleanup build system, modernize cmake
* build glfw and sdl2, w/ or w/o freetype
* fix android demo build
* win32 with CPack has PACKAGE target now
* added GLEW for windows
* bump to SDL2.0.10. fixes for building as subdir
* constexpr is always available these days.
* cleanup getwd() warning. add rpm to ubuntu packages
* dont use add_compile_definitions() for cmake, too new
* add rpm package to travis
* gh release packages
* build demo target on windows
* see if defines not working on winsodw
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.
Extend TBWidgetEvent by making it a TBTypedObject instead of adding even
more to it. Should perhaps refactorize it, but that will require lots of changes.
Implemented EVENT_TYPE_FILE_DROP for upcoming version of glfw (not used yet).
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.