Skip to content

Releases: texus/TGUI

v0.8.6

13 Oct 12:23
Compare
Choose a tag to compare

Changelog:

  • Added sort function to ListView to sort data based on values in a chosen column (PR #107)
  • Added function to Slider to disallow changing the value by scrolling the mouse wheel (PR #104)
  • Added support for text outline in Label and Button widgets
  • Added SelectionChanged signal to TextBox
  • Added getSelectionStart and getSelectionEnd functions to TextBox
  • Added mousePressed and mouseReleased to respond to different mouse buttons in custom widgets
  • Added focusable property to widgets
  • Added TextureBackground property to Label, Panel and ChildWindow renderers
  • Added VerticalScrollAmount and HorizontalScrollAmount to ScrollablePanel
  • Added functions to set and get scrollbar values in widgets that have a scrollbar
  • Added right mouse clicked signals to ClickableWidget (base class for several widgets) and Panel
  • Added HeaderClicked signal to ListView
  • Addded Signals namespace with strings for signals of all widgets
  • Added VerticalScroll property to Slider, Scrollbar and SpinButton, for more intuitive usage
  • Added SubwidgetContainer class that should simplify combining widgets for a custom widget
  • Added view to Canvas
  • Added MultiSelect option to ListView
  • PDB files are now included for Visual Studio builds
  • Renamed TimeToDisplay to InitialDelay in ToolTip
  • SignalItem (used by ListBox and ComboBox) can now have the item index as optional parameter
  • Container widgets didn't pass right click event to child widgets
  • Widget state was incorrect when starting a show/hide animation while another was still busy
  • Disabling tabs widget caused selected tab to be deselected
  • Vertical alignment in Label didn't work correctly when there was a scrollbar
  • Knob never responded to mouse events on places where the background texture was transparent
  • Text color wasn't updated in MenuBar when disabling and re-enabling widget
  • Unicode text wasn't properly handled when loading/saving widgets from/to a widget file
  • Fixed potential crash when creating a ProgressBar
  • ListView clipped content in expanded column

v0.8.5

06 Apr 11:11
Compare
Choose a tag to compare

Changelog:

  • Big improvements to Gui Builder
  • Svg images are now supported
  • ComboBox can now contain some text when no item is selected
  • Added function to ComboBox to disallow changing the selected item by scrolling the mouse wheel
  • Added RightClicked signal to ListView
  • Added functions to ListView to change existing items
  • Support typing tabs in TextBox (if tab usage is disabled in gui)
  • Added function to signals to temporarily disable callbacks
  • Added addition and subtraction operators to Outline
  • ChildWindow can now have a different border color in focused state
  • Added function to select item in TreeView
  • EditBox::setInputValidator now returns false when regex was invalid
  • Let ComboBox send the ItemSelected event only after the mouse is released
  • TitleBarHeight property of default renderer was ignored in ChildWindow
  • Label didn't ignore events after ignoreMouseEvents was called
  • Adding space around widgets in Grid to fill the given size wasn't working properly
  • Loading widget from file failed when min or max was used in layout strings

v0.8.4

23 Feb 11:53
Compare
Choose a tag to compare

Changelog:

  • Added Changed signal to CheckBox and RadioButton (to more easily combine Checked and Unchecked)
  • Added EscapeKeyPressed signal to ChildWindow
  • ExpandDirection of ComboBox can now be set to Automatic
  • Added min and max functions to layouts again
  • Added horizontal grid lines to ListView
  • Added option to ListView to expand the last column to fill the remaining space
  • Allow a separator between the header and contents in a ListView
  • Split separator in ListView into separator and vertical grid line
  • Fixed corrupted white theme when DefaultTheme was initialized before Color constants

v0.8.3

27 Jan 18:23
Compare
Choose a tag to compare

Changelog:

  • ListView widget added
  • EditBox can now have a suffix
  • TextBox can now have a horizontal scrollbar
  • Label can now have a vertical scrollbar
  • Default scrollbar width wasn't always taken from texture size in widgets containing scrollbars
  • Scrollbar wasn't drawn correctly when Maximum equaled ViewportSize with AutoHide disabled
  • Default icons in TreeView didn't change color when item was selected
  • Rounded icon position in TreeView to avoid bad icon alignment
  • TreeView didn't handle opacity and font changes
  • Sprites didn't keep their transparency when resized
  • Texture filenames can now contain UTF8 characters on linux
  • Added propery to widget renderer to set an opacity for the disabled state
  • Fixed some bugs in saving and loading widget files (#90)

v0.8.2

16 Dec 17:55
Compare
Choose a tag to compare

Changelog:

  • TreeView widget added
  • Text styles of lines in ChatBox can now be changed
  • Clipping was broken when using multiple windows
  • ScrollbablePanel didn't fully scroll to right with both scrollbars visible

v0.8.1

15 Oct 20:37
Compare
Choose a tag to compare

Changelog:

  • Submenus are now supported in MenuBar
  • Menus can now be disabled in MenuBar and given a different text color
  • You can now connect a signal handler to a single menu item in MenuBar
  • ChildWindow position can be locked to disable dragging it
  • Scrollbar thumb should not become smaller than the scrollbar width
  • Percentage in layout no longer includes the outline of the parent
  • MenuBar didn't work when moved and inverted menu direction was broken
  • Text size in MenuBar was reset when changing font
  • Handle delete button on android correctly when using SFML >= 2.5
  • ChildWindow callback with unbound parameter caused crash

The 0.8.1b release adds files to lib/cmake/TGUI which are needed to use the precompiled libraries in a project using cmake. The dll files have also been moved from the lib folder to a new bin folder.

v0.8.0

05 Aug 13:52
Compare
Choose a tag to compare

Changelog:

  • Global default text size for more consistent texts in widgets
  • Gui Builder was added
  • A theme can be made the default to use it for all new widgets
  • Renderers are decoupled from widgets, making them truly shared
  • BitmapButton widget to have an icon next to the button caption
  • RangeSlider widget to have two thumbs on a slider
  • ScrollablePanel widget to have a Panel with automatic scrollbars
  • Panel widget was split in Group, RadioButtonGroup and Panel widgets
  • HorizontalLayout, VerticalLayout and HorizontalWrap to arrange widgets
  • Relative layouts were improved
  • Many other improvements

v0.7.8

05 Aug 08:43
Compare
Choose a tag to compare

Changelog:

  • EditBox::setInputValidator now throws instead of crashing on GCC < 4.9