2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Closed beta 10019006: left main menu.

This commit is contained in:
John Preston
2016-11-11 23:01:00 +03:00
parent a74baaea36
commit 78f55c10e9
5 changed files with 13 additions and 12 deletions

View File

@@ -22,7 +22,7 @@ Copyright (c) 2014-2016 John Preston, https://desktop.telegram.org
#include "core/utils.h"
#define BETA_VERSION_MACRO (10019005ULL)
#define BETA_VERSION_MACRO (10019006ULL)
constexpr int AppVersion = 10020;
constexpr str_const AppVersionStr = "0.10.20";

View File

@@ -30,7 +30,6 @@ public:
FlatButton(QWidget *parent, const QString &text, const style::FlatButton &st);
void step_appearance(float64 ms, bool timer);
void paintEvent(QPaintEvent *e);
void setOpacity(float64 o);
float64 opacity() const;
@@ -40,11 +39,13 @@ public:
int32 textWidth() const;
protected:
void paintEvent(QPaintEvent *e) override;
void onStateChanged(int oldState, StateChangeSource source) override;
private:
QString _text, _textForAutoSize;
int _width, _textWidth;
int _width;
const style::FlatButton &_st;