Commit Graph

1163 Commits

Author SHA1 Message Date
Emil Segerås
43c93112a3 Renamed additional files & sublime projects. 2014-01-16 21:07:42 +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
36ae602ca9 Moved default_font, default_skin, icon and vera.ttf. 2014-01-16 21:04:52 +01:00
Emil Segerås
4e44d19115 Moved language files 2014-01-16 21:04:24 +01:00
Emil Segerås
bc3d360b03 Renamed project namespace. 2014-01-16 21:03:56 +01:00
Emil Segerås
c711425946 Renamed project in resources & documentation. 2014-01-16 21:03:10 +01:00
Emil Segerås
d17cf8e661 Renamed methods for core init/shutdown. 2014-01-16 21:03:07 +01:00
Emil Segerås
98d3dfbb7b Renamed project in copyright header. 2014-01-16 21:02:28 +01:00
Emil Segerås
2dcc17500a Make TBAnimationManager the entry point for animation methods. 2014-01-08 21:19:51 +01:00
Emil Segerås
42761d7028 Removed need to initialize animation core. 2014-01-08 21:03:03 +01:00
Emil Segerås
c3b3b3fe0c Moved animation files to tinkerbell core. 2014-01-07 21:26:01 +01:00
Emil Segerås
a7ee83a914 Renamed animation objects.
Should be preceeded with TB.
2014-01-07 21:14:24 +01:00
Emil Segerås
03c0680c1b Moved some unused utils out to tb_animation_utils.h
These objects might go away when the animation system is improved.
2014-01-07 21:07:02 +01:00
Emil Segerås
cb26d88c9f Renamed widget animation objects.
Should be preceeded with TB.
2014-01-07 21:00:16 +01:00
Emil Segerås
ada6843cfc Added version defines. 2014-01-07 20:50:06 +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
ef6153dcf6 Updated copyright header 2014-01-05 14:29:25 +01:00
Emil Segerås
484710cee0 Added bounding ancestor to GetNextDeep.
For faster and simpler recursive iteration.
2013-12-29 13:28:24 +01:00
Emil Segerås
d05b6b0499 Use template min/max instead of macro. 2013-12-29 13:28:23 +01:00
Emil Segerås
11540ffb4e Update readme.md 2013-12-29 12:55:12 +01:00
Emil Segerås
4f0020d79f Added some documentation and use constexpr in some places. 2013-12-28 11:29:50 +01:00
Emil Segerås
452ca9fc02 constified TBID parameter 2013-12-28 11:21:34 +01:00
Emil Segerås
d4458f3791 skin: Set text-color on button so it isn't inherited from parent widget. 2013-12-28 11:21:33 +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
524579e93b Exclude build files from sublime text project. 2013-12-18 20:35:40 +01:00
Emil Segerås
d4b570e89b Added custom skin property "multiline" and "readonly" to TBEditField. 2013-12-09 20:42:57 +01:00
Emil Segerås
5d713093ef Renamed skin property "edit_type" to "edit-type".
All resource properties should use - instead of underscore.
2013-12-09 20:42:22 +01:00
Emil Segerås
a95987be6f Moved hardcoded value (tab root spacing) to skin. 2013-12-09 20:40:47 +01:00
Emil Segerås
62c1265a89 Fixed some incorrect data type conversions. 2013-12-09 20:39:28 +01:00
Emil Segerås
82761e9628 Moved stb_image to thirdparty subfolder. 2013-12-08 13:49:24 +01:00
Emil Segerås
9828e8f37b Updated project files to new glfw path. 2013-12-08 13:24:02 +01:00
Emil Segerås
477472f607 Added glfw in Demo/thirdparty/glfw 2013-12-08 13:12:51 +01:00
Emil Segerås
2c63e8c502 Removed glfw 2013-12-08 12:52:07 +01:00
Emil Segerås
603851f6ca Constraints part from layout improvements branch.
This change optionally pass constraints down through hierarchy
when measuring. Axis specific dependency information is bubbled
back up (so future multi-pass layout may take further action).

This enables f.ex wrapping textfields to adapt to content a bit
better, but all layout is still done in a single pass (Still WIP
on the layout branch)
2013-11-16 20:31:32 +01:00
Emil Segerås
ed480ff253 Added alternative way to specify widget rect animations. 2013-11-16 13:51:59 +01:00
Emil Segerås
9dee4df8bb Added 288 & 384 dpi versions of the default skins.
Still missing some bitmaps i currently don't need though.
2013-11-14 20:38:32 +01:00
Emil Segerås
91523dbf1a Upgraded demo to GLFW 3.0.3 to fix osx compilation error. 2013-10-31 18:23:47 +01:00
Emil Segerås
b4ac32def5 Let safe iterators clear properly if the list is deleted.
This could possibly be needed f.ex by the widget specific widget-listeners, if the
side effects of the usercode in the callbacks ended up deleting the widget.
2013-10-28 21:43:18 +01:00
Emil Segerås
a16ebad68b Added listening to specific widgets with TBWidgetListener. 2013-10-27 16:12:21 +01:00
Emil Segerås
a24fba18ac Renamed TBGlobalWidgetListener -> TBWidgetListener. 2013-10-27 15:52:34 +01:00
Emil Segerås
066410108e Added support for starting with any link using the safe iterator. 2013-10-27 15:47:24 +01:00
Emil Segerås
1f08420aab Fixed bug in changing window settings.
Close button was removed/readded under the wrong parent.
2013-10-27 15:47:17 +01:00
Emil Segerås
36dcd2ac7d Don't copy TBLink object. 2013-10-27 15:47:03 +01:00
Emil Segerås
86fe8b93a3 Added method TBWidget::DeleteAllChildren. 2013-10-27 15:10:53 +01:00
Emil Segerås
24319ef23a Fix for jumpy start of panning.
Remove the extra distance caused by the start threshold.
2013-10-27 15:09:09 +01:00
Emil Segerås
01bc1175d4 Fixed some compilation warnings on os x. 2013-10-19 07:02:17 +02:00
Emil Segerås
1ef4cbddf0 Fixed typo in makefile. 2013-10-19 06:58:56 +02:00
Emil Segerås
51ec4c6dc5 Fixed bug in TBDebugPrint. 2013-10-09 07:14:59 +02: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