- added an option and some code for better libc++ interoperability,
mainly auto-conversion of TBStr <-> std::string.
- changed some function args from (const char *) to (const TBStr &)
- be clear about TBID vs CTBID
- fix some build stuff, working toward eliminating build.sh
* remove TBSystem::GetRoot. fix glew header
* make runtime debug info an indepedent setting
* fix IOS and macos high-dpi
* fix win+sdl2 combo
* try to auto detect what can be make-alld
* rework resource file functions for android
* fix android assets, actually runs now
* 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
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).
- Don't switch TBValue type when going from string to number (preserves numbers unit).
- Fixed so parser handles numbers with units correctly.
- Removed TBPx16. Everything is converted to pixels anyway and it was inconsistently used.
- 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.