summaryrefslogtreecommitdiff
path: root/src/widget_type.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/widget_type.h')
-rw-r--r--src/widget_type.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/widget_type.h b/src/widget_type.h
index f85c2ec3a..9c01a8b95 100644
--- a/src/widget_type.h
+++ b/src/widget_type.h
@@ -119,7 +119,6 @@ enum WidgetType {
NWID_VERTICAL, ///< Vertical container.
NWID_SPACER, ///< Invisible widget that takes some space.
NWID_SELECTION, ///< Stacked widgets, only one visible at a time (eg in a panel with tabs).
- NWID_LAYERED, ///< Widgets layered on top of each other, all visible at the same time.
NWID_VIEWPORT, ///< Nested widget containing a viewport.
NWID_BUTTON_DRPDOWN, ///< Button with a drop-down.
@@ -388,7 +387,7 @@ static const int STACKED_SELECTION_ZERO_SIZE = INT_MAX; ///< Display plane value
*/
class NWidgetStacked : public NWidgetContainer {
public:
- NWidgetStacked(WidgetType tp);
+ NWidgetStacked();
void SetIndex(int index);