MCPcopy Create free account
hub / github.com/HertzDevil/0CC-FamiTracker / GetItemValue

Method GetItemValue

Source/GraphEditorComponentImpl.cpp:282–285  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

280}
281
282int CBarGraph::GetItemValue(CPoint point) const {
283 int ItemHeight = GetItemHeight();
284 return items_ - (((int)point.y - GetItemTop() + ItemHeight / 2) / ItemHeight);
285}
286
287int CBarGraph::GetMinItemValue() const {
288 return 0;

Callers

nothing calls this directly

Calls 3

GetGraphScrollOffsetMethod · 0.80
GetSettingMethod · 0.80
GetSequenceMethod · 0.45

Tested by

no test coverage detected