Commit Graph

1441 Commits (c101b49cd5d8fad98e69f9155339a44d05cbe0c6)

Author SHA1 Message Date
Bruno Van de Velde 50af775d32 🪲 Fixed crash that occured when font was changed and later changed again to a nullptr 2017-09-19 18:45:29 +02:00
Bruno Van de Velde 69eac9bc2c Added MinimizeButton and MaximizeButton to ChildWindow section in theme files (closes #74) 2017-09-19 00:04:45 +02:00
Bruno Van de Velde c9d5eae476 Removed unnecessary function call in EditBox 2017-09-18 23:23:44 +02:00
Bruno Van de Velde 81a52455e1 Only compile with -std=gnu++14 on MinGW, use -std=c++14 everywhere else 2017-09-17 14:56:04 +02:00
Bruno Van de Velde 0416eab605 Code didn't compile on TDM-GCC 4.9 because std::to_string was still called at one place 2017-09-17 14:31:12 +02:00
Bruno Van de Velde a90ad29c95 Compile with -std=gnu++1y instead of -std=c++1y because TDM-GCC 5.1 did not declare _fullpath otherwise 2017-09-13 19:38:01 +02:00
Bruno Van de Velde 20193194c3 Changed an #if to #ifdef 2017-09-13 19:26:38 +02:00
Bruno Van de Velde 756f8e3540 Widgets in HorizontalLayout and VerticalLayout can be given ratios again to determine their size and individual spaces can be added between widgets 2017-09-12 23:34:11 +02:00
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