MCPcopy Create free account
hub / github.com/BespokeSynth/BespokeSynth / TextEntryComplete

Method TextEntryComplete

Source/Snapshots.cpp:733–747  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

731}
732
733void Snapshots::TextEntryComplete(TextEntry* entry)
734{
735 if (entry == mSnapshotLabelEntry)
736 {
737 int snapshotIndex = mCurrentSnapshot;
738 if (mSnapshotRenameIndex != -1)
739 {
740 snapshotIndex = mSnapshotRenameIndex;
741 mSnapshotRenameIndex = -1;
742 }
743
744 mSnapshotCollection[snapshotIndex].mLabel = mSnapshotLabel;
745 mCurrentSnapshotSelector->SetLabel(mSnapshotLabel, snapshotIndex);
746 }
747}
748
749void Snapshots::GetModuleDimensions(float& width, float& height)
750{

Callers

nothing calls this directly

Calls 1

SetLabelMethod · 0.45

Tested by

no test coverage detected