MCPcopy Create free account
hub / github.com/derceg/explorerplusplus / insert

Method insert

Explorer++/Helper/CachedIcons.cpp:38–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38void CachedIcons::insert(const CachedIcon &cachedIcon)
39{
40 m_cachedIconSet.push_front(cachedIcon);
41
42 if (m_cachedIconSet.size() > m_maxItems)
43 {
44 m_cachedIconSet.pop_back();
45 }
46}
47
48// Replaces an existing cached icon. The icon will also be moved to the
49// front of the list, which will stop it from being removed if the list

Callers 15

OnTabPreRemovalMethod · 0.45
ListViewSubclassProcMethod · 0.45
AddIconToImageListMethod · 0.45
OnInitDialogMethod · 0.45
InsertDriveMethod · 0.45
OnInitDialogMethod · 0.45
CreateNewTabMethod · 0.45
SetUpToolbarImageListMethod · 0.45
AddStringToToolbarMethod · 0.45
OnTimerMethod · 0.45
AddChildMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected