Skip to content

Releases: texus/TGUI

v1.8.0

23 Feb 12:22
Compare
Choose a tag to compare

Changelog:

  • New widget: ContextMenu
  • Added handleWindowEvents function to SFML backend (only for SFML 3)
  • Added onRightClick signal to ListBox
  • Added onTabRightClick signal to Tabs
  • Added setSmooth and isSmooth to CanvasSFML
  • Changed the way the view is handled in CanvasSFML
  • Pressing escape now closes the menu from ContextMenu or MenuBar

Nightly build

23 Feb 10:04
Compare
Choose a tag to compare
Nightly build Pre-release
Pre-release

Commits

  • ba7e527: Don't add a BUILD_SHARED_LIBS cache variable when building TGUI as a subproject (Bruno Van de Velde)
  • ac4a9c8: Pass Vector2f by value in ToolTip::setDistanceToMouse (Bruno Van de Velde)
  • a34f4cf: Updated version to 1.8 (Bruno Van de Velde)

v1.7.0

22 Dec 14:41
Compare
Choose a tag to compare

Changelog:

  • New widgets: GrowHorizontalLayout and GrowVerticalLayout
  • Fixed some issues with font scale in SFML font backend

v1.6.1

09 Oct 06:31
Compare
Choose a tag to compare

Changelog:

  • Brightness slider in ColorPicker had a wrong size (regression in TGUI 1.6)
  • ColorPickerRenderer was missing property to style edit boxes

v1.6.0

06 Oct 09:51
Compare
Choose a tag to compare

Changelog:

  • Added CloseBehavior property to ChildWindow
  • Added addMultipleItems to ListBox and ComboBox
  • Added getItemByIndex, getIndexById and getIdByIndex to ComboBox
  • Added setSpinButtonWidth function to SpinControl
  • Numpad keys may now move the cursor in text fields when Num Lock is off
  • setOrientation in Slider or SpinButton will no longer flip width and height
  • setSize in Slider or SpinButton no longer affects orientation once setOrientation is called
  • Fixed crash on exit when tool tip was visible
  • Fixed wrong arrow sizes for horizontal spin button
  • Fixed view not being usable in CanvasSFML
  • TreeView didn't visually update when calling setItemIndexInParent or changeItemHierarchy

v1.5.0

25 Aug 09:16
Compare
Choose a tag to compare

Changelog:

  • Added uniform scrollbar access to all widgets with a scrollbar
  • Added getter for hovered item to ListBox, ListView, PanelListBox, Tabs and TreeView
  • Added option to buttons to only repond to clicks and ignore space/return key presses
  • Added setItemIndexInParent and getItemIndexInParent functions to TreeView
  • Added changeItemHierarchy to TreeView
  • Scrollbar::setOrientation will no longer flip width and height
  • Scrollbar::setSize no longer affects orientation once setOrientation is called
  • Grid didn't update its size in remove and setAutoSize functions while auto-sizing
  • Opacity of ScrollablePanel wasn't applied to its scrollbars
  • Setting opacity of SeparatorLine had no effect
  • SFML backend no longer uses sf::Keyboard::isKeyPressed to check modifier keys

v1.4.1

20 Jul 10:27
Compare
Choose a tag to compare

Changelog:

  • Fixed infinite loop in Theme::replace (introduced in TGUI 1.4.0)
  • PanelListBox now has proper background color and borders in White theme

v1.4.0

15 Jul 17:48
Compare
Choose a tag to compare

Changelog:

  • New widget: SplitContainer
  • Added MaxValue getter to Scrollbar
  • Added ScrollbarMaxValue getters to widgets with a scrollbar
  • Added getPixelsPerPoint() to BackendRenderTarget
  • Inner size of ScrollablePanel now depends on shown scrollbars
  • Replaced VerticalScroll with Orientation in Slider, Scrollbar and SpinButton
  • Multiple fixes to EditBoxSlider widget

v1.3.0

10 Jun 16:42
Compare
Choose a tag to compare

Changelog:

  • New backend: raylib
  • New widget: EditBoxSlider (PR #238)
  • All widgets can now be configured to ignore mouse events
  • Added HorizontalLayout and VerticalLayout to replace widget-specific enums
  • Added method to associate user data to combo box items
  • Added onWindowFocus and onWindowUnfocus signals
  • Renamed isKeptInParent to getKeepInParent in ChildWindow
  • Renamed limitTextWidth to setTextWidthLimited in EditBox
  • String::fromNumber now supports int8_t (but no longer accepts pointers)
  • BackendTextureSFML::getInternalTexture() now returns a pointer
  • BackendFontSFML::getInternalFont() now return a pointer

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