summaryrefslogtreecommitdiff
path: root/dgl/Window.hpp
diff options
context:
space:
mode:
authorfalkTX <falktx@gmail.com>2013-12-24 07:39:54 +0000
committerfalkTX <falktx@gmail.com>2013-12-24 07:39:54 +0000
commit4f34027d957447639bff8e3b8f848d2dbb95a079 (patch)
tree892cb2b44b75749840202772f53c2028411bcf8f /dgl/Window.hpp
parenta054116f6769856c6d52805f6292194016b8bded (diff)
DGL: Add App IdleCallback, use "_" prefix for private calls
Diffstat (limited to 'dgl/Window.hpp')
-rw-r--r--dgl/Window.hpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/dgl/Window.hpp b/dgl/Window.hpp
index 1cd5b225..2a3282ae 100644
--- a/dgl/Window.hpp
+++ b/dgl/Window.hpp
@@ -46,7 +46,6 @@ public:
void exec(bool lockWait = false);
void focus();
- void idle();
void repaint();
bool isVisible() const noexcept;
@@ -72,10 +71,12 @@ public:
private:
class PrivateData;
PrivateData* const pData;
+ friend class App;
friend class Widget;
- void addWidget(Widget* const widget);
- void removeWidget(Widget* const widget);
+ void _addWidget(Widget* const widget);
+ void _removeWidget(Widget* const widget);
+ void _idle();
};
// -----------------------------------------------------------------------