mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
enabled contact share from templates, copy phone number from context menu in profiles
This commit is contained in:
@@ -26,6 +26,7 @@ class PhotoSendBox : public LayeredWidget {
|
||||
public:
|
||||
|
||||
PhotoSendBox(const ReadyLocalMedia &img);
|
||||
PhotoSendBox(const QString &phone, const QString &fname, const QString &lname);
|
||||
void parentResized();
|
||||
void animStep(float64 ms);
|
||||
void keyPressEvent(QKeyEvent *e);
|
||||
@@ -40,7 +41,7 @@ public slots:
|
||||
|
||||
private:
|
||||
|
||||
ReadyLocalMedia _img;
|
||||
ReadyLocalMedia *_img;
|
||||
int32 _width, _height, _thumbx, _thumby, _thumbw, _thumbh;
|
||||
QString _name, _size;
|
||||
int32 _namew, _textw;
|
||||
@@ -48,6 +49,8 @@ private:
|
||||
FlatButton _sendButton, _cancelButton;
|
||||
QPixmap _thumb;
|
||||
|
||||
QString _phone, _fname, _lname;
|
||||
|
||||
anim::fvalue a_opacity;
|
||||
|
||||
bool _hiding;
|
||||
|
Reference in New Issue
Block a user