Commit Graph

10 Commits

Author SHA1 Message Date
Michael Tesch
8ed710c606 use more TBStr in place of (const char *) 2019-01-23 19:57:40 +01:00
Emil Segerås
16e13dc622 Changed listener API for OnWidgetAdded/OnWidgetRemoved.
NOTE: Local listeners are now called on the parent widget instead of the child!
It makes more sense to use a listener to listen for additions/removes in a certain
widget, than listening to when a specific widget is added/removed anywhere.
2014-05-20 21:56:27 +02:00
Emil Segerås
fbc5a8139c ResourceEditWindow should open files on drop. 2014-05-20 21:56:26 +02:00
Emil Segerås
bc3d360b03 Renamed project namespace. 2014-01-16 21:03:56 +01:00
Emil Segerås
a24fba18ac Renamed TBGlobalWidgetListener -> TBWidgetListener. 2013-10-27 15:52:34 +01:00
Emil Segerås
897c61c723 Relayout TBScrollContainer if adapt properties change.
Also added adapt setting in ResourceEditWindow.
2013-09-21 20:12:05 +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
7acf95c912 Demo resource edit crash fix. 2013-01-17 20:59:27 +01:00
Emil Segerås
9a7968cc07 Move demo & integration files to more suitable folders. 2012-11-13 18:25:41 +01:00