MCPcopy 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
484void 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
492void UIGrid::Clear()
493{

Callers 15

UpdateNumMeasuresMethod · 0.45
ButtonClickedMethod · 0.45
IntSliderUpdatedMethod · 0.45
StepMethod · 0.45
IntSliderUpdatedMethod · 0.45
SetUpFromSaveDataMethod · 0.45
IntSliderUpdatedMethod · 0.45
OnScaleChangedMethod · 0.45
CheckboxUpdatedMethod · 0.45
IntSliderUpdatedMethod · 0.45
SetUpFromSaveDataMethod · 0.45
InitGridMethod · 0.45

Calls 1

ofClampFunction · 0.85

Tested by 2

IntSliderUpdatedMethod · 0.36
SyncGridToSeqMethod · 0.36