Commit Graph

1441 Commits (c101b49cd5d8fad98e69f9155339a44d05cbe0c6)

Author SHA1 Message Date
Bruno Van de Velde d0e64fdfb9 Changed the default codecov branch 2017-07-14 10:47:45 +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 f289457420 Added a disconnectAll function 2017-07-11 14:33:40 +02:00
Bruno Van de Velde 1be14aef69 Fixed issue with new callback system when connecting member function 2017-07-11 14:32:17 +02:00
Bruno Van de Velde 8d9e05cef5 Test with SFML 2.3 on macOS to make certain the version remains supported 2017-07-10 23:51:10 +02:00
Bruno Van de Velde 7f715e9173 Use SFML 2.4 on AppVeyor since 2.3 did not support VS2015 yet 2017-07-10 23:50:25 +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 bc63b03acd Dropped VS2013 support 2017-07-10 16:25:13 +02:00
Bruno Van de Velde b9a52c79f9 Keep VS2013 supported in new callback system 2017-07-10 13:53:59 +02:00
Bruno Van de Velde b101814673 Example code no longer worked with new callback system 2017-07-10 13:53:50 +02:00
Bruno Van de Velde a038cfddbd The fonts folder can't be installed as it no longer exists 2017-07-10 13:52:25 +02:00
Bruno Van de Velde b337773de2 Rewrote callback system 2017-07-10 13:29:36 +02:00
Bruno Van de Velde 1b351279f8 HorizontalLayout and VerticalLayout did not set m_type 2017-07-05 16:39:28 +02:00
Bruno Van de Velde c19a8145f7 Moved iostream includes 2017-07-05 16:38:39 +02:00
Bruno Van de Velde 0723d3fc82 Added tests for HorizontalWrap 2017-07-05 16:37:57 +02:00
Bruno Van de Velde c3a07f92be Rewrote HorizontalWrap class to work in tgui 0.8 2017-07-05 16:37:09 +02:00
Steven Pilkington 4cc813c5ef Added HorizontalWrap, a new widget container that lets widgets flow onto additional lines 2017-07-05 15:17:00 +02:00
Bruno Van de Velde c5bf34bf9b Updated tests for different behavior of mouse events 2017-07-05 15:12:24 +02:00
Bruno Van de Velde 85e5d99267 Fixed menu bar bug introduced by last commit 2017-07-05 15:12:04 +02:00
Bruno Van de Velde 55b2688531 Mouse events now have the position of the widget subtracted inside the event handler again instead of requiring the caller to do this 2017-07-05 14:17:43 +02:00
Bruno Van de Velde fe51f08091 Added documentation for mouseOnWidget which was previously marked as internal 2017-07-05 00:52:31 +02:00
Bruno Van de Velde 158018e703 Renamed setWindow to setTarget in Gui 2017-07-05 00:43:32 +02:00
Bruno Van de Velde 623a680ae2 Don't create render texture in Canvas when size is (0,0) 2017-07-05 00:21:08 +02:00
Bruno Van de Velde da9de955bf More 'const' 2017-07-05 00:20:43 +02:00
Bruno Van de Velde 2a1c473982 BoxLayout now uses new layouts 2017-07-05 00:20:04 +02:00
Bruno Van de Velde ec1591c29c Outline can now be relative to the widget size 2017-07-02 17:29:44 +02:00
Bruno Van de Velde d04407b8b8 Use const for variables that are only assigned once 2017-06-30 01:46:43 +02:00
Bruno Van de Velde 3ded1ceca2 Removed the line that was hanging the build 2017-06-29 22:32:39 +02:00
Bruno Van de Velde 29f6df6bbd Make use of the system clipboard on all OSes when using SFML >= 2.5
With older SFML versions, the system clipboard will only be accessed on Windows
2017-06-29 18:40:43 +02:00
Bruno Van de Velde c9f2e74f08 Make DejaVuSans the built-in font, to support many special characters without needing an external font 2017-06-29 18:35:54 +02:00
Bruno Van de Velde a7c3bcf0ae Added a few minor tests 2017-06-29 18:05:02 +02:00
Bruno Van de Velde f68dd6af12 Turned all IO-related shared pointers to unique pointers 2017-06-29 16:54:11 +02:00
Bruno Van de Velde d30dbac677 Fixed incorrectly cached border color in ChildWindow 2017-06-29 14:32:00 +02:00
Bruno Van de Velde c6db649c67 Update the example code to use the new layout system 2017-06-29 14:31:29 +02:00
Bruno Van de Velde 3525aa941d When parent size changed, widgets only updated their internal position and size and still looked unchanged with the new layout system 2017-06-29 14:16:44 +02:00
Bruno Van de Velde 5439c588a9 Changing the view of the Gui did not update the size of the widgets with the new layout system 2017-06-29 14:14:50 +02:00
Bruno Van de Velde a26da177ae VS2013 does not support 'constexpr' yet, nor did the code work with GCC 4.9 2017-06-29 13:44:37 +02:00
Bruno Van de Velde 3fae08dc5f Rewrite the core of the layout system 2017-06-29 13:29:05 +02:00
Bruno Van de Velde 7c8044dfb7 ChildWindow::destroy should check if m_parent is a nullptr before accessing it 2017-06-29 13:28:36 +02:00
Bruno Van de Velde 7efa7da900 Label did not send SizeChanged event when the size changed due to a different text being set 2017-06-29 13:27:48 +02:00
Bruno Van de Velde 4b3ba9dfb3 Use unique_ptr instead of shared_ptr to store the sf::Image used by textures 2017-06-29 11:38:44 +02:00
Bruno Van de Velde 54770d4971 FindTGUI.cmake rejected 0.7.x when 0.7 was requested 2017-06-07 12:38:39 +02:00
Bruno Van de Velde 38e86e2f01 Made MenuBar::closeMenu public 2017-05-02 14:13:26 +02:00
Bruno Van de Velde 262ca80ba6 Use SFML 2.4.0 again for the linux tests 2017-03-29 22:31:45 +02:00
Bruno Van de Velde 2c4daaf19d Example code did not compile with SFML 2.3 2017-03-29 19:07:04 +02:00
Bruno Van de Velde e058a1c6fc Reduced minimum SFML version from 2.4.0 to 2.3.0 2017-03-29 18:25:32 +02:00
Bruno Van de Velde faf04e0d97 Simplify get function by always performing a recursive search when none of the direct child widgets matches the name 2017-03-25 01:15:25 +01:00
Bruno Van de Velde 1155b04f63 Set AppVeyor working image for each build 2017-03-22 19:26:07 +01:00
Bruno Van de Velde 462590111d Updated AppVeyor script to test with VS2017 2017-03-22 18:39:47 +01:00
Bruno Van de Velde 09c7a79446 Fixed warning on 32-bit Visual Studio 2017-03-22 18:39:31 +01:00