mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-29 01:19:11 +00:00
(svn r16230) -Codechange: Moving chat widgets enum outside window struct.
This commit is contained in:
@@ -258,16 +258,15 @@ static void SendChat(const char *buf, DestType type, int dest)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
struct NetworkChatWindow : public QueryStringBaseWindow {
|
/** Widget numbers of the chat window. */
|
||||||
private:
|
enum NetWorkChatWidgets {
|
||||||
enum NetWorkChatWidgets {
|
NWCW_CLOSE,
|
||||||
NWCW_CLOSE,
|
NWCW_BACKGROUND,
|
||||||
NWCW_BACKGROUND,
|
NWCW_TEXTBOX,
|
||||||
NWCW_TEXTBOX,
|
NWCW_SENDBUTTON,
|
||||||
NWCW_SENDBUTTON,
|
};
|
||||||
};
|
|
||||||
|
|
||||||
public:
|
struct NetworkChatWindow : public QueryStringBaseWindow {
|
||||||
DestType dtype;
|
DestType dtype;
|
||||||
int dest;
|
int dest;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user