Bruno Van de Velde
a772efd878
Let CI build the on Android as well
...
[skip appveyor]
2017-09-10 00:39:03 +02:00
Bruno Van de Velde
a05b88d4a3
ProgressBar rendering was broken when the texture was set after the size (which happened during loading from file)
2017-09-09 16:16:37 +02:00
Bruno Van de Velde
e08d11a6d3
Saving widgets to a file still didn't work correctly when a resource path was set
2017-09-09 16:04:51 +02:00
Bruno Van de Velde
5220248f0e
Resource path was added twice to textures when loading from a file
2017-09-09 16:02:25 +02:00
Bruno Van de Velde
9e5b8e5fd4
Custom widgets can now access right mouse events
2017-09-09 16:01:35 +02:00
Bruno Van de Velde
e627b918f4
Turn absolute paths in relative ones when saving widgets to a file
2017-09-09 01:54:35 +02:00
Bruno Van de Velde
2cf7f3410e
Resource path was not shown in error message when texture could not be loaded
2017-09-09 01:53:59 +02:00
Bruno Van de Velde
ed72df1df9
Also inject absolute path in font filenames
2017-09-09 01:53:35 +02:00
Bruno Van de Velde
ef1072e8bc
Made some tweaks in the internal code related to resource paths
2017-09-08 14:53:07 +02:00
Bruno Van de Velde
51d30906af
Small fix in font deserializer
2017-09-07 23:45:59 +02:00
Bruno Van de Velde
5e48605e32
Support android again (tested with NDK 12b)
2017-09-07 15:38:50 +02:00
Bruno Van de Velde
7b22bb4de0
Added IgnoreMouseEvents property to Picture and Label so that they can be placed in front of other widgets while the widgets behind the picture/label still receives the mouse events
2017-09-05 23:28:21 +02:00
Bruno Van de Velde
af77406789
Moved Texture property from Picture to PictureRenderer, together with the IgnoreTransparentParts property (previously called FullyClickable)
2017-09-05 23:26:51 +02:00
Bruno Van de Velde
6926f29dea
Added bool type to ObjectConverter, Serializer and Deserializer
2017-09-05 20:25:21 +02:00
Bruno Van de Velde
f2ea459b27
Updated ObjectConverter code to be able to work with std::variant instead of tgui::Any (new code is disabled by default)
2017-09-05 19:41:30 +02:00
Bruno Van de Velde
10d285f0df
Moved SignalWidgetBase::disconnect to cpp file
2017-09-01 23:11:31 +02:00
Bruno Van de Velde
f9af46bba4
Added isConstant to AbsoluteOrRelativeValue
2017-09-01 14:06:25 +02:00
Bruno Van de Velde
129e2b7b86
Fixed typo
2017-09-01 13:10:35 +02:00
Bruno Van de Velde
8aa3d56b86
Fixed some conversion warnings in ScrollablePanel
2017-09-01 01:35:53 +02:00
Bruno Van de Velde
ae8a6db35a
Handle the resource path properly
2017-09-01 01:12:46 +02:00
Bruno Van de Velde
19e5b9ff3c
Take control and shift keys into account when handling arrow key presses in EditBox
2017-08-31 19:20:26 +02:00
Bruno Van de Velde
444e6c1a91
Updated catch.hpp from v1.5.6 to v2.0.0-develop.3
2017-08-31 17:48:00 +02:00
Bruno Van de Velde
71fa5ae9db
VS2015 did not support constexpr usage yet
2017-08-31 14:32:55 +02:00
Bruno Van de Velde
324588a380
Correctly detect position and size changes again in widgets
2017-08-31 14:17:49 +02:00
Bruno Van de Velde
6b26b5bebd
Added macro for deprecating things
2017-08-31 01:22:18 +02:00
Bruno Van de Velde
2de9c4786b
Enable the constexpr define on all compilers except gcc 4.9
2017-08-31 01:17:07 +02:00
Bruno Van de Velde
a1a5c89bd2
invoke function should return void as signal handlers can't return anything anyway
2017-08-30 23:30:12 +02:00
Bruno Van de Velde
348ed0f580
Added getRatio function to AbsoluteOrRelativeValue
2017-08-30 23:29:40 +02:00
Bruno Van de Velde
d8bf087373
Fixed errors and warnings from Clang 3.6. The minimum required clang version has been reduced from 3.7 to 3.6.
2017-08-30 22:08:16 +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
2400ebd293
Rewrote signal extension so that it compiles with c++14
2017-08-30 18:50:36 +02:00
Bruno Van de Velde
06a55855a9
Let parameter detection look for widget and signal name as first unbound parameters
2017-08-30 01:17:35 +02:00
Bruno Van de Velde
1988d34f4a
New signal code did not work well with unbound parameters like 'const Type&' instead of 'Type'
2017-08-30 00:00:54 +02:00
Bruno Van de Velde
c2a6e4d043
New layout system failed to find widgets by name because they were already converted to lowercase while the search was case-sensitive
2017-08-29 19:55:34 +02:00
Bruno Van de Velde
33e8cbb339
Enable signal extension automatically when using g++ >= 7.1 and -std=c++1z or -std=c++17 is used
2017-08-29 14:58:18 +02:00
Bruno Van de Velde
e537fa8f3e
Try yet another fix for the AppVeyor.yml script which still fails when the SFML directory is cached while a new commit has been made to SFML since the cache was created
2017-08-29 00:27:30 +02:00
Bruno Van de Velde
8e87c02919
Added experimental extension to the signal system
2017-08-29 00:21:29 +02:00
Bruno Van de Velde
4bd6b662bb
Removed SignalWrapper code that was commented instead of removed earlier
2017-08-27 22:51:23 +02:00
Bruno Van de Velde
84e903c5dd
Added RangeSlider widget
2017-08-27 22:41:02 +02:00
Bruno Van de Velde
ee63f16b40
Inverted vertical slider, minimum value is now at the bottom while maximum value is on top
2017-08-27 22:15:12 +02:00
Bruno Van de Velde
cf5906e681
Removed limitation that slider maximum could not be negative
2017-08-27 18:56:54 +02:00
Bruno Van de Velde
fa3528b9e6
Allow linking TGUI in a different way than linking SFML ( closes #72 , closes #73 )
2017-08-27 11:52:50 +02:00
Bruno Van de Velde
91a0a23d6e
Added ScrollablePanel widget
2017-08-26 17:27:28 +02:00
Bruno Van de Velde
1cc892a686
Removed some unneeded 'virtual' keywords
2017-08-24 13:49:03 +02:00
Bruno Van de Velde
d1766178f1
Removed 'virtual' where there is already an 'override' keyword
2017-08-24 13:37:18 +02:00
Bruno Van de Velde
cd47a6ea43
AbsoluteOrRelativeValue tests weren't being build
2017-08-24 11:50:45 +02:00
Bruno Van de Velde
b0766a619a
Rewrote the layout system again
...
This combines the best features of the last 2 implementations, which were extremely different with the last one focusing on being easy but having dropped several features.
You can still use percentages to refer to the size of the parent:
widget->setPosition({"20%", "10%"});
But binding widgets has been introduced again so that you can e.g. easily center the widget:
widget->setPosition("(parent.size - size) / 2");
2017-08-24 11:44:38 +02:00
Bruno Van de Velde
87d0e9e538
Reduced downloaded dependencies on Travis CI
2017-08-18 19:27:04 +02:00
Bruno Van de Velde
d8b1d3a670
Default text in edit box was not positioned correctly with center or right alignment
2017-08-18 16:08:29 +02:00