Commit Graph

1437 Commits (0f9e59c826af914fd864465d6368f59b4b5d8bce)

Author SHA1 Message Date
Bruno Van de Velde 0f9e59c826 🪲 TextBox::getSelectedText sometimes contained newlines that were not in the original text (they where added internally for word wrapping) 2017-10-06 19:44:23 +02:00
Bruno Van de Velde a6ca360704 Added draw tests for ChildWindow and Knob + test drawing MenuBar with textures + test drawing TextBox with selected text 2017-10-04 20:02:35 +02:00
Bruno Van de Velde 5f40cf3ae6 EditBox and TextBox should always set a caret width, even when a default theme is used that doesn't specify one 2017-10-04 18:51:53 +02:00
Bruno Van de Velde 309cd144d6 Added draw tests for MenuBar, RangeSlider, Tabs and TextBox 2017-10-02 19:57:40 +02:00
Bruno Van de Velde d5c2bc18ef 🪲 RangeSlider thumb did not display correctly when borders were set while using textures 2017-10-02 19:49:42 +02:00
Bruno Van de Velde d28d05f8d8 🚧 Gui Builder crashed when trying to load file that did not exist 2017-09-30 19:28:10 +02:00
Bruno Van de Velde 75dbf6dede Test scrollbar property of ScrollablePanelRenderer 2017-09-30 19:26:44 +02:00
Bruno Van de Velde 846a4ce648 🔧 Added gui-builder executable to .gitignore 2017-09-29 14:37:21 +02:00
Bruno Van de Velde d2b52dbe26 Added draw tests for SpinButton, ProgressBar, Slider and Scrollbar 2017-09-29 14:33:47 +02:00
Bruno Van de Velde 24afbde057 🪲 Slider thumb did not display correctly when borders were set while using textures 2017-09-28 23:06:41 +02:00
Bruno Van de Velde dd19e78a4a Draw tests should use a valid mouse position, even if position isn't checked 2017-09-28 16:13:02 +02:00
Bruno Van de Velde 86fd9dffbd 💥 VerticalScroll in SpinButton is now automatically determined based on the size 2017-09-28 15:58:40 +02:00
Kurt Slagle d7362005ba Change use of std::not1 and std::ptr_fun to use lambdas (#77)
Change use of std::not1 and std::mem_fun to lambdas due to c++17 deprecations (closes #75)
2017-09-27 19:56:57 +02:00
Bruno Van de Velde e3b2eb65bc 🪲 Removing selected item in ListBox could cause a crash (fixes #76) 2017-09-27 11:43:00 +02:00
Bruno Van de Velde 854880016f 👷 Gui Builder executable had dependencies to dlls 2017-09-26 16:58:19 +02:00
Bruno Van de Velde 149eb6dee7 🏁 Fixed gui-builder crash on exit on Windows 2017-09-26 16:57:11 +02:00
Bruno Van de Velde 4044431701 🏁 Code didn't compile with VS2015 Update 2 anymore 2017-09-26 15:31:54 +02:00
Bruno Van de Velde 215c5da5f7 👷 Build gui-builder on CI 2017-09-26 01:06:21 +02:00
Bruno Van de Velde 4d3afcacb1 🆕 Added minimal Gui Builder (closes #45) 2017-09-25 18:38:59 +02:00
Bruno Van de Velde f031469bbb 📚 Added link to SFML website in readme 2017-09-25 18:04:32 +02:00
Bruno Van de Velde 5585e6acb7 👌 Fixed some conversion warnings 2017-09-25 16:57:54 +02:00
Bruno Van de Velde 743cf6819d 💄 Changed BackgrounColorDown of buttons in White theme to provide visual feedback that the click occurred 2017-09-24 14:00:25 +02:00
Bruno Van de Velde 87b2c872d6 🔧 Minor change in generated docs 2017-09-24 01:38:06 +02:00
Bruno Van de Velde 4d51472523 Also save/load ExpandDirection from ComboBox to text file 2017-09-23 15:24:02 +02:00
Bruno Van de Velde 635517e1c3 Added tests for TextSize and ExpandDirection in ComboBox 2017-09-23 14:59:41 +02:00
Bruno Van de Velde a223933ab7 💥 Replaced ArrowUp and ArrowDown in ComboBox by a single Arrow property 2017-09-23 14:40:58 +02:00
Bruno Van de Velde 3388c98a79 🆕 Added ExpandDirection to ComboBox to allow the list to open above the ComboBox 2017-09-23 00:56:11 +02:00
Bruno Van de Velde b2b8c1fb46 💥 Theme and Renderer implementations were changed to allow a default theme to be set 2017-09-22 23:31:09 +02:00
Bruno Van de Velde 5c6aacb9fe 🚧 Tune scroll speed of scrollbars in ScrollablePanel (currently still hardcoded) 2017-09-21 18:43:24 +02:00
Bruno Van de Velde 75e0aa40ee ✏️ Changed 'else if' to 'if' in Clipping class which only affected cases where the entire widget is outside the drawable area 2017-09-21 16:52:59 +02:00
Bruno Van de Velde 203d4b070c ✏️ Wrong scrollbar value used to set ScrollAmount of horizontal scrollbar of ScrollablePanel 2017-09-21 16:34:58 +02:00
Bruno Van de Velde 343ac4e2ef Added getContentOffset to ScrollablePanel to calculate the position of its child widgets 2017-09-21 16:06:29 +02:00
Bruno Van de Velde 40e946c52c 🚚 Renamed 'widgets' folder to 'themes' 2017-09-21 14:02:36 +02:00
Bruno Van de Velde c310a37a56 🪲 Copy and move assignment operators of Layout did not inform bound widget that it became unbound 2017-09-21 13:34:31 +02:00
Bruno Van de Velde 237d57ffed 🔥 Removed some inaccessible functions in Layout 2017-09-21 13:01:47 +02:00
Bruno Van de Velde b7c2adee21 🔨 Added virtual destructors to classes with virtual functions 2017-09-21 12:56:14 +02:00
Bruno Van de Velde 35ea22db57 🔨 Refactored Layout::connectWidget function and removed unused m_connectedWidget member 2017-09-21 01:06:46 +02:00
Bruno Van de Velde 1c0950c8d3 🪲 KeepInParent property of ChildWindow should also be verified in keepInParent and setParent functions 2017-09-21 01:05:51 +02:00
Bruno Van de Velde fb7033a7a4 💄 Fixed Scrollbar section in BabyBlue theme 2017-09-21 00:45:58 +02:00
Bruno Van de Velde 0e30583447 Use default button renderer instead of empty renderer for buttons in MessageBox 2017-09-20 14:52:38 +02:00
Bruno Van de Velde 00c57368af Added optional parameters to MessageBox::create 2017-09-20 14:34:24 +02:00
Bruno Van de Velde 2b0993885c Layouts now translate '100%' to '&.size' instead of '1 * &.size' 2017-09-20 13:16:17 +02:00
Bruno Van de Velde 693573d841 🪲 Container failed to pass MouseWheelScrolled events to children 2017-09-20 00:19:21 +02:00
Bruno Van de Velde 51df0973bc 🪲 removeAllWidgets in ScrollablePanel did not reset content size when auto-sizing 2017-09-20 00:05:03 +02:00
Bruno Van de Velde a0afbfb8c7 🪲 WidgetLoader did not handle quoted layout strings 2017-09-19 18:45:44 +02:00
Bruno Van de Velde c1be12fbf2 Try using the parent font when the font of the widget is reset 2017-09-19 18:45:40 +02:00
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