@@ -117,10 +117,10 @@ const NavigationView::AppList NavigationView::appList = {
117117 /* HOME ******************************************************************/
118118 {nullptr , " Receive" , HOME , Color::cyan (), &bitmap_icon_receivers, new ViewFactory<ReceiversMenuView>()},
119119 {nullptr , " Transmit" , HOME , Color::cyan (), &bitmap_icon_transmit, new ViewFactory<TransmittersMenuView>()},
120+ {nullptr , " Tranceiver" , HOME , Color::cyan (), &bitmap_icon_tranceivers, new ViewFactory<TranceiversMenuView>()},
121+ {" recon" , " Recon" , HOME , Color::green (), &bitmap_icon_scanner, new ViewFactory<ReconView>()},
120122 {" capture" , " Capture" , HOME , Color::red (), &bitmap_icon_capture, new ViewFactory<CaptureAppView>()},
121123 {" replay" , " Replay" , HOME , Color::green (), &bitmap_icon_replay, new ViewFactory<PlaylistView>()},
122- {" recon" , " Recon" , HOME , Color::green (), &bitmap_icon_scanner, new ViewFactory<ReconView>()},
123- {" microphone" , " Microphone" , HOME , Color::green (), &bitmap_icon_microphone, new ViewFactory<MicTXView>()},
124124 {" lookingglass" , " Looking Glass" , HOME , Color::green (), &bitmap_icon_looking, new ViewFactory<GlassView>()},
125125 {nullptr , " Utilities" , HOME , Color::cyan (), &bitmap_icon_utilities, new ViewFactory<UtilitiesMenuView>()},
126126 {nullptr , " Games" , HOME , Color::cyan (), &bitmap_icon_games, new ViewFactory<GamesMenuView>()},
@@ -147,6 +147,8 @@ const NavigationView::AppList NavigationView::appList = {
147147 {" soundbrd" , " Soundbrd" , TX , ui::Color::green (), &bitmap_icon_soundboard, new ViewFactory<SoundBoardView>()},
148148 {" touchtune" , " TouchTune" , TX , ui::Color::green (), &bitmap_icon_touchtunes, new ViewFactory<TouchTunesView>()},
149149 {" signalgen" , " SignalGen" , TX , Color::green (), &bitmap_icon_cwgen, new ViewFactory<SigGenView>()},
150+ /* TRX ********************************************************************/
151+ {" microphone" , " Mic" , TRX , Color::green (), &bitmap_icon_microphone, new ViewFactory<MicTXView>()},
150152 /* UTILITIES *************************************************************/
151153 {" filemanager" , " File Manager" , UTILITIES , Color::green (), &bitmap_icon_dir, new ViewFactory<FileManagerView>()},
152154 {" freqman" , " Freq. Manager" , UTILITIES , Color::green (), &bitmap_icon_freqman, new ViewFactory<FrequencyManagerView>()},
@@ -841,6 +843,20 @@ void TransmittersMenuView::on_populate() {
841843 add_external_items (nav_, app_location_t ::TX , *this , return_icon ? 1 : 0 );
842844}
843845
846+ /* TranceiversMenuView **************************************************/
847+
848+ TranceiversMenuView::TranceiversMenuView (NavigationView& nav)
849+ : nav_(nav) {}
850+
851+ void TranceiversMenuView::on_populate () {
852+ bool return_icon = pmem::show_gui_return_icon ();
853+ if (return_icon) {
854+ add_items ({{" .." , Theme::getInstance ()->fg_light ->foreground , &bitmap_icon_previous, [this ]() { nav_.pop (); }}});
855+ }
856+ add_apps (nav_, *this , TRX );
857+ add_external_items (nav_, app_location_t ::TRX , *this , return_icon ? 1 : 0 );
858+ }
859+
844860/* UtilitiesMenuView *****************************************************/
845861
846862UtilitiesMenuView::UtilitiesMenuView (NavigationView& nav)
0 commit comments