summaryrefslogtreecommitdiffhomepage
path: root/compat/check-visible.hpp
blob: 6669b84d93b951092c8261ea6ce11c35b1b84456 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#pragma once

#include "export.hpp"
#include "macros.h"

class QWidget;

never_inline OTR_COMPAT_EXPORT
void set_is_visible(QWidget const& w, bool force = false);

OTR_COMPAT_EXPORT
bool check_is_visible();

OTR_COMPAT_EXPORT
void force_is_visible(bool value);