Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LibreSprite/LibreSprite
/ copyColorsTo
Method
copyColorsTo
src/doc/palette.cpp:92–96 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
90
}
91
92
void Palette::copyColorsTo(Palette& dst) const
93
{
94
dst.m_colors = m_colors;
95
++dst.m_modifications;
96
}
97
98
int Palette::countDiff(const Palette& other, int* from, int* to) const
99
{
Callers
7
set_default_palette
Function · 0.80
set_current_palette
Function · 0.80
resetRelativeInfo
Method · 0.80
onExecute
Method · 0.80
onExecute
Method · 0.80
operate
Method · 0.80
setPalette
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected