MCPcopy Create free account
hub / github.com/dail8859/NotepadNext / ScintillaColorToQColor

Function ScintillaColorToQColor

src/RtfConverter.cpp:45–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45static QColor ScintillaColorToQColor(int color)
46{
47 int r = color & 0xFF;
48 int g = (color >> 8) & 0xFF;
49 int b = (color >> 16) & 0xFF;
50
51 return QColor::fromRgb(r, g, b);
52}
53
54void RtfConverter::convertRange(QTextStream &stream, int start, int end)
55{

Callers 1

convertRangeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected