summaryrefslogtreecommitdiff
path: root/src/gui/setup_video.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-20 01:00:19 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-20 13:55:43 +0300
commit79b4bbbe0ead006bec273c247eaa50c2fd585863 (patch)
tree4e4515e5623b74ae3de48fd6f5dac2b7c2a493d5 /src/gui/setup_video.cpp
parent41adf71a823f475b7f12b00e06056b778311da84 (diff)
downloadmv-79b4bbbe0ead006bec273c247eaa50c2fd585863.tar.gz
mv-79b4bbbe0ead006bec273c247eaa50c2fd585863.tar.bz2
mv-79b4bbbe0ead006bec273c247eaa50c2fd585863.tar.xz
mv-79b4bbbe0ead006bec273c247eaa50c2fd585863.zip
Add palette inheritance to checkbox class.
Diffstat (limited to 'src/gui/setup_video.cpp')
-rw-r--r--src/gui/setup_video.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/setup_video.cpp b/src/gui/setup_video.cpp
index 6c28c6e1e..3da6167c0 100644
--- a/src/gui/setup_video.cpp
+++ b/src/gui/setup_video.cpp
@@ -231,12 +231,12 @@ Setup_Video::Setup_Video(const Widget2 *const widget) :
mNoFrame(config.getBoolValue("noframe")),
mModeListModel(new ModeListModel),
mModeList(new ListBox(widget, mModeListModel)),
- mFsCheckBox(new CheckBox(_("Full screen"), mFullScreenEnabled)),
- mCustomCursorCheckBox(new CheckBox(_("Custom cursor"),
+ mFsCheckBox(new CheckBox(this, _("Full screen"), mFullScreenEnabled)),
+ mCustomCursorCheckBox(new CheckBox(this, _("Custom cursor"),
mCustomCursorEnabled)),
- mEnableResizeCheckBox(new CheckBox(_("Enable resize"), mEnableResize)),
- mNoFrameCheckBox(new CheckBox(_("No frame"), mNoFrame)),
- mFpsCheckBox(new CheckBox(_("FPS limit:"))),
+ mEnableResizeCheckBox(new CheckBox(this,_("Enable resize"), mEnableResize)),
+ mNoFrameCheckBox(new CheckBox(this,_("No frame"), mNoFrame)),
+ mFpsCheckBox(new CheckBox(this,_("FPS limit:"))),
mFpsSlider(new Slider(2, 160)),
mFpsLabel(new Label),
mAltFpsSlider(new Slider(2, 160)),