summaryrefslogtreecommitdiff
path: root/src/gui/quitdialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-17 20:39:51 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-17 20:41:27 +0300
commit5a9a9d113f88ab4e3f9e570397a744760d4520c1 (patch)
tree68d5b87dbb37f556ad74b23d09d073c41a73c6c5 /src/gui/quitdialog.cpp
parent098901c3c49ddaed12ecdcf1739a5f680b457dfe (diff)
downloadmv-5a9a9d113f88ab4e3f9e570397a744760d4520c1.tar.gz
mv-5a9a9d113f88ab4e3f9e570397a744760d4520c1.tar.bz2
mv-5a9a9d113f88ab4e3f9e570397a744760d4520c1.tar.xz
mv-5a9a9d113f88ab4e3f9e570397a744760d4520c1.zip
Extend radio button theming.
New options: padding - padding from all sides except left imagePadding - padding from left before image imageSize - image size for computation width spacing - space between image and text width = imagePadding + imageSize + spacing + text width + padding height = padding + text height + padding
Diffstat (limited to 'src/gui/quitdialog.cpp')
-rw-r--r--src/gui/quitdialog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/quitdialog.cpp b/src/gui/quitdialog.cpp
index 907a26493..9af09d24e 100644
--- a/src/gui/quitdialog.cpp
+++ b/src/gui/quitdialog.cpp
@@ -119,7 +119,7 @@ QuitDialog::~QuitDialog()
}
void QuitDialog::placeOption(ContainerPlacer &placer,
- gcn::RadioButton *const option)
+ RadioButton *const option)
{
placer(0, static_cast<int>(mOptions.size()), option, 3);
mOptions.push_back(option);
@@ -194,8 +194,8 @@ void QuitDialog::keyPressed(gcn::KeyEvent &keyEvent)
if (dir != 0)
{
- std::vector<gcn::RadioButton*>::const_iterator it = mOptions.begin();
- std::vector<gcn::RadioButton*>::const_iterator it_end = mOptions.end();
+ std::vector<RadioButton*>::const_iterator it = mOptions.begin();
+ std::vector<RadioButton*>::const_iterator it_end = mOptions.end();
for (; it < it_end; ++it)
{