Commit Graph

187 Commits (fb7033a7a4a29c9a7daf7eb495f7bdd2b0b1f140)

Author SHA1 Message Date
Bruno Van de Velde 21e093e457 Added tests for moveToFront and moveToBack 2015-11-25 20:22:38 +01:00
Bruno Van de Velde ed00dfc166 Added test for calling uncheckRadioButtons function 2015-11-25 19:25:44 +01:00
Bruno Van de Velde 4dd36e44f3 Added tests for showWithEffect and hideWithEffect 2015-11-24 18:47:52 +01:00
Bruno Van de Velde d307f2f79d Added tests for copying widgets 2015-11-20 10:05:38 +01:00
Bruno Van de Velde 1eeafd46f5 Added 'Bug Fixes' section to tests 2015-11-13 23:01:25 +01:00
Bruno Van de Velde 430e43dc00 Test case depended on uninitialized variables 2015-11-10 17:36:49 +01:00
Bruno Van de Velde 4a44bbe538 Added test case for issue #43 2015-11-10 15:13:48 +01:00
Bruno Van de Velde 5fc5d995e3 Try to get rid of annoying XRandR warning on Travis CI 2015-11-08 00:15:38 +01:00
Bruno Van de Velde ffa1863812 Travis build should not fail when codecov script fails 2015-11-04 14:39:48 +01:00
Bruno Van de Velde 75f3480f27 Added tests for loading/saving widget with layouts from/to file 2015-10-24 13:21:02 +02:00
Bruno Van de Velde 696ef6f7fc Set parent to nullptr when widget is removed from parent 2015-10-18 15:26:09 +02:00
Bruno Van de Velde ad3f7adb76 Added test for setParent function 2015-10-18 15:20:55 +02:00
Bruno Van de Velde 1ca87f192a Fixed loading and saving containers from widget files 2015-10-05 14:08:39 +02:00
Bruno Van de Velde b481d3a3f3 Add Panel to theme files which can set its background color 2015-10-03 00:12:55 +02:00
Bruno Van de Velde e4f3abb560 Added HorizontalLayout and VerticalLayout tests 2015-09-19 13:58:48 +02: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
Bruno Van de Velde 81aadee17c Replace setTransparency with superior setOpacity function 2015-09-09 23:56:10 +02:00
Bruno Van de Velde ee6301cbed Fixed tests for ToolTip 2015-09-08 16:12:02 +02:00
Bruno Van de Velde ffe014140c Improved testing code coverage in loading part 2015-09-06 23:18:49 +02:00
Bruno Van de Velde 9f911666df Fixed issues with gcov in travis script 2015-09-06 16:31:19 +02:00
Bruno Van de Velde b19549ced3 Added codecov to testing 2015-09-06 13:27:17 +02:00
Bruno Van de Velde 1d52e92ae5 Make Travis CI build for both Linux and Mac OS X 2015-09-05 23:48:10 +02:00
Bruno Van de Velde 6034517c9b Comments starting with # did not work properly in theme files 2015-08-29 20:42:37 +02:00
Bruno Van de Velde 6596efb487 Solved problems with renaming of CheckBox and ToolTip 2015-08-19 19:40:19 +02:00
Bruno Van de Velde 39a615cd99 Fixed memory leak in tests due to circular smart pointers 2015-08-15 16:52:14 +02:00
Bruno Van de Velde 07fc50337e Comment test to examine strange behavior later 2015-08-15 03:00:58 +02:00
Bruno Van de Velde 558862fda5 Use TGUI_IMPORT_LAYOUT_BIND_FUNCTIONS again instead of TGUI_IMPORT_LAYOUTS 2015-08-15 01:48:26 +02:00
Bruno Van de Velde d751238ad0 Make callback system detect the underlying type of std::bind arguments 2015-08-14 18:35:35 +02:00
Bruno Van de Velde 07790c878d Fixed warnings when building tests with VS2015 (which can't compile the tests anyway due to lack of SFINAE support) 2015-08-13 00:16:20 +02:00
Bruno Van de Velde 8b9d663091 Fixed some issues discovered by testing on mac 2015-08-12 18:06:34 +02:00
Bruno Van de Velde 114106ea70 Adapted remaining widgets to new loading system 2015-08-12 13:45:37 +02:00
Bruno Van de Velde 3b86dad760 Added support for serialized class names in theme and widget files 2015-08-07 23:19:16 +02:00
Bruno Van de Velde 18d39be52c Added support for comments in theme and widget files 2015-08-07 22:42:59 +02:00
Bruno Van de Velde 445c805c09 Ported more widgets to new loading system 2015-08-07 14:03:22 +02:00
Bruno Van de Velde 79352118ef Finished new layout system 2015-07-27 16:14:28 +02:00
Bruno Van de Velde 807d3e28c3 More unit tests for new code 2015-07-27 16:11:33 +02:00
Bruno Van de Velde aa5d0f1745 Added tests for layout + let CI build examples and run tests 2015-07-19 18:20:11 +02:00