mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Field autocomplete now replaces text part only up to cursor position.
New radial photo load progress in MediaView instead the old 3-dots.
This commit is contained in:
@@ -111,6 +111,13 @@ private:
|
||||
void findCurrent();
|
||||
void loadBack();
|
||||
|
||||
// Radial animation interface.
|
||||
float64 radialProgress() const;
|
||||
bool radialLoading() const;
|
||||
QRect radialRect() const;
|
||||
void radialStart();
|
||||
uint64 radialTimeShift() const;
|
||||
|
||||
// Computes the last OverviewChatPhotos PhotoData* from _history or _migrated.
|
||||
struct LastChatPhoto {
|
||||
HistoryItem *item;
|
||||
@@ -173,9 +180,11 @@ private:
|
||||
int _docNameWidth = 0, _docSizeWidth = 0, _docExtWidth = 0;
|
||||
QRect _docRect, _docIconRect;
|
||||
int _docThumbx = 0, _docThumby = 0, _docThumbw = 0;
|
||||
RadialAnimation _docRadial;
|
||||
LinkButton _docDownload, _docSaveAs, _docCancel;
|
||||
|
||||
QRect _photoRadialRect;
|
||||
RadialAnimation _radial;
|
||||
|
||||
History *_migrated = nullptr;
|
||||
History *_history = nullptr; // if conversation photos or files overview
|
||||
PeerData *_peer = nullptr;
|
||||
|
Reference in New Issue
Block a user