Commit Graph

1433 Commits (d5c2bc18ef178a89827829079c26a9868bb6140b)

Author SHA1 Message Date
Bruno Van de Velde aafe909eee Make use of ccache for the linux builds on Travis CI 2017-08-18 01:50:39 +02:00
Bruno Van de Velde c74a262629 Updated tests for new texture deserializer code 2017-08-18 00:32:21 +02:00
Bruno Van de Velde 553b538576 Relax texture deserialization requirements 2017-08-18 00:24:16 +02:00
Bruno Van de Velde 08b8ece4d4 Picture size should not be reset to (0,0) when changing the texture to an empty one 2017-08-18 00:15:51 +02:00
Bruno Van de Velde 7566ccc8bd Fixed incorrect picture position after changing the texture 2017-08-18 00:15:16 +02:00
Bruno Van de Velde 42516dba8a Added connect function to bind multiple signals at once 2017-08-18 00:12:27 +02:00
Bruno Van de Velde a5784fb254 Removed smooth and filename parameters from Picture and make them available through the Texture class 2017-08-17 16:18:02 +02:00
Bruno Van de Velde 6284edc7c8 Example was not updated in last commit 2017-08-17 15:25:29 +02:00
Bruno Van de Velde 5f62cae07c Got rid of SignalWrapper 2017-08-17 15:13:23 +02:00
Bruno Van de Velde d0b052bcdd Theme files can now specify 'smooth' option behind textures 2017-08-16 20:21:34 +02:00
Bruno Van de Velde b37ec528a8 Fixed case where Signal class did not accept valid signal handler 2017-08-16 20:18:47 +02:00
Bruno Van de Velde d7a0c1d7bc ListBox (and ComboBox) did not sent an ItemSelected signal when the selected value was changed programmatically 2017-08-16 15:18:35 +02:00
Bruno Van de Velde d0c66e9fb8 Added read-only property to EditBox 2017-08-15 22:40:15 +02:00
Bruno Van de Velde 7880b9e00f Don't set left padding in ListBox and ComboBox by default as it affects the background of the selected item 2017-08-14 19:50:13 +02:00
Bruno Van de Velde 4f17ea26d6 Fixed ComboBox::addItem incorrectly setting the ListBox size 2017-08-14 19:48:23 +02:00
Bruno Van de Velde 999fe00a63 Added warnings to Widget documentation where the function only has effect when the widget has already been added to the parent 2017-08-08 16:28:50 +02:00
Bruno Van de Velde 0cf09ff141 One more fix to the AppVeyor script 2017-08-06 00:28:32 +02:00
Bruno Van de Velde 17743569a3 ChildWindow::setSize called Widget::setSize instead of Container::setSize, causing child widgets that used a relative size to not be updated when the child window was given a size 2017-08-01 01:02:20 +02:00
Bruno Van de Velde 314503484e Make use of inheriting constructors in renderer classes 2017-07-31 11:18:53 +02:00
Bruno Van de Velde 402c99a131 SFML/Graphics.hpp was not being included inside TGUI.hpp 2017-07-31 00:49:28 +02:00
Bruno Van de Velde 41c39cf5a1 ChildWindow did not support a relative position 2017-07-30 20:09:15 +02:00
Bruno Van de Velde b05b9851cd Don't output 'font = null' in the renderer when saving widgets to a file 2017-07-30 15:20:14 +02:00
Bruno Van de Velde 4e1ff679ef Layouts can now be constructed from expressions containing plus/minus symbols and terms that can be both relative and absolute 2017-07-30 14:08:12 +02:00
Bruno Van de Velde 1b08dede74 Added parameters to ChildWindow constructor to immediately specify the title and title buttons 2017-07-30 13:57:32 +02:00
Bruno Van de Velde 32d302c77f No longer using valgrind on Travis CI 2017-07-29 14:23:35 +02:00
Bruno Van de Velde b35eb0ae92 Cache SFML again on AppVeyor. Build error was likely caused by fc command returning 1 2017-07-29 01:07:59 +02:00
Bruno Van de Velde 79fedb5ae3 Fixed uninitialized variable that was just introduced 2017-07-28 23:43:56 +02:00
Bruno Van de Velde d9e9e261c4 Always build SFML on AppVeyor as I can't figure out why it sometimes fails when using the cached version 2017-07-28 23:08: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 0a08bb6c3f Made space between widgets in BoxLayoutRenderer a float instead of a Layout since a relative ratio wasn't supported anyway 2017-07-28 23:01:39 +02:00
Bruno Van de Velde 704fcb2c80 Fixed position of checkbox texture when borders were set 2017-07-28 18:58:28 +02:00
Bruno Van de Velde 0c69ca9edd Fixed conversion warnings with visual studio 2017-07-26 01:31:53 +02:00
Bruno Van de Velde d89648d4c1 Grid, HorizontalLayout, HorizontalWrap and VerticalLayout can now be saved to and loaded from a file 2017-07-25 18:54:59 +02:00
Bruno Van de Velde 0742cd0231 Added method to Grid to figure out which cells contain widgets 2017-07-25 15:29:51 +02:00
Bruno Van de Velde 3448947c73 Copy function of layout widgets was not static 2017-07-25 15:28:26 +02:00
Bruno Van de Velde 23832f78e9 Changed auto-sizing in Grid 2017-07-24 20:03:53 +02:00
Bruno Van de Velde 099c972bf4 Added move constructors and move assignment operators where there were only copy functions 2017-07-24 19:57:26 +02:00
Bruno Van de Velde 19c11ce25d Initialized member of Clipping to prevent valgrind warnings 2017-07-24 19:53:08 +02:00
Bruno Van de Velde 9347d17232 Changed errorlevel check in AppVeyor script 2017-07-22 00:19:42 +02:00
Bruno Van de Velde 0a54bca136 Tabs can now have a minimum tab width when they are auto-sizing based on the text (closes #42) 2017-07-21 23:55:59 +02:00
Bruno Van de Velde 83e1869c3d Colors in Tab can now be different during hover state 2017-07-21 22:57:11 +02:00
Bruno Van de Velde 51e2826138 Implemented Tab::setSize to give the tabs an equal width and fill the provided size 2017-07-21 18:56:34 +02:00
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