From bdf4ff34f24ef75d5209addf756633f9db6cb232 Mon Sep 17 00:00:00 2001 From: John Preston Date: Mon, 1 Apr 2024 10:19:04 +0400 Subject: [PATCH] Add FlatLabel::st() accessor. --- ui/widgets/labels.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ui/widgets/labels.h b/ui/widgets/labels.h index cb66f5c..bbea9e8 100644 --- a/ui/widgets/labels.h +++ b/ui/widgets/labels.h @@ -117,6 +117,10 @@ public: const style::FlatLabel &st = st::defaultFlatLabel, const style::PopupMenu &stMenu = st::defaultPopupMenu); + [[nodiscard]] const style::FlatLabel &st() const { + return _st; + } + void setOpacity(float64 o); void setTextColorOverride(std::optional color);