summaryrefslogtreecommitdiff
path: root/src/widget_type.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2010-08-12 09:16:43 +0000
committerfrosch <frosch@openttd.org>2010-08-12 09:16:43 +0000
commit9e538acc038a2697f00c313763218f1cd3fd6652 (patch)
treebe3a368d66c1e820e8a677874a75eea3347c4cdc /src/widget_type.h
parentb37be47f162a614ddfb0a777331d7c402930aec5 (diff)
downloadopenttd-9e538acc038a2697f00c313763218f1cd3fd6652.tar.xz
(svn r20461) -Codechange: Replace WWT_HSCROLLBAR, WWT_SCROLLBAR and WWT_SCROLL2BAR with NWID_HSCROLLBAR and NWID_VSCROLLBAR.
Diffstat (limited to 'src/widget_type.h')
-rw-r--r--src/widget_type.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/widget_type.h b/src/widget_type.h
index 067e892e9..516f338ce 100644
--- a/src/widget_type.h
+++ b/src/widget_type.h
@@ -56,15 +56,12 @@ enum WidgetType {
WWT_LABEL, ///< Centered label
WWT_TEXT, ///< Pure simple text
WWT_MATRIX, ///< Grid of rows and columns. @see MatrixWidgetValues
- WWT_SCROLLBAR, ///< Vertical scrollbar
WWT_FRAME, ///< Frame
WWT_CAPTION, ///< Window caption (window title between closebox and stickybox)
- WWT_HSCROLLBAR, ///< Horizontal scrollbar
WWT_SHADEBOX, ///< Shade box (at top-right of a window, between caption and stickybox)
WWT_STICKYBOX, ///< Sticky box (normally at top-right of a window)
WWT_DEBUGBOX, ///< NewGRF debug box (between shade box and caption)
- WWT_SCROLL2BAR, ///< 2nd vertical scrollbar
WWT_RESIZEBOX, ///< Resize box (normally at bottom-right of a window)
WWT_CLOSEBOX, ///< Close box (at top-left of a window)
WWT_DROPDOWN, ///< Drop down list
@@ -80,6 +77,8 @@ enum WidgetType {
NWID_VIEWPORT, ///< Nested widget containing a viewport.
NWID_BUTTON_DROPDOWN, ///< Button with a drop-down.
NWID_BUTTON_ARROW, ///< Button with an arrow
+ NWID_HSCROLLBAR, ///< Horizontal scrollbar
+ NWID_VSCROLLBAR, ///< Vertical scrollbar
/* Nested widget part types. */
WPT_RESIZE, ///< Widget part for specifying resizing.