Commit Graph

71 Commits

Author SHA1 Message Date
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
93b5b89dc3 Added test of button with multiline text. 2013-04-16 22:05:25 +02:00
Emil Segerås
c8267eff72 Updated customized item source test:
-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)
2013-04-16 21:59:22 +02:00
Emil Segerås
e97a1109c5 Moved GetAlignedRect out to new class. Expand to target width by default for top/bottom alignment. 2013-04-04 19:01:11 +02:00
Emil Segerås
fc1e6b6fa0 Let click through in resource editor if alt is pressed. 2013-03-29 14:36:46 +01:00
Emil Segerås
a0903b12d1 Updated some demo layouts a bit. 2013-03-29 14:30:59 +01:00
Emil Segerås
b5a9d47227 Renamed some resource attributes to be more consistent. 2013-03-22 21:42:42 +01:00
Emil Segerås
9973b84b16 The generic widget data should be TBValue so it can hold anything. 2013-03-20 21:57:30 +01: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
eef2d81a70 Added tests in demo for inflating widgets into non-layouting widgets. 2013-01-23 21:59:36 +01:00
Emil Segerås
5608f2c699 Fix for inflating widgets into non-layouting widgets.
Now the children gets positioned & resized correctly on inflate.
This also optimizes inflate into layouting widgets since they can skip doing resize twice.
2013-01-23 21:45:53 +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
9e854aea21 Fixed gcc compile warning and issue reported by valgrind. 2013-01-19 10:59:38 +01:00
Emil Segerås
7acf95c912 Demo resource edit crash fix. 2013-01-17 20:59:27 +01:00
Emil Segerås
00760613be Changes to override skin and added element patching.
Override skin is now just adding and patching elements into the same
skin. Makes it both simpler, more powerful and faster.
2013-01-17 20:45:21 +01:00
Emil Segerås
18dd588552 Made it possible to set font from resource.
Also added unit tests for TBPx and TBColor.
2012-12-30 16:11:46 +01:00
Emil Segerås
8852933f0f Added multiple DPI support in skin. 2012-12-22 16:12:40 +01:00
Emil Segerås
9f2c1c3ce3 Repositioned demo windows a bit. 2012-11-14 22:40:51 +01:00
Emil Segerås
bd306a80a7 Init animation manager automatically from Application integration and added AnimationBlocker. 2012-11-13 22:04:32 +01:00
Emil Segerås
a958a811f5 Don't enforce "gravity: all" on TBTabContainer. 2012-11-13 18:48:16 +01:00
Emil Segerås
9a7968cc07 Move demo & integration files to more suitable folders. 2012-11-13 18:25:41 +01:00