Mercurial > hg > openttd
changeset 11840:013ead1d35eb draft
(svn r16230) -Codechange: Moving chat widgets enum outside window struct.
author | alberth <alberth@openttd.org> |
---|---|
date | Tue, 05 May 2009 20:03:12 +0000 |
parents | ae3214263ea0 |
children | 67f74f6038e3 |
files | src/network/network_chat_gui.cpp |
diffstat | 1 files changed, 8 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/src/network/network_chat_gui.cpp +++ b/src/network/network_chat_gui.cpp @@ -258,16 +258,15 @@ } } +/** Widget numbers of the chat window. */ +enum NetWorkChatWidgets { + NWCW_CLOSE, + NWCW_BACKGROUND, + NWCW_TEXTBOX, + NWCW_SENDBUTTON, +}; + struct NetworkChatWindow : public QueryStringBaseWindow { -private: - enum NetWorkChatWidgets { - NWCW_CLOSE, - NWCW_BACKGROUND, - NWCW_TEXTBOX, - NWCW_SENDBUTTON, - }; - -public: DestType dtype; int dest;