summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorPaul Olav Tvete <paul.tvete@nokia.com>2009-04-23 13:44:28 (GMT)
committerPaul Olav Tvete <paul.tvete@nokia.com>2009-04-23 13:45:16 (GMT)
commit63414acd04910b6b016786f1c340440562eebca1 (patch)
tree607f94ac5b99670e2967f85c712bda5c73fe7924 /tools
parentd1f67f4287b7536b068672fbb7fd31ad02306ca3 (diff)
downloadQt-63414acd04910b6b016786f1c340440562eebca1.zip
Qt-63414acd04910b6b016786f1c340440562eebca1.tar.gz
Qt-63414acd04910b6b016786f1c340440562eebca1.tar.bz2
Make BGR mode configurable through the GUI
Diffstat (limited to 'tools')
-rw-r--r--tools/qvfb/qvfb.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/qvfb/qvfb.cpp b/tools/qvfb/qvfb.cpp
index 0fb3577..8de638f 100644
--- a/tools/qvfb/qvfb.cpp
+++ b/tools/qvfb/qvfb.cpp
@@ -635,6 +635,7 @@ void QVFb::configure()
config->touchScreen->setChecked(view->touchScreenEmulation());
config->lcdScreen->setChecked(view->lcdScreenEmulation());
chooseDepth(view->displayDepth(), view->displayFormat());
+ config->rgbSwapped->setChecked(view->rgbSwapped());
connect(config->skin, SIGNAL(activated(int)), this, SLOT(skinConfigChosen(int)));
if ( view->gammaRed() == view->gammaGreen() && view->gammaGreen() == view->gammaBlue() ) {
config->gammaslider->setValue(int(view->gammaRed()*400));
@@ -710,6 +711,7 @@ void QVFb::configure()
}
view->setViewFormat(displayFormat);
view->setTouchscreenEmulation( config->touchScreen->isChecked() );
+ view->setRgbSwapped(config->rgbSwapped->isChecked());
bool lcdEmulation = config->lcdScreen->isChecked();
view->setLcdScreenEmulation( lcdEmulation );
if ( lcdEmulation )