sincerely
Singaporean
If you have not done so, read this full tutorial on how to use SGEXTN to build an application.
class SGXThemeColours;
part of SGEXTN module SG_Widgets
provides access to theme colour ⁽㈳㈴㈳㈮㈱㈨㈠㈫ ㈧㈤㈱㈤⁾
list of all including inherited members
preprocessor file inclusion directive: #include ‹SGXThemeColours.h›
CMake target for BuildLah: SGEXTN::SG_Widgets
see this link for more information about BuildLah
parent class: (none)
children classes: (none)
static SGLArray‹SGXColourRGBA› generateSincerityUIThemeSet(SGXColourRGBA baseColour, bool darkMode);
static SGXColourRGBA getThemeColour(int themeColour);
SGXThemeColours allows theme colour ⁽㈳㈴㈳㈮㈱㈨㈠㈫ ㈧㈤㈱㈤⁾ to be accessed as SGXColourRGBA values. This can be helpful to set default colour choices to match theme colour ⁽㈳㈴㈳㈮㈱㈨㈠㈫ ㈧㈤㈱㈤⁾.
Returns theme colour ⁽㈳㈴㈳㈮㈱㈨㈠㈫ ㈧㈤㈱㈤⁾.
Returns a SGLArray of SGXColourRGBA representing a Sincerity UI compatible theme with hue and saturation following that of baseColour. This is a light mode theme if darkMode is false, and dark mode otherwise.
All Sincerity UI compatible themes are WCAG AAA compliant.
Returns theme colour ⁽㈳㈴㈳㈮㈱㈨㈠㈫ ㈧㈤㈱㈤⁾ number themeColour.
If themeColour is in range, this returns an actual colour. Otherwise it gives fully transparent black.
©2025 05524F.sg (Singapore)