Commit Graph

1804 Commits (master)

Author SHA1 Message Date
Bruno Van de Velde 6149e73e4f Fixed some minor warnings when building with VS2015 2019-05-28 18:52:56 +02:00
Bruno Van de Velde 236d08cf7f Added discord link in readme [ci skip] 2019-05-24 18:43:07 +02:00
Bruno Van de Velde 49699ad521 Added focusable property to Widget 2019-05-24 18:01:29 +02:00
Bruno Van de Velde 75948ad029 Removed deprecation warnings in Signal classes as it is uncertain in what direction the signal system will evolve 2019-05-11 18:33:57 +02:00
Bruno Van de Velde fef92953c4 Added SelectionChanged signal to TextBox (#97) 2019-05-11 18:26:26 +02:00
Bruno Van de Velde 1a77e0ec60 Added getSelectionStart and getSelectionEnd function to TextBox (#97) 2019-05-11 11:13:28 +02:00
Bruno Van de Velde 81e7428e39 Tests should not define TGUI_REMOVE_DEPRECATED_CODE. The define may only be used when the TGUI library was compiled with the same option. 2019-05-04 15:55:12 +02:00
Bruno Van de Velde 8e897bf235 Added mousePressed and mouseReleased functions to Widget that get called for any mouse button (closes #96) 2019-05-04 15:54:05 +02:00
Bruno Van de Velde 86be352070 Explicitly use Ubuntu Xenial on Travis CI [appveyor skip] 2019-04-15 19:36:05 +02:00
Bruno Van de Velde 11efdcf4a3 FindSFML.cmake didn't link Xrandr when linking statically on linux with latest SFML version 2019-04-09 20:07:48 +02:00
Bruno Van de Velde 26823ba092 Updated version to 0.8.5 2019-04-06 11:53:09 +02:00
Bruno Van de Velde 9af18a15ef Fixed some warnings 2019-04-06 11:52:55 +02:00
Bruno Van de Velde 14e29fbfff GuiBuilder: Resaved form resources with latest version of Gui Builder 2019-03-30 13:40:11 +01:00
Bruno Van de Velde 4011538bcb GuiBuilder: Don't allow changing to a name that is already used by another widget 2019-03-30 10:52:55 +01:00
Bruno Van de Velde 34918edd12 GuiBuilder: Changed default widget name (from WidgetX to LabelX, ButtonX, etc.) 2019-03-29 22:39:34 +01:00
Bruno Van de Velde f39ee7a9ba GuiBuilder: send to back and bring to front should also update widget hierarchy 2019-03-29 19:53:34 +01:00
Bruno Van de Velde cbd5bd8959 GuiBuilder: Copying widget didn't copy children of child widgets 2019-03-29 18:59:07 +01:00
Bruno Van de Velde a54fc196e7 GuiBuilder: Added popup menu with same options as in Widgets menu from menu bar 2019-03-29 18:55:34 +01:00
Bruno Van de Velde 208477fb3e Added + and - operators to Outline 2019-03-29 18:54:51 +01:00
Bruno Van de Velde f47c5bc9f6 GuiBuilder: keyboard shortcuts that only worked when form has focus should also work when widget hierarchy is focused 2019-03-29 16:05:06 +01:00
Bruno Van de Velde 8a4ebe0825 GuiBuilder: Moving widget on paste isn't needed if original widget was already moved away 2019-03-29 15:58:25 +01:00
Bruno Van de Velde 36f02a8472 GuiBuilder: Warning when creating a form with a filename that already exists 2019-03-29 15:52:20 +01:00
Bruno Van de Velde 4f60c5f6ee GuiBuilder: New start screen + remember last 5 opened files 2019-03-29 15:18:44 +01:00
Bruno Van de Velde 8dbd0b820c Don't output trailing whitespace on empty lines when saving widgets to file 2019-03-28 15:47:04 +01:00
Bruno Van de Velde 30d2e3ed63 Don't store button size when saving to file when the button size depends on the caption 2019-03-28 15:42:04 +01:00
Bruno Van de Velde bde87978a5 Renamed variable that used wrong letter case 2019-03-27 13:12:00 +01:00
Bruno Van de Velde 706121607a GuiBuilder: Moved creating TreeView of hierarchy window to EditingScreen.txt 2019-03-27 13:07:19 +01:00
Bruno Van de Velde f3a582fa32 GuiBuilder: When moving or resizing in one direction, the value for the other direction shouldn't change (layout expression was replaced by constant) 2019-03-27 12:42:58 +01:00
Bruno Van de Velde aeb48fd15a Selecting item in TreeView could go wrong if some items were collapsed 2019-03-27 12:26:39 +01:00
Bruno Van de Velde b25f0e2d7c Added missing include in gui builder 2019-03-27 09:59:29 +01:00
Bruno Van de Velde 356c2ecb8e GuiBuilder: Keep widget hierarchy updated when removing and selecting item 2019-03-26 22:39:53 +01:00
GoverLabs e4c4013837 Added widget hierarchy window in GUI Builder
Squashed commit of the following:

commit 376367cd3d3bcc3e3c1245d07a3c98bdfc399fbe
Author: GoverLabs <general.governator@gmail.com>
Date:   Sun Mar 24 11:07:58 2019 +0200

    Add Widget Hierarchy to EditingScreen.txt

commit a4dfec1777dd0cf912bc7a51c9bfd6fc70dfa5be
Author: GoverLabs <general.governator@gmail.com>
Date:   Sun Mar 24 09:05:58 2019 +0200

    Fix failed merge issues

commit 3d51fbbdf5f985dd7bcc484107aa3ae3b67cb4ea
Merge: 1249831f 416994f9
Author: GoverLabs <general.governator@gmail.com>
Date:   Sat Mar 23 23:29:10 2019 +0200

    Merge branch '0.8' of https://github.com/texus/TGUI into WidgetHierarchy

commit 1249831f50d825d29f17da7c34101e4087d1f252
Author: GoverLabs <general.governator@gmail.com>
Date:   Sat Mar 23 22:46:39 2019 +0200

    GuiBuilder: Fix issues with selecting widget at hierarchy tree

commit 757df02b35b8301ef7fa0712ec0e6d32184385e0
Author: GoverLabs <general.governator@gmail.com>
Date:   Sat Mar 16 21:40:07 2019 +0200

    Draft implementation of widget hierarchy window in GUI Builder
2019-03-26 20:24:09 +01:00
Bruno Van de Velde 5c4f74b60a GuiContainer: Child widgets weren't removed when removing parent container 2019-03-26 19:52:27 +01:00
Bruno Van de Velde 51bc3366f0 GuiBuilder: changing name of widget inside a container didn't work 2019-03-26 19:07:45 +01:00
Bruno Van de Velde b3bc889a25 GuiBuilder: Label always had AutoSize=false after copying 2019-03-26 16:58:33 +01:00
Bruno Van de Velde 2956d5e1ff GuiBuilder: Copying container with child widgets wasn't working anymore 2019-03-26 16:05:41 +01:00
Bruno Van de Velde 4bc9ca4d9d GuiBuilder: Move widget a bit when pasting (if position is a constant) 2019-03-26 10:28:08 +01:00
Bruno Van de Velde 8da47fd75e Added function to layout class to check if it contains a constant 2019-03-26 10:22:26 +01:00
Bruno Van de Velde 542db896ad GuiBuilder: Dialog for Texture properties 2019-03-25 19:58:05 +01:00
Bruno Van de Velde a57e7fe01e Added function to signals to temporarily disable callbacks 2019-03-25 19:56:04 +01:00
Bruno Van de Velde b39d6931a3 Text color of hovered item wasn't updated when mouse left TreeView 2019-03-24 13:51:55 +01:00
Bruno Van de Velde f66f8a5e45 Don't put quotes around simple strings when serializing strings 2019-03-24 13:51:27 +01:00
Bruno Van de Velde 416994f93c GuiBuilder: Added keyboard shortcuts and about dialogs 2019-03-23 19:31:17 +01:00
Bruno Van de Velde 60ea5916b0 GuiBuilder: Added icon 2019-03-23 16:33:25 +01:00
Bruno Van de Velde 6e87bba435 GuiBuilder: Dialog to edit properties of type List<String> 2019-03-23 16:00:32 +01:00
Bruno Van de Velde c2f1af4fdf GuiBuilder: BitmapButton was missing Image and ImageScaling properties 2019-03-23 11:14:55 +01:00
Bruno Van de Velde eeee2bd37d GuiBuilder: Arrow keys can be used to select a different widget 2019-03-23 10:31:00 +01:00
Bruno Van de Velde bfbbebaf7d GuiBuilder: Select parent widget when pressing escape key 2019-03-21 22:41:00 +01:00
Bruno Van de Velde 1931ec845a GuiBuilder: Multiline text for Label and TextBox 2019-03-21 22:11:59 +01:00
Bruno Van de Velde 0e9c18299a Added support for typing tabs in TextBox (only when tab usage is disabled in Gui, by default pressing tab focuses the next widget) 2019-03-21 20:03:08 +01:00