| 731 | } |
| 732 | |
| 733 | void 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 | |
| 749 | void Snapshots::GetModuleDimensions(float& width, float& height) |
| 750 | { |