MCPcopy Create free account
hub / github.com/OpenOrienteering/mapper / MapColor

Method MapColor

src/core/map_color.cpp:35–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33namespace OpenOrienteering {
34
35MapColor::MapColor()
36: name(QCoreApplication::translate("OpenOrienteering::Map", "New color")),
37 priority(Undefined),
38 opacity(1.0f),
39 q_color(Qt::black),
40 spot_color_method(MapColor::UndefinedMethod),
41 cmyk_color_method(MapColor::CustomColor),
42 rgb_color_method(MapColor::CmykColor),
43 flags(0),
44 spot_color_name()
45{
46 Q_ASSERT(isBlack());
47}
48
49MapColor::MapColor(int priority)
50: name(QCoreApplication::translate("OpenOrienteering::Map", "New color")),

Callers

nothing calls this directly

Calls 1

QColorFunction · 0.70

Tested by

no test coverage detected