Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OneLoneCoder/olcPixelGameEngine
/ move_up
Method
move_up
utilities/olcUTIL_Container.h:112–116 ·
view source on GitHub ↗
Move selected item positively
Source
from the content-addressed store, hash-verified
110
111
// Move selected item positively
112
void move_up()
113
{
114
if(move_up(m_nSelectedItem))
115
m_nSelectedItem++;
116
}
117
118
// Move selected item negatively
119
void move_down()
Callers
nothing calls this directly
Calls
1
size
Method · 0.45
Tested by
no test coverage detected