CMenuWidget: Add function getNextShortcut()/setNextShortcut()

for setting of direktkey in the plugin integration
This commit is contained in:
M. Liebmann
2014-10-16 05:13:07 +02:00
parent 8c42ad8dd5
commit 940a41aab2
3 changed files with 8 additions and 1 deletions

View File

@@ -494,6 +494,7 @@ CMenuWidget::CMenuWidget()
details_line = NULL;
info_box = NULL;
show_details_line = true;
nextShortcut = 1;
}
CMenuWidget::CMenuWidget(const neutrino_locale_t Name, const std::string & Icon, const int mwidth, const mn_widget_id_t &w_index)
@@ -564,6 +565,7 @@ void CMenuWidget::Init(const std::string &Icon, const int mwidth, const mn_widge
fbutton_labels = NULL;
fbutton_width = 0;
fbutton_height = 0;
nextShortcut = 1;
}
void CMenuWidget::move(int xoff, int yoff)