MCPcopy Create free account
hub / github.com/OpenShot/libopenshot / is_red

Function is_red

tests/SphericalEffect.cpp:55–55  ·  view source on GitHub ↗

Loose classifiers for our colored guide lines

Source from the content-addressed store, hash-verified

53
54// Loose classifiers for our colored guide lines
55static bool is_red(QColor c) { return c.red() >= 200 && c.green() <= 60 && c.blue() <= 60; }
56static bool is_yellow(QColor c) { return c.red() >= 200 && c.green() >= 170 && c.blue() <= 60; }
57
58/* ----------------------------------------------------------------------------

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected