TGUI

Cross-platform modern c++ GUI

ZLIB License

Stars
813
Committers
24

Bot releases are visible (Hide)

TGUI - Nightly build Latest Release

Published by github-actions[bot] about 1 month ago

Commits

  • e6d39df: Correctly mark functions as 'nodiscard' in generated documentation (Bruno Van de Velde)
  • 77e0ef3: SDL3 changed event.key.state to event.key.down (Bruno Van de Velde)
  • 2bd1978: CloseBehavior wasn't copied when cloning ChildWindow (Bruno Van de Velde)
  • 6660698: Added addMultipleItems to ListBox and ComboBox + added getItemByIndex, getIndexById and getIdByIndex to ComboBox (Bruno Van de Velde)
TGUI - Nightly build

Published by github-actions[bot] about 1 month ago

Commits

  • 1672dbd: Added CloseBehavior property to ChildWindow (Bruno Van de Velde)
TGUI -

Published by texus about 2 months ago

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

Published by github-actions[bot] about 2 months ago

Commits

  • 9ce5cd2: Added a few more tests for the Grid widget (Bruno Van de Velde)
  • 2c355bc: Updated version to 1.5 (Bruno Van de Velde)
TGUI - Nightly build

Published by github-actions[bot] about 2 months ago

Commits

  • 429c744: Grid didn't update its size in remove and setAutoSize functions while auto-sizing (Bruno Van de Velde)
TGUI - Nightly build

Published by github-actions[bot] 2 months ago

Commits

  • 984a5a9: Minor improvement to documentation of BackendGuiSDL::mainLoop (Bruno Van de Velde)
  • 4990f7d: Added changeItemHierarchy function to TreeView (Bruno Van de Velde)
  • 98d03d6: Document what showWithEffect and hideWithEffect do when an animation was still playing (Bruno Van de Velde)
TGUI - Nightly build

Published by github-actions[bot] 2 months ago

Commits

  • 6e21723: SFML backend no longer uses sf::Keyboard::isKeyPressed to check modifier keys (Bruno Van de Velde)
TGUI - Nightly build

Published by github-actions[bot] 2 months ago

Commits

  • 64ff862: Update doxygen-awesome to 2.3.3 + get rid of extra scrollbar in documentation on the webside (Bruno Van de Velde)
  • efa878d: Scrollbar::setOrientation will no longer flip width and height + Scrollbar::setSize no longer affects orientation once setOrientation is called (Bruno Van de Velde)
TGUI - Nightly build

Published by github-actions[bot] 2 months ago

Commits

  • 02943ee: SFML 3 reverted changes to object creation and allows default construction again (Bruno Van de Velde)
  • a99df09: Added setItemIndexInParent and getItemIndexInParent functions to TreeView (Bruno Van de Velde)
TGUI - Nightly build

Published by github-actions[bot] 3 months ago

Commits

  • 6541c01: Let CI test generated TGUIConfig.cmake file with more configurations (Bruno Van de Velde)
  • 7467415: Fixed infinite loop when showing/hiding scrollbars in ScrollablePanel causes a resize that causes the scrollbar state to keep changing (Bruno Van de Velde)
  • 2592219: Horizontal scrollbar in ScrollablePanel now has the same default ScrollAmount as the vertical scrollbar (Bruno Van de Velde)
  • 42ef908: Renderers of ChildWindow's minimize and maximize button could have incorrect values under specific circumstances when replacing the theme (Bruno Van de Velde)
TGUI -

Published by texus 3 months ago

Changelog:

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

Published by github-actions[bot] 3 months ago

Commits

  • 002ec9d: Updated version to 1.4.1 (Bruno Van de Velde)
TGUI - Nightly build

Published by github-actions[bot] 3 months ago

Commits

  • 5b03ea5: SDL3 changed SDL_GetClipboardText, SDL_GetTextureScaleMode and SDL_GetRenderDrawBlendMode (Bruno Van de Velde)
  • d37dbf4: PanelListBox couldn't be created in the Gui Builder when it was built in debug mode (Bruno Van de Velde)
  • 566e011: PanelListBox wasn't fully defined in White theme which caused it's background color to be transparent (Bruno Van de Velde)
  • 5abd2a7: Theme::replace could enter an infinite loop since commit c68749b (5 days ago) (Bruno Van de Velde)
  • 2861989: MouseEnter signal didn't fire in ScrollableWidget when the mouse was on the borders (Bruno Van de Velde)
  • 9bc9b5e: Last SDL3 fix broke building with SDL2 (Bruno Van de Velde)
  • 3a2837f: SDL3 reverted their recent changes to SDL_GetTextureScaleMode and SDL_GetRenderDrawBlendMode (Bruno Van de Velde)
TGUI -

Published by texus 3 months ago

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

Published by github-actions[bot] 3 months ago

Commits

  • 2f6a1f8: ScrollablePanel::getInnerSize() now always subtracts the scrollbar width when a scrollbar is shown (instead of only when policy is set to Always), allowing e.g. widgets with 100% width to become smaller when the vertical scrollbar becomes visible (Bruno Van de Velde)
TGUI - Nightly build

Published by github-actions[bot] 4 months ago

Commits

  • bf8d47c: SDL_SetTextInputRect and SDL_RenderGeometryRaw changed in SDL3 (Bruno Van de Velde)
  • e4b5715: Functions in Container to move the widget forward or backward now use the virtual setWidgetIndex internally so that overriding setWidgetIndex can now be used to be notified about any z-index changes (Bruno Van de Velde)
  • 8be5501: Trigger onMouseLeave on the child widget before triggering it on the container, as the mouse cursor was being incorrectly reset with nested containers where one of them had a custom mouse cursor (Bruno Van de Velde)
  • dc68f20: Added getPixelsPerPoint() to BackendRenderTarget (Bruno Van de Velde)
  • bb8f07d: Use clamp function instead of combining min and max (Bruno Van de Velde)
  • 21d4f32: When dragging something (e.g. slider thumb) and the mouse was released outside the window, the widget remained in hover state (Bruno Van de Velde)
  • 1a607dc: Added new Orientation enum to replace VerticalScroll boolean used in Slider, Scrollbar and SpinButton (Bruno Van de Velde)
  • 43e1de1: DefaultBackendWindow::pollEvent was incorrectly returning false when it encountered an event that TGUI didn't handle, this caused significant lagging in the Gui Builder when using SFML 3 and moving the mouse (Bruno Van de Velde)
  • 4db48e0: CI build failed when TGUI_REMOVE_DEPRECATED_CODE was defined (Bruno Van de Velde)
  • fea3a03: Don't replace clamp with std::clamp when compiling with c++17 (it would require including but that would add unnecessary compile time as long as clamp is defined in a header that is included in every source file) (Bruno Van de Velde)
TGUI - Nightly build

Published by github-actions[bot] 4 months ago

Commits

  • cdbf25b: Minor optimization in 3 places where NVRO was possible but wasn't used (Bruno Van de Velde)
  • 94eca83: SDL TextInput functions now take a window argument in SDL3 (Bruno Van de Velde)
  • cbb6360: Font::loadFromMemory was renamed to Font::openFromMemory in SFML 3 (Bruno Van de Velde)
TGUI - Nightly build

Published by github-actions[bot] 4 months ago

Commits

  • 4a5583a: sf::Rect changed in SFML 3 (Bruno Van de Velde)
  • d44bb52: Removed unnecessary empty lines (Bruno Van de Velde)
TGUI -

Published by texus 4 months ago

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

Published by github-actions[bot] 4 months ago

Commits

  • b354b8e: sf::Texture no longer has a default constructor in SFML 3 (Bruno Van de Velde)
  • 36071e0: Cursor names changed in SDL3 (Bruno Van de Velde)