2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Use crl::time/now instead of TimeMs/getms.

This commit is contained in:
John Preston
2019-02-19 10:57:53 +04:00
parent d208236994
commit fe618bd652
310 changed files with 1133 additions and 1141 deletions

View File

@@ -236,12 +236,12 @@ private:
bool active,
bool selected,
bool onlyBackground,
TimeMs ms) const;
crl::time ms) const;
void paintSearchInChat(
Painter &p,
int fullWidth,
bool onlyBackground,
TimeMs ms) const;
crl::time ms) const;
void paintSearchInPeer(
Painter &p,
not_null<PeerData*> peer,
@@ -283,7 +283,7 @@ private:
void stopReorderPinned();
int countPinnedIndex(Dialogs::Row *ofRow);
void savePinnedOrder();
void step_pinnedShifting(TimeMs ms, bool timer);
void step_pinnedShifting(crl::time ms, bool timer);
void handleChatMigration(not_null<ChatData*> chat);
not_null<Window::Controller*> _controller;
@@ -310,7 +310,7 @@ private:
QPoint _dragStart;
struct PinnedRow {
anim::value yadd;
TimeMs animStartTime = 0;
crl::time animStartTime = 0;
};
std::vector<PinnedRow> _pinnedRows;
BasicAnimation _a_pinnedShifting;