mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-29 16:58:07 +00:00
custom context menus (including tray menu for windows) done
This commit is contained in:
@@ -150,6 +150,11 @@ void IconedButton::setOpacity(float64 opacity) {
|
||||
update();
|
||||
}
|
||||
|
||||
void IconedButton::setText(const QString &text) {
|
||||
_text = text;
|
||||
update();
|
||||
}
|
||||
|
||||
bool IconedButton::animStep(float64 ms) {
|
||||
float64 dt = ms / _st.duration;
|
||||
bool res = true;
|
||||
|
||||
Reference in New Issue
Block a user