0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 21:13:04 +02:00
obs-studio/UI/visibility-checkbox.hpp
jp9000 01b274f1da UI: Rename 'obs' dir to 'UI'
This is to prevent confusion both when prefixing commits and when
reading the directory structure for the first time.
2016-08-27 20:19:45 -07:00

18 lines
261 B
C++

#include <QCheckBox>
#include <QPixmap>
class QPaintEvernt;
class VisibilityCheckBox : public QCheckBox {
Q_OBJECT
QPixmap checkedImage;
QPixmap uncheckedImage;
public:
VisibilityCheckBox();
protected:
void paintEvent(QPaintEvent *event) override;
};