Commit Graph

1441 Commits (c101b49cd5d8fad98e69f9155339a44d05cbe0c6)

Author SHA1 Message Date
Bruno Van de Velde 0e53b45bba The cmake version on Travis CI was too old to build SFML 2017-03-12 15:52:43 +01:00
Bruno Van de Velde 4e73f9ab99 Fixed double to float conversion warnings in tests 2017-03-12 15:17:04 +01:00
Bruno Van de Velde 063a926cd1 Fixed clipping when the viewport was changed 2017-03-12 02:30:36 +01:00
Bruno Van de Velde c0e8237a14 Added missing include guard in Any.hpp 2017-03-11 13:40:44 +01:00
Bruno Van de Velde 33788626df Fixed loading a progressbar with BottomToTop fill from a widget file 2017-03-03 19:41:10 +01:00
Bruno Van de Velde 47ad52753a Added a typedef to the 'std::function<void(std::shared_ptr<TextureData>)>' in Texture 2017-03-03 19:38:17 +01:00
Bruno Van de Velde 20a6767213 Renamed mouseWheelMoved to mouseWheelScrolled 2017-02-21 02:17:36 +01:00
Bruno Van de Velde 3525140a92 Split Panel widget into Group, RadioButtonGroup and Panel 2017-02-21 02:14:42 +01:00
Bruno Van de Velde bba1517fff Widgets inheriting from Container should not have to bother with calling getChildWidgetsOffset themselves 2017-02-21 02:14:12 +01:00
Bruno Van de Velde 7b4cc9a727 Fixed copy-paste error in renderer documentation 2017-02-21 00:42:57 +01:00
Bruno Van de Velde 08ee7439fc Added extra test for serializing TextStyle 2017-02-15 21:34:05 +01:00
Bruno Van de Velde 79b170bc36 Added test for drawing Panel 2017-02-15 20:15:23 +01:00
Bruno Van de Velde 3dd02068d6 Fixed clipping in Panel with borders 2017-02-15 20:15:03 +01:00
Bruno Van de Velde 7994ada3fe Test drawing a Canvas widget 2017-02-15 20:01:01 +01:00
Bruno Van de Velde cce9642b3f Test functions of Color class 2017-02-15 20:00:41 +01:00
Bruno Van de Velde 4166b4dd42 Renamed variable 2017-02-15 20:00:20 +01:00
Bruno Van de Velde 1b3b03a849 New code did not compile in Visual Studio 2017-02-15 18:44:55 +01:00
Bruno Van de Velde 9681b7cadb Overwrite released files on Bintray 2017-02-15 18:38:22 +01:00
Bruno Van de Velde 08cd6dea9a Try reporting the line number when parsing a file fails 2017-02-15 18:33:28 +01:00
Bruno Van de Velde 5ff46d3bed Added draw tests from Picture, Button and EditBox 2017-02-13 02:01:20 +01:00
Bruno Van de Velde c372225dde Fixed appveyor script once again 2017-02-12 02:17:23 +01:00
Bruno Van de Velde 5102d17667 Fixed EditBox::selectText 2017-02-12 02:00:40 +01:00
Bruno Van de Velde 9f6c0a2641 Fixed uninitialized variable in practically unsupported case 2017-02-11 23:06:49 +01:00
Bruno Van de Velde ed94ec2092 Build binaries using SFML 2.4.2 2017-02-11 18:45:34 +01:00
Bruno Van de Velde dc379e6796 Added RendererData::create to easily create a render.
It can be useful for code like this:
tgui::ButtonRenderer renderer = tgui::RendererData::create();
renderer.setTextColor(sf::Color::Red);
button->setRenderer(renderer.getData());
2017-02-11 01:44:54 +01:00
Bruno Van de Velde d9b9ec5c66 Draw tests do not work on Travis but they do on Appveyor, so conditionally disable them 2017-02-10 02:36:46 +01:00
Bruno Van de Velde 1d908cc5fc Fixed appveyor script 2017-02-10 02:02:02 +01:00
Bruno Van de Velde 1c3094ef70 Appveyor script did not work when SFML was already in cache 2017-02-10 01:33:35 +01:00
Bruno Van de Velde e8d7448f32 Draw test was still in comments 2017-02-10 01:28:44 +01:00
Bruno Van de Velde 290d8b3835 Tests did no longer build 2017-02-10 01:22:37 +01:00
Bruno Van de Velde e1ff58a672 Fixed minor mistake in appveyor script 2017-02-10 00:42:57 +01:00
Bruno Van de Velde 192ed169c4 Trying to test drawing code of Label 2017-02-10 00:37:21 +01:00
Bruno Van de Velde cad70def6d Let tests use a font that can be used for drawing 2017-02-10 00:35:24 +01:00
Bruno Van de Velde 7e979d20eb Padding was broken in Label 2017-02-10 00:33:09 +01:00
Bruno Van de Velde 2e3cc753f0 Borders typically did not take opacity into account since recent optimization 2017-02-10 00:32:46 +01:00
Bruno Van de Velde 5e3fb427a0 Don't download SFML again when it is already cached 2017-02-08 16:20:56 +01:00
Bruno Van de Velde 56b839c08d Build and publish VS2015 packages on each commit 2017-02-08 15:56:53 +01:00
Bruno Van de Velde 3c72793e6b Updated appveyor.yml to test against 2 different SFML versions 2017-02-06 19:13:51 +01:00
Bruno Van de Velde ed79acdda6 Fixed typo in codecov.yml 2017-02-06 14:45:33 +01:00
Scellow 9826be9544 Added stdio include (#67)
Added stdio include which was needed to compile on MinGW
2017-02-03 00:55:15 +01:00
Bruno Van de Velde 3559fa530c Removed parameter of disabled function 2017-01-25 01:27:21 +01:00
Bruno Van de Velde 4d665f62f8 Added some minor test cases 2017-01-22 01:31:13 +01:00
Bruno Van de Velde 0401b31560 Picture should not store texture directly, it already contains a sprite that stores it 2017-01-22 01:30:23 +01:00
Bruno Van de Velde d629a01d58 Added Sprite::getTexture where the texture can be modified 2017-01-22 01:29:52 +01:00
Bruno Van de Velde 2e9eca5f6a Updated copyright header to 2017 2017-01-20 20:06:07 +01:00
Bruno Van de Velde ee5765deae Fixed documentation typos 2017-01-20 19:57:44 +01:00
Bruno Van de Velde 96b9e0bccc Improved performance of drawing borders 2017-01-18 22:10:09 +01:00
Bruno Van de Velde 3e3e04089e Added extra constructor to Texture to support passing std::string to Picture::create 2017-01-18 22:09:28 +01:00
Bruno Van de Velde c94944bf10 Fixed some renderer properties that were not correctly set in Tabs 2017-01-18 22:07:32 +01:00
Bruno Van de Velde 9f10fb2464 Make sure all cached renderer properties are initialized and fixed some int to float warnings in VS2015 related to them 2017-01-18 13:35:37 +01:00