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

Moved AudioPlayerState+position+duration+frequency to a single struct.

This commit is contained in:
John Preston
2016-07-10 16:02:22 +03:00
parent 99b15719cf
commit 1fee0822fb
13 changed files with 198 additions and 253 deletions

View File

@@ -26,7 +26,6 @@ class MediaView : public TWidget, public RPCSender, public ClickHandlerHost {
Q_OBJECT
public:
MediaView();
void paintEvent(QPaintEvent *e) override;
@@ -83,7 +82,6 @@ public:
void clickHandlerPressedChanged(const ClickHandlerPtr &p, bool pressed) override;
public slots:
void onHideControls(bool force = false);
void onDropdownHiding();
@@ -109,7 +107,6 @@ public slots:
void updateImage();
private:
void displayPhoto(PhotoData *photo, HistoryItem *item);
void displayDocument(DocumentData *doc, HistoryItem *item);
void findCurrent();