menue: add members to get dimensions

# Conflicts:
#	src/gui/widget/menue.h


Origin commit data
------------------
Commit: 1fcb4f8950
Author: Thilo Graf <dbt@novatux.de>
Date: 2022-03-27 (Sun, 27 Mar 2022)
This commit is contained in:
2022-03-27 21:46:44 +02:00
committed by vanhofen
parent 79f8a8c9e8
commit 04c946bf0f

View File

@@ -652,6 +652,9 @@ class CMenuWidget : public CMenuTarget, public CComponentsSignals
void initSelectable();
int getSelected()const { return selected; };
void move(int xoff, int yoff);
int getHeight() {calcSize(); return full_height;}
int getFullWidth() {calcSize(); return full_width;}
int getWidth() {calcSize(); return full_width - DETAILSLINE_WIDTH;}
int getSelectedLine(void)const {return no_action ? -1 : selected;};
void setWizardMode(int _from_wizard) { from_wizard = _from_wizard;};
void enableFade(bool _enable) { fade = _enable; };