QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
QGCMapPalette.cc
Go to the documentation of this file.
1#include "QGCMapPalette.h"
2
3QColor QGCMapPalette::_text [QGCMapPalette::_cColorGroups] = { QColor(255,255,255), QColor(0,0,0) };
4QColor QGCMapPalette::_textOutline [QGCMapPalette::_cColorGroups] = { QColor(0,0,0,192), QColor(255,255,255,192) };
5
6QGCMapPalette::QGCMapPalette(QObject* parent) :
7 QObject(parent)
8{
9
10}
11
12void QGCMapPalette::setLightColors(bool lightColors)
13{
14 if ( _lightColors != lightColors) {
15 _lightColors = lightColors;
16 emit paletteChanged();
17 }
18}
void paletteChanged(void)