summaryrefslogtreecommitdiff
path: root/src/widget_type.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-11-15 10:30:32 +0000
committerrubidium <rubidium@openttd.org>2009-11-15 10:30:32 +0000
commit9396a701fe74a998f9e677c15a4a768f5f3bd121 (patch)
tree8faad1dc55c65da7f7dd0e5a953619f7778a8bd4 /src/widget_type.h
parent3d2d7af88f95c2eb4e349c537f74eaf02e8db7f0 (diff)
downloadopenttd-9396a701fe74a998f9e677c15a4a768f5f3bd121.tar.xz
(svn r18087) -Codechange: remove NWID_LAYERED
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);