2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +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:
John Preston
2016-06-21 21:09:48 +03:00
parent 1e5b2d7c66
commit 6af6ffa1b2
4 changed files with 97 additions and 49 deletions

View File

@@ -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;