summaryrefslogtreecommitdiff
path: root/sdGenericViewElements.h
blob: a5cf3cd75b45c86798861e8f542748f2e85ea0ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
//
// Created by chris on 03.04.16.
//

#ifndef VDR_PLUGIN_PLEX_SDGENERICVIEWELEMENTS_H
#define VDR_PLUGIN_PLEX_SDGENERICVIEWELEMENTS_H

#include <memory>
#include <libskindesignerapi/osdelements.h>

class cSdClock {
private:
    int m_lastsecond = 0;

protected:
    std::shared_ptr<skindesignerapi::cViewElement> m_pWatch = nullptr;

public:
    cSdClock(std::shared_ptr<skindesignerapi::cViewElement> pViewelement);

    bool DrawTime();
};

#endif //VDR_PLUGIN_PLEX_SDGENERICVIEWELEMENTS_H