summaryrefslogtreecommitdiff
path: root/src/gui/widgets/window.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/window.h')
-rw-r--r--src/gui/widgets/window.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/widgets/window.h b/src/gui/widgets/window.h
index f455f1238..4e9a6d87b 100644
--- a/src/gui/widgets/window.h
+++ b/src/gui/widgets/window.h
@@ -384,6 +384,9 @@ class Window : public gcn::Window, gcn::WidgetListener
bool isResizeAllowed(gcn::MouseEvent &event);
+ void setCaptionFont(gcn::Font *font)
+ { mCaptionFont = font; }
+
private:
enum ResizeHandles
{
@@ -442,6 +445,7 @@ class Window : public gcn::Window, gcn::WidgetListener
static const unsigned resizeBorderWidth = 10;
GraphicsVertexes *mVertexes;
bool mRedraw;
+ gcn::Font *mCaptionFont;
};
#endif