MCPcopy Create free account
hub / github.com/LibreSprite/LibreSprite / sequenceSetColor

Method sequenceSetColor

src/app/file/file.cpp:773–776  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

771}
772
773void FileOp::sequenceSetColor(int index, int r, int g, int b)
774{
775 m_seq.palette->setEntry(index, rgba(r, g, b, 255));
776}
777
778void FileOp::sequenceGetColor(int index, int* r, int* g, int* b) const
779{

Callers 5

onLoadMethod · 0.80
read_bmicolorsFunction · 0.80
onLoadMethod · 0.80
onLoadMethod · 0.80
onLoadMethod · 0.80

Calls 2

setEntryMethod · 0.80
rgbaFunction · 0.50

Tested by

no test coverage detected