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
3
QColor QGCMapPalette::_text [QGCMapPalette::_cColorGroups] = { QColor(255,255,255), QColor(0,0,0) };
4
QColor QGCMapPalette::_textOutline [QGCMapPalette::_cColorGroups] = { QColor(0,0,0,192), QColor(255,255,255,192) };
5
6
QGCMapPalette::QGCMapPalette
(QObject* parent) :
7
QObject(parent)
8
{
9
10
}
11
12
void
QGCMapPalette::setLightColors
(
bool
lightColors)
13
{
14
if
( _lightColors !=
lightColors
) {
15
_lightColors =
lightColors
;
16
emit
paletteChanged
();
17
}
18
}
QGCMapPalette.h
QGCMapPalette::QGCMapPalette
QGCMapPalette(QObject *parent=nullptr)
Definition
QGCMapPalette.cc:6
QGCMapPalette::setLightColors
void setLightColors(bool lightColors)
Definition
QGCMapPalette.cc:12
QGCMapPalette::paletteChanged
void paletteChanged(void)
QGCMapPalette::lightColors
bool lightColors(void) const
Definition
QGCMapPalette.h:46
src
QmlControls
QGCMapPalette.cc
Generated by
1.9.8