From d0d120837ccf0a20c6d43a1193f257cfaeb194f6 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 1 Jun 2011 23:16:44 +0300 Subject: Change trade window font to secure font if need. --- src/gui/widgets/window.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/gui/widgets/window.h') 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 -- cgit v1.2.3-70-g09d2