Skip to content

Commit

Permalink
Add FlatLabel::st() accessor.
Browse files Browse the repository at this point in the history
  • Loading branch information
john-preston committed Apr 1, 2024
1 parent 476d751 commit bdf4ff3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ui/widgets/labels.h
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,10 @@ class FlatLabel : public RpWidget, public ClickHandlerHost {
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<QColor> color);

Expand Down

0 comments on commit bdf4ff3

Please sign in to comment.