News: 0001514633

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

SDL3 Adds Cross-Platform System Tray Support

([Linux Gaming] 24 December 01:56 PM EST SDL System Tray Support)


A new feature landing in the [1]SDL3 software/hardware abstraction library today that is commonly used by cross-platform games is a native system tray implementation that works across operating systems.

This newest addition to the Simple DirectMedia Layer won't be too useful for games themselves with not many relying on system tray support, but it may become useful for some cross-platform game managers and other applications leveraging the SDL library for easing their cross-platform integration.

This system tray support for SDL works across Microsoft Windows, macOS, and Unix/Linux systems. The Linux integration is using AppIndicator. Sam Lantinga merged the code this Christmas Eve that was started by developer "Semphriss".

Here's a screenshot example of SDL's cross-platform system tray integration:

More details within [2]this merge request of the now-merged addition to this popular cross-platform library.



[1] https://www.phoronix.com/search/SDL3

[2] https://github.com/libsdl-org/SDL/pull/10873



Quackdoc

ssokolow

AKoskovich

Quackdoc

V1tol

Vermilion

AKoskovich

Quackdoc

anda_skoa

Article the Third:
Where a crime of the kidneys has been committed, the accused should
enjoy the right to a speedy diaper change. Public announcements and
guided tours of the aforementioned are not necessary.
Article the Fourth:
The decision to eat strained lamb or not should be with the "feedee"
and not the "feeder". Blowing the strained lamb into the feeder's
face should be accepted as an opinion, not as a declaration of war.
Article the Fifth:
Babies should enjoy the freedom to vocalize, whether it be in church,
a public meeting place, during a movie, or after hours when the
lights are out. They have not yet learned that joy and laughter have
to last a lifetime and must be conserved.
-- Erma Bombeck, "A Baby's Bill of Rights"