Commit Graph

24 Commits (master)

Author SHA1 Message Date
Bruno Van de Velde bf87c0af10 Updated the copyright year to 2019 2019-01-21 19:31:21 +01:00
Bruno Van de Velde 65a773c665 Deprecate direct access to signals 2018-08-19 12:36:44 +02:00
Bruno Van de Velde a8b8c319f0 Added 'AnimationFinished' signal to Widget that will be called at end of showWithEffect or hideWithEffect animations
Usage:
  widget->connect("AnimationFinished", [](){});
  widget->connect("AnimationFinished", [](tgui::ShowAnimationType type){});
  widget->connect("AnimationFinished", [](bool visible){});
  widget->connect("AnimationFinished", [](tgui::ShowAnimationType type, bool visible){});

  The ShowAnimationType parameter is the same as passed to showWithEffect/hideWithEffect while the boolean will be true for showWithEffect and false for hideWithEffect
2018-07-24 20:24:12 +02:00
Bruno Van de Velde 11c5ee05ae Updated copyright to 2018 2018-03-22 19:57:45 +01:00
Bruno Van de Velde 9e2e1ed52d 🔨 Make more use of SFML encapsulating classes 2017-10-16 19:31:40 +02:00
Bruno Van de Velde 3911530e4e disconnect function no longer requires the signal name + disconnectAll function which works on all signals has been added 2017-08-30 19:35:24 +02:00
Bruno Van de Velde 54ecc78714 Use connect function instead of directly accessing the signal object which will be deprecated in the future 2017-08-30 18:51:21 +02:00
Bruno Van de Velde 5f62cae07c Got rid of SignalWrapper 2017-08-17 15:13:23 +02:00
Bruno Van de Velde 0f13ba5b1f Added draw tests for CheckBox and RadioButton + added some other tests 2017-07-28 23:03:58 +02:00
Bruno Van de Velde be0b4266e8 Added tests for recent changes to the callback system 2017-07-11 15:26:53 +02:00
Bruno Van de Velde 9cf0360776 Updated signal system to still allow custom arguments to be passed in 2017-07-10 22:56:27 +02:00
Bruno Van de Velde b337773de2 Rewrote callback system 2017-07-10 13:29:36 +02:00
Bruno Van de Velde 2e9eca5f6a Updated copyright header to 2017 2017-01-20 20:06:07 +01:00
Bruno Van de Velde b782f7fb3f Warnings in VS2015 still not fixed 2016-09-15 15:52:11 +02:00
Bruno Van de Velde 8e95f6eaeb Ignore some VS warnings coming from the tests
These warnings can't be fixed in the current signal system that
interntionally relies on casting
2016-09-15 15:12:05 +02:00
Bruno Van de Velde 06b8d3b919 Added a static 'create' function to all widgets which is now the intended way to construct a widget 2016-09-14 20:11:20 +02:00
Bruno Van de Velde c43cbc61eb Mostly stuff related to the renderers 2016-07-11 00:01:18 +02:00
Bruno Van de Velde b484d0a321 Added codecov configuration file 2016-06-30 18:38:41 +02:00
Bruno Van de Velde 238abc8e00 Ported EditBox to new rendering system + implemented changes that were made in 0.7 in the meantime 2016-06-30 16:12:43 +02:00
Bruno Van de Velde e1bfb672c8 Update copyright dates 2016-03-17 16:12:06 +01:00
Bruno Van de Velde d9c1cc3e3c Added Panel and activated most core tests (code is currently not working yet) 2016-03-02 19:52:40 +01:00
Bruno Van de Velde 52159eccdd Handle connect function being called with an empty string 2015-12-13 18:44:05 +01:00
Bruno Van de Velde e90575df81 Fixed return value of connect function (fixes #49) 2015-12-03 15:59:06 +01:00
Bruno Van de Velde b9d1590102 Improved internal text rendering and made some other changes
List of changes:
- Text auto sizing was improved
- Every widget now has a font and a setFont function. The setTextFont
and setGlobalFont functions were removed.
- You can now set a custom text size in ListBox
- ListBox now has an auto scroll option to move the scrollbar down when
a new item is added (enabled by default)
- setTexture functions were added to Picture to change the image after
it was loaded
- HorizontalLayout and VerticalLayout can now decently handle widgets
with borders
- All widgets with borders now correctly implement getFullSize
- Fixed loading MessageBox from a theme file
- Fixed positioning of LoadingBar front image from Black theme
- Added new tests
2015-09-19 13:18:07 +02:00