Commit Graph

21 Commits

Author SHA1 Message Date
Emil Segerås
d8e49097e8 Removed deprecated TBAddon 2016-07-05 21:07:42 +02:00
Emil Segerås
3e6464d1db Compile fixes for new toolchains on Android 2015-07-02 14:12:00 +02:00
Emil Segerås
bf82fe994d Deprecate TBAddon and made TBImage optional by define.
Making features optional by linking is messier than using defines.
Use tb_config.h for all optional core stuff instead.
2014-08-04 15:00:30 +02:00
Emil Segerås
47916ba991 Added tb_config.h defines for default gl renderer. 2014-02-16 13:13:14 +01:00
Emil Segerås
92e1f0e59c Renamed android demo files & classes 2014-01-16 21:08:12 +01:00
Emil Segerås
87e6f55feb Moved all source files.
Perhaps all includes should also have path added, like "tb/tb_foo.h",
but i'll save this for later.
2014-01-16 21:05:29 +01:00
Emil Segerås
c3b3b3fe0c Moved animation files to tinkerbell core. 2014-01-07 21:26:01 +01:00
Emil Segerås
040ad1a34b Renamed tinkerbell.cpp/h to tb_core.cpp/h 2014-01-06 12:35:02 +01:00
Emil Segerås
7eb2e33bcd Moved misc classes to dedicated files. 2014-01-05 14:29:26 +01:00
Emil Segerås
b0e83a9673 Support for node references and conditions. Fixes #1.
Also fixed compact parsing of colors without quotes.
2013-12-27 13:27:33 +01:00
Emil Segerås
82761e9628 Moved stb_image to thirdparty subfolder. 2013-12-08 13:49:24 +01:00
Emil Segerås
dfb578e89a Refactorized batching into new TBRendererBatcher.
So it can serve many renderer backends.
2013-10-09 07:14:57 +02:00
Emil Segerås
b5d70cd4ea Renamed TBParser.h -> tb_parser.h.
Now all source file names are consistent!
2013-10-01 19:57:16 +02:00
Emil Segerås
b466b915ed Moved & renamed parser/TBNodeTree.h to tb_node_tree.h.
It's not part of the parser at all.
2013-10-01 08:10:12 +02:00
Emil Segerås
918c43bf57 Added TBRegion.
Should be useful for a lot of stuff.
2013-08-28 07:48:01 +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
aa3001cc9b Runtime debug settings:
-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).
2013-06-15 21:16:41 +02:00
Emil Segerås
155c2e1144 Enabled c++0x for Android so we get constexpr TBID.
Also added no-rtti and no-exceptions even though they are default.
2013-06-02 19:45:04 +02:00
Emil Segerås
b07606013f Moved TBMenuWindow to separate file, and split it up into TBMenuWindow and TBPopupWindow. 2013-03-04 18:14:37 +01:00
Emil Segerås
547d4594b9 Changed the type system implementation.
- 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.
2013-01-19 21:33:29 +01:00
Emil Segerås
ead45b9137 Added android test code. 2012-12-31 15:09:43 +01:00