| 942 | |
| 943 | |
| 944 | void BookmarkView::activateRange(const BookmarkRangeEntryPtr& rangeEnt) { |
| 945 | |
| 946 | //the following only works if rangeEnt->freq is the middle of [rangeEnt->startFreq ; rangeEnt->startFreq] |
| 947 | wxGetApp().setFrequency(rangeEnt->freq); |
| 948 | |
| 949 | // Change View limits to fit the range exactly. |
| 950 | wxGetApp().getAppFrame()->setViewState(rangeEnt->startFreq + (rangeEnt->endFreq - rangeEnt->startFreq) / 2, rangeEnt->endFreq - rangeEnt->startFreq); |
| 951 | } |
| 952 | |
| 953 | |
| 954 | void BookmarkView::bookmarkSelection(const BookmarkEntryPtr& bmSel) { |
nothing calls this directly
no test coverage detected