mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
*neutrino scansetup: use unified menu width
make width usable also for transponder selector git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1334 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -790,7 +790,7 @@ int CTPSelectHandler::exec(CMenuTarget* parent, const std::string &/*actionkey*/
|
||||
old_position = position;
|
||||
}
|
||||
|
||||
CMenuWidget menu(LOCALE_SCANTS_SELECT_TP, NEUTRINO_ICON_SETTINGS);
|
||||
CMenuWidget menu(LOCALE_SCANTS_SELECT_TP, NEUTRINO_ICON_SETTINGS, width);
|
||||
CMenuSelectorTarget * selector = new CMenuSelectorTarget(&select);
|
||||
menu.addIntroItems(NONEXISTANT_LOCALE, NONEXISTANT_LOCALE, CMenuWidget::BTN_TYPE_CANCEL); //add cancel button, ensures that we have enought space left from item caption
|
||||
|
||||
|
@@ -45,6 +45,9 @@
|
||||
|
||||
class CScanSetup : public CMenuTarget
|
||||
{
|
||||
protected:
|
||||
int width;
|
||||
|
||||
private:
|
||||
CSatelliteSetupNotifier *satNotify;
|
||||
CAllUsalsNotifier *usalsNotify;
|
||||
@@ -53,7 +56,7 @@ class CScanSetup : public CMenuTarget
|
||||
|
||||
bool is_wizard;
|
||||
|
||||
int width, selected;
|
||||
int selected;
|
||||
int dmode;
|
||||
int sfound;
|
||||
int fec_count;
|
||||
@@ -100,7 +103,7 @@ class CScanSetup : public CMenuTarget
|
||||
int exec(CMenuTarget* parent, const std::string & actionKey = "");
|
||||
};
|
||||
|
||||
class CTPSelectHandler : public CMenuTarget
|
||||
class CTPSelectHandler : public CScanSetup
|
||||
{
|
||||
public:
|
||||
int exec(CMenuTarget* parent, const std::string &actionkey);
|
||||
|
Reference in New Issue
Block a user