Skip to content

Releases: texus/TGUI

Nightly build

01 May 20:25
Compare
Choose a tag to compare
Nightly build Pre-release
Pre-release

Commits

  • e1f3a79: Event handling changed in SFML 3 (Bruno Van de Velde)

v1.2.0

23 Mar 15:24
Compare
Choose a tag to compare

Changelog:

  • Added Theme::replace function
  • Added TreeView::changeItem function
  • Added TreeView::getNode function
  • Added ignoreMouseEvents function to canvas widgets
  • Added Panel::setEventBubbling to enable more intuitive event propagation
  • Replaced getWidgetAtPosition with getWidgetAtPos
  • getWidgetBelowMouseCursor was given a parameter for recursive search
  • Textures with different part rects were incorrectly considered equal
  • showWithEffect didn't show widget if a hide animation was still playing
  • Setting opacity of a SubWidgetContainer didn't work
  • SubWidgetContainer didn't support show/hide animations

v1.1.0

04 Nov 14:58
Compare
Choose a tag to compare

Changelog:

  • Added AutoLayout that lets widget fill entire side of parent
  • Any column in ListView can now be auto-sized and expanded
  • Added methods for arrow key navigation between widgets
  • Added getColumnDesignWidth function to ListView
  • Added TextOutlineColor and TextOutlineThickness to ProgressBar renderer
  • MiddleRect of Texture can now be changed after loading
  • Hover state is now reset when mouse leaves the window

v1.0.0

30 Sep 14:00
Compare
Choose a tag to compare

Changelog:

  • Added PanelListBox widget (PR #193)
  • FileDialog can now create new folders (PR #192)
  • Added MessageBox::changeButtons to set multiple buttons at once (PR #215)
  • Added methods to ScrollablePanel to check if scrollbar is currently shown (PR #213)
  • Pressing the tab key can now insert custom text in TextArea (PR #211)
  • Widgets in SubwidgetContainer didn't inherit the font of the container (PR #208)
  • Added onCaretPositionChange, getCaretLine() and getCaretColumn() to TextArea (PR #207)
  • Added onCaretPositionChange signal to EditBox (PR #206)
  • Added missing getSignal() functions to TabContainer and SpinControl (PR #204)
  • BoxLayout::setWidgetIndex didn't immediately update the positions (PR #203)
  • Added tab alignment and fixed tab size to TabContainer (PR #174)
  • Added SDL_Renderer, GLFW/OpenGL and SFML/OpenGL backends
  • Added RichTextLabel widget
  • Support two finger scrolling on touch screens
  • Added font scaling to keep text sharp while view is smaller than window size
  • Textures can now be loaded from base64 string
  • ListView columns can now be resizable
  • ListView icons can also be saved in form file
  • Position of text in buttons can now be changed
  • Added changeMenuItem function to MenuBar to change the text of a menu
  • Added SizeHorizontal and SizeVertical mouse cursors
  • Added hasUserData to Widget
  • Added LabelAlignment and ButtonAlignment to MessageBox
  • Added ScrollbarValue to Label
  • Theme files now support global properties
  • Theme files now support inheritance between sections
  • Improved scrolling with nested scrollbars
  • Added UseWideArrows property to SpinControl
  • Added moveWithAnimation and resizeWithAnimation functions to Widget
  • Added case-insensitive variants of startsWith and endsWith to String
  • Tool tips are now shown on disabled widgets by default
  • Word-wrapped lines no longer begin with whitespace
  • IME pre-edit window will be positioned next to the text cursor on Windows
  • Typing in FileDialog now selects the first file starting with the typed letter
  • Added getWindow() function to Gui
  • handleEvent now always returns true for scroll events when mouse is on top of a widget
  • onFileSelect signal in FileDialog is no longer called on cancel
  • Renamed onSelectionChanged to onSelectionChange in TabContainer
  • TabContainer now inherits from Container instead of SubwidgetsContainer
  • Removed padding from RadioButtonGroup
  • Black, BabyBlue and TransparentGrey themes can now be used for all widgets
  • ClientSize of ChildWindow can now be a layout instead of only a constant
  • TextSize can now also be set in theme file
  • Many bug fixes and minor improvements

v1.0-rc2

11 Sep 17:17
Compare
Choose a tag to compare
v1.0-rc2 Pre-release
Pre-release

Changelog:

  • Added MessageBox::changeButtons to set multiple buttons at once (PR #215)
  • Added methods to ScrollablePanel to check if scrollbar is currently shown (PR #213)
  • Pressing the tab key can now insert custom text in TextArea (PR #211)
  • Widgets in SubwidgetContainer didn't inherit the font of the container (PR #208)
  • Added onCaretPositionChange, getCaretLine() and getCaretColumn() to TextArea (PR #207)
  • Added onCaretPositionChange signal to EditBox (PR #206)
  • Added missing getSignal() functions to TabContainer and SpinControl (PR #204)
  • BoxLayout::setWidgetIndex didn't immediately update the positions (PR #203)
  • Fixed EditBox::getSelectedText() returning too many characters
  • MenuBar crashed when menu closed (regression in 1.0-rc)
  • Slider thumb had wrong position if texture needed to be rotated
  • Icon in BitmapButton had wrong ratio when rescaled
  • Prevent crash if provided layout is recursive
  • Renamed onSelectionChanged to onSelectionChange in TabContainer
  • TabContainer now inherits from Container instead of SubwidgetsContainer

v1.0-rc

18 Jul 17:47
Compare
Choose a tag to compare
v1.0-rc Pre-release
Pre-release

Changelog:

  • Added PanelListBox widget (PR #193)
  • FileDialog can now create new folders (PR #192)
  • Improved scrolling with nested scrollbars
  • Added UseWideArrows property to SpinControl
  • Support two finger scrolling on touch screens
  • Added getWindow() function to Gui
  • handleEvent now always returns true for scroll events when mouse is on top of a widget

v1.0-beta

10 Dec 15:03
Compare
Choose a tag to compare
v1.0-beta Pre-release
Pre-release

Changelog:

  • Added RichTextLabel widget
  • Added font scaling to keep text sharp while view is smaller than window size
  • Added tab alignment and fixed tab size to TabContainer (PR #174)
  • onFileSelect signal in FileDialog is no longer called on cancel
  • Removed padding from RadioButtonGroup
  • Close button was broken when ChildWindow was copied

v1.0-alpha

17 Sep 15:36
Compare
Choose a tag to compare
v1.0-alpha Pre-release
Pre-release

Changelog:

  • Added SDL_Renderer backend (SDL + SDL_ttf)
  • Added GLFW/OpenGL backend (glfw3 + OpenGL >= 3.3 or GLES >= 2.0)
  • Added SFML/OpenGL backend (sfml-window + OpenGL >= 3.3)
  • Existing SFML-Graphics and SDL/OpenGL backends were redesigned
  • Black, BabyBlue and TransparentGrey themes can now be used for all widgets
  • ClientSize of ChildWindow can now be a layout instead of only a constant
  • Typing in FileDialog now selects the first file starting with the typed letter
  • TextSize can now also be set in theme file
  • Added moveWithAnimation and resizeWithAnimation functions to Widget
  • Added case-insensitive variants of startsWith and endsWith to String
  • Textures can now be loaded from base64 string
  • ListView columns can now be resizable
  • ListView icons can also be saved in form file
  • Position of text in buttons can now be changed
  • Added changeMenuItem function to MenuBar to change the text of a menu
  • Added SizeHorizontal and SizeVertical mouse cursors
  • Added hasUserData to Widget
  • Added LabelAlignment and ButtonAlignment to MessageBox
  • Added ScrollbarValue to Label
  • Theme files now support global properties
  • Theme files now support inheritance between sections
  • Tool tips are now shown on disabled widgets by default
  • Word-wrapped lines no longer begin with whitespace
  • Filter CR in TextArea to prevent issues when pasting CRLF on Windows

v0.9.5

17 Jul 18:14
Compare
Choose a tag to compare

Changelog:

  • Fixed Gui Builder crash when creating or loading any form
  • Fixed crash when position of ChildWindow depends on its size

v0.9.4

15 Jun 20:43
Compare
Choose a tag to compare

Changelog:

  • Default theme no longer affects loading widgets from file
  • Added TextAlignment property to ListBox
  • Added onScroll signal to ListBox
  • Added option to show tool tips on disabled widgets
  • Up and down keys in ListBox now move scrollbar if needed
  • Renderers shared in form files no longer save in random order
  • Pasting still worked in TextArea when it was read-only
  • ListBox::setMaximumItems didn't reset selected item when removed
  • Fixed issue with renderer property within custom renderer outside tgui namespace
  • Parsing invalid UTF-8 character could trigger a debug assert in Visual Studio
  • Widget could remain in hover state after hiding it
  • Fixed broken text rendering in SDL/OpenGL backend
  • List of ComboBox did not use the font set in the ComboBox
  • Keeping child window inside parent didn't take origin into account