diff options
Diffstat (limited to 'src/gui/widgets/window.cpp')
-rw-r--r-- | src/gui/widgets/window.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/widgets/window.cpp b/src/gui/widgets/window.cpp index d2ba03e07..f84376f2d 100644 --- a/src/gui/widgets/window.cpp +++ b/src/gui/widgets/window.cpp @@ -1022,3 +1022,10 @@ gcn::Rectangle Window::getWindowArea() getWidth() - getPadding() * 2, getHeight() - getPadding() * 2); } + +int Window::getOption(std::string name) +{ + if (mSkin) + return mSkin->getOption(name); + return 0; +} |