summaryrefslogtreecommitdiff
path: root/src/gui/widgets/windowcontainer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/windowcontainer.h')
-rw-r--r--src/gui/widgets/windowcontainer.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/gui/widgets/windowcontainer.h b/src/gui/widgets/windowcontainer.h
index 646e5d00..861839c9 100644
--- a/src/gui/widgets/windowcontainer.h
+++ b/src/gui/widgets/windowcontainer.h
@@ -40,6 +40,11 @@ class WindowContainer : public Container
void logic() override;
/**
+ * Adds debug drawing.
+ */
+ void draw(gcn::Graphics *graphics) override;
+
+ /**
* Schedule a widget for deletion. It will be deleted at the start of
* the next logic update.
*/
@@ -53,6 +58,13 @@ class WindowContainer : public Container
private:
/**
+ * Draws the outlines of the container and all its children.
+ */
+ void debugDraw(gcn::Graphics *graphics);
+
+ bool widgetIsVisible(gcn::Widget *widget);
+
+ /**
* List of widgets that are scheduled to be deleted.
*/
std::list<gcn::Widget *> mDeathList;