* 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.
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.
-Moved config defines and debug defines to dedicated files.
-Made debug settings slightly more handy (change stuff runtime instead of toggling defines and recompile everything).
-Added test where TBSelectDropDown is using the custom item source.
-Fixed typo.
-Test custom filter.
-New layout & Inflate the item widget from resource.
-Sort list (shows a bug when deleting items)
Now the children gets positioned & resized correctly on inflate.
This also optimizes inflate into layouting widgets since they can skip doing resize twice.
- Moved the type code our from TBWidget to new TBTypedObject.
- Work with template generated unique class id, instead of using strcmp on class names.
- Use template functions similar to dynamic_cast.
- Added unit tests.