Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BespokeSynth/BespokeSynth
/ SetGrid
Method
SetGrid
Source/UIGrid.cpp:484–490 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
482
}
483
484
void UIGrid::SetGrid(int cols, int rows)
485
{
486
cols = ofClamp(cols, 0, MAX_GRID_COLS);
487
rows = ofClamp(rows, 0, MAX_GRID_ROWS);
488
mRows = rows;
489
mCols = cols;
490
}
491
492
void UIGrid::Clear()
493
{
Callers
15
UpdateNumMeasures
Method · 0.45
ButtonClicked
Method · 0.45
IntSliderUpdated
Method · 0.45
Step
Method · 0.45
IntSliderUpdated
Method · 0.45
SetUpFromSaveData
Method · 0.45
IntSliderUpdated
Method · 0.45
OnScaleChanged
Method · 0.45
CheckboxUpdated
Method · 0.45
IntSliderUpdated
Method · 0.45
SetUpFromSaveData
Method · 0.45
InitGrid
Method · 0.45
Calls
1
ofClamp
Function · 0.85
Tested by
2
IntSliderUpdated
Method · 0.36
SyncGridToSeq
Method · 0.36