Commit Graph

30 Commits

Author SHA1 Message Date
Crypto City
65ad6ede62 Add simple support for separate mouse buttons 2020-02-09 04:04:05 +00:00
Emil Segerås
2fc00fed40 Compilefix for android demo. 2016-07-05 21:07:54 +02:00
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
bc3d360b03 Renamed project namespace. 2014-01-16 21:03:56 +01:00
Emil Segerås
d17cf8e661 Renamed methods for core init/shutdown. 2014-01-16 21:03:07 +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
a24fba18ac Renamed TBGlobalWidgetListener -> TBWidgetListener. 2013-10-27 15:52:34 +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
fd4429df5b Added screen info dialog to the Android test app. 2013-07-30 15:20:40 +02:00
Emil Segerås
0f255ebea9 Moved demo fonts to demo folder. 2013-07-13 16:49:46 +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
7d726ead12 Some initial work on keyboard handling on Android. 2013-06-02 19:44:37 +02:00
Emil Segerås
9c8d7ba100 Added inflate & layout speed tests to Android demo. 2013-04-09 22:32:24 +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