TGUI

Cross-platform modern c++ GUI

ZLIB License

Stars
813
Committers
24

Bot releases are hidden (Show)

TGUI -

Published by texus over 4 years ago

Changelog:

  • Added RightClicked signal to TreeView (PR #125)
  • Changed the keyboard shortcuts in EditBox and TextBox for macOS
  • Added getIndexById and getIdByIndex to ListBox
  • Added global setEditCursorBlinkRate function
  • Added renderer properties in ComboBox for disabled state
  • Added bind functions to layouts to bind to inner size
  • Added getFocusedChild() and getFocusedLeaf() to Container and Gui
  • Made updateTime() in Gui public and let it return whether something changed
  • Picture had wrong size when loading from file with a relative size
  • String to float conversion could fail since 0.8.6 when C locale was changed
TGUI -

Published by texus over 4 years ago

Changelog:

  • TextBox can now have a default text that is displayed when it is empty (PR #117)
  • Added SignalManager class to connect signals by widget name (even if widget not loaded yet) (PR #112)
  • Added setTextSize function to Widget and Gui to allow changing text sizes globally
  • Improved TextureManager to only load image once if different parts of image are requested
  • Index as optional parameter in SignalItem (which was added in 0.8.6) didn't actually work yet
  • MenuItemClicked signal is now also emitted when clicking on menu that has no menu items
  • Added option to not replace existing widgets when loading widgets from file
  • Added isAnimationPlaying function to Widget (for the show and hide animations)
  • Fixed linking issues when compiling TGUI as a static library while dynamically linking SFML
  • MousePressed signal in ListBox is now send after the selected item changed instead of before
TGUI -

Published by texus about 5 years ago

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
TGUI -

Published by texus over 5 years ago

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
TGUI -

Published by texus over 5 years ago

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
TGUI -

Published by texus over 5 years ago

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)
TGUI -

Published by texus almost 6 years ago

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
TGUI -

Published by texus about 6 years ago

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.

TGUI - v0.8.0

Published by texus about 6 years ago

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
TGUI -

Published by texus about 6 years ago

Changelog:

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