-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDanInterfaceWnd.h
More file actions
51 lines (42 loc) · 1.18 KB
/
DanInterfaceWnd.h
File metadata and controls
51 lines (42 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#pragma once
#include "..\MQ2Plugin.h"
#include "DanFunctions.h"
extern bool WrongUI;
extern bool bAutoScroll;
extern std::list<std::string> sPendingChat;
extern std::string pluginname;
const char* const COMPILED = "-- Compiled: " __DATE__ " Time: " __TIME__;
extern char ThisINIFileName[MAX_STRING];
extern unsigned int iPeersSelection;
void CreateInterfaceWindow();
void DestroyInterfaceWindow();
void WriteOut(char* szText, ...);
void MakeWindowVisible();
void MakeWindowInvisible();
void MakeWindowToggle();
void GetWindowINIFile(char* storage, int size);
void FontChange(const char* szLine);
inline bool InGame();
class CInterfaceWnd : public CCustomWnd {
public:
CTabWnd* Tabs;
CComboWnd* CPeersCombo;
CStmlWnd* InterfaceOutput;
CEditWnd* CQueryInputBox;
CListWnd* CQueryList;
CInterfaceWnd();
~CInterfaceWnd();
void LoadLoc();
bool LoadSettings();
void SaveLoc();
void UpdateListBox();
void AddAllBuffs();
int WndNotification(CXWnd* pWnd, unsigned int Message, void* unknown);
void SaveSetting(char* Key, char* Value, ...);
unsigned long OutBoxLines;
unsigned long FontSize;
private:
std::vector<std::string> sCmdHistory;
int iCurrentCmd;
};
extern CInterfaceWnd* InterfaceWnd;