sincerely
Singaporean
If you have not done so, read this full tutorial on how to use SGEXTN to build an application.
SGWTextInput::SGWTextInput(SGWWidget* parent, const SGXString& placeholder, void (*validationFunction)(), float x1, float x0, float y1, float y0, float w1, float w0, float h1, float h0);
int SGWInput::attachedInt;
SGXString SGWInput::attachedString;
void SGWWidget::deleteWidget();
void (*SGWInput::focusEndFunction)();
void (*SGWInput::focusEndFunctionWithInt)(int);
void (*SGWInput::focusEndFunctionWithPointer)(SGWInput*);
void (*SGWInput::focusEndFunctionWithString)(const SGXString&);
void (*SGWInput::focusStartFunction)();
void (*SGWInput::focusStartFunctionWithInt)(int);
void (*SGWInput::focusStartFunctionWithPointer)(SGWInput*);
void (*SGWInput::focusStartFunctionWithString)(const SGXString&);
[[nodiscard]] SGXColourRGBA SGWInput::getBackgroundColour(bool* isUsing) const;
[[nodiscard]] SGXColourRGBA SGWInput::getBackgroundFocusColour(bool* isUsing) const;
[[nodiscard]] int SGWInput::getBackgroundFocusThemeColour(bool* isUsing) const;
[[nodiscard]] SGXColourRGBA SGWInput::getBackgroundHoverColour(bool* isUsing) const;
[[nodiscard]] SGXColourRGBA SGWInput::getBackgroundHoverInvalidColour(bool* isUsing) const;
[[nodiscard]] int SGWInput::getBackgroundHoverInvalidThemeColour(bool* isUsing) const;
[[nodiscard]] int SGWInput::getBackgroundHoverThemeColour(bool* isUsing) const;
[[nodiscard]] SGXColourRGBA SGWInput::getBackgroundInvalidColour(bool* isUsing) const;
[[nodiscard]] int SGWInput::getBackgroundInvalidThemeColour(bool* isUsing) const;
[[nodiscard]] int SGWInput::getBackgroundThemeColour(bool* isUsing) const;
[[nodiscard]] SGLArray‹SGWWidget*› SGWWidget::getChildren() const;
[[nodiscard]] float SGWInput::getF0() const;
[[nodiscard]] float SGWInput::getF1() const;
[[nodiscard]] SGXString SGWInput::getFont() const;
[[nodiscard]] SGXColourRGBA SGWInput::getForegroundColour(bool* isUsing) const;
[[nodiscard]] SGXColourRGBA SGWInput::getForegroundFocusColour(bool* isUsing) const;
[[nodiscard]] int SGWInput::getForegroundFocusThemeColour(bool* isUsing) const;
[[nodiscard]] SGXColourRGBA SGWInput::getForegroundHoverColour(bool* isUsing) const;
[[nodiscard]] SGXColourRGBA SGWInput::getForegroundHoverInvalidColour(bool* isUsing) const;
[[nodiscard]] int SGWInput::getForegroundHoverInvalidThemeColour(bool* isUsing) const;
[[nodiscard]] int SGWInput::getForegroundHoverThemeColour(bool* isUsing) const;
[[nodiscard]] SGXColourRGBA SGWInput::getForegroundInvalidColour(bool* isUsing) const;
[[nodiscard]] int SGWInput::getForegroundInvalidThemeColour(bool* isUsing) const;
[[nodiscard]] int SGWInput::getForegroundThemeColour(bool* isUsing) const;
[[nodiscard]] float SGWWidget::getH0() const;
[[nodiscard]] float SGWWidget::getH1() const;
[[nodiscard]] SGWHorizontalAlignment::Flag SGWInput::getHorizontalAlignment() const;
[[nodiscard]] bool SGWInput::getInvalid() const;
[[nodiscard]] bool SGWWidget::getItemVisibility() const;
[[nodiscard]] SGWWidget* SGWWidget::getParent() const;
[[nodiscard]] SGXString SGWInput::getPlaceholderText() const;
[[nodiscard]] float SGWInput::getTextAsFloat(bool* isValid, float minimum, float maximum) const;
[[nodiscard]] int SGWInput::getTextAsInt(bool* isValid, int minimum, int maximum) const;
[[nodiscard]] SGXString SGWInput::getTextAsString() const;
[[nodiscard]] SGWType::Type SGWWidget::getType() const;
[[nodiscard]] SGWVerticalAlignment::Flag SGWInput::getVerticalAlignment() const;
[[nodiscard]] float SGWWidget::getW0() const;
[[nodiscard]] float SGWWidget::getW1() const;
[[nodiscard]] float SGWWidget::getX0() const;
[[nodiscard]] float SGWWidget::getX1() const;
[[nodiscard]] float SGWWidget::getY0() const;
[[nodiscard]] float SGWWidget::getY1() const;
static SGWWidget* SGWWidget::parentWidget;
static SGWWidget* SGWWidget::rootWidget;
void SGWWidget::screenshot(void (*callback)(SGRImage*)) const;
void SGWInput::setBackgroundColour(SGXColourRGBA colour);
void SGWInput::setBackgroundFocusColour(SGXColourRGBA colour);
void SGWInput::setBackgroundFocusThemeColour(int themeColour);
void SGWInput::setBackgroundHoverColour(SGXColourRGBA colour);
void SGWInput::setBackgroundHoverInvalidColour(SGXColourRGBA colour);
void SGWInput::setBackgroundHoverInvalidThemeColour(int themeColour);
void SGWInput::setBackgroundHoverThemeColour(int themeColour);
void SGWInput::setBackgroundInvalidColour(SGXColourRGBA colour);
void SGWInput::setBackgroundInvalidThemeColour(int themeColour);
void SGWInput::setBackgroundThemeColour(int themeColour);
void SGWInput::setF0(float f0);
void SGWInput::setF1(float f1);
void SGWInput::setFont(const SGXString& font);
void SGWInput::setForegroundColour(SGXColourRGBA colour);
void SGWInput::setForegroundFocusColour(SGXColourRGBA colour);
void SGWInput::setForegroundFocusThemeColour(int themeColour);
void SGWInput::setForegroundHoverColour(SGXColourRGBA colour);
void SGWInput::setForegroundHoverInvalidColour(SGXColourRGBA colour);
void SGWInput::setForegroundHoverInvalidThemeColour(int themeColour);
void SGWInput::setForegroundHoverThemeColour(int themeColour);
void SGWInput::setForegroundInvalidColour(SGXColourRGBA colour);
void SGWInput::setForegroundInvalidThemeColour(int themeColour);
void SGWInput::setForegroundThemeColour(int themeColour);
void SGWWidget::setH0(float h0);
void SGWWidget::setH1(float h1);
void SGWInput::setHorizontalAlignment(SGWHorizontalAlignment::Flag alignment);
void SGWInput::setInvalid(bool invalid);
void SGWWidget::setItemVisibility(bool x);
void SGWInput::setPlaceholderText(const SGXString& s);
void SGWInput::setTextFromFloat(float x);
void SGWInput::setTextFromInt(int x);
void SGWInput::setTextFromString(const SGXString& s);
void SGWInput::setVerticalAlignment(SGWVerticalAlignment::Flag alignment);
void SGWWidget::setW0(float w0);
void SGWWidget::setW1(float w1);
void SGWWidget::setX0(float x0);
void SGWWidget::setX1(float x1);
void SGWWidget::setY0(float y0);
void SGWWidget::setY1(float y1);
void (*SGWInput::textChangedFunction)();
void (*SGWInput::textChangedFunctionWithInt)(int);
void (*SGWInput::textChangedFunctionWithPointer)(SGWInput*);
void (*SGWInput::textChangedFunctionWithString)(const SGXString&);
©2025 05524F.sg (Singapore)