MCPcopy Create free account
hub / github.com/WarmUpTill/SceneSwitcher / color_from_int

Function color_from_int

plugins/scripting/utils/properties-view.cpp:207–211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

205}
206
207static inline QColor color_from_int(long long val)
208{
209 return QColor(val & 0xff, (val >> 8) & 0xff, (val >> 16) & 0xff,
210 (val >> 24) & 0xff);
211}
212
213static inline long long color_to_int(QColor color)
214{

Callers 2

AddColorInternalMethod · 0.70
ColorChangedInternalMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected