-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathGUITriggerItem.h
40 lines (33 loc) · 1.06 KB
/
GUITriggerItem.h
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
#ifndef __GUITRIGGERITEM
#define __GUITRIGGERITEM
// wxWindows includes
#include <wx/wx.h>
#include <wx/datetime.h>
#include <wx/string.h>
#include <wx/dynarray.h>
// Statsgen Includes
class GUITriggerItem;
WX_DECLARE_OBJARRAY(GUITriggerItem,ArrayOfGUITriggerItem);
class GUITriggerItem
{
public:
wxString configKey;
wxString matchValue;
bool matchSwitchesOff;
bool triggerHides;
public:
GUITriggerItem();
~GUITriggerItem();
bool PerformTrigger(wxWindow *panel,
bool *currentlyShown,
bool *currentlyEnabled);
void SetPositiveDisableTrigger(wxString &key,const char *value);
void SetPositiveDisableTrigger(wxString &key,wxString &value);
void SetNegativeDisableTrigger(wxString &key,const char *value);
void SetNegativeDisableTrigger(wxString &key,wxString &value);
void SetPositiveHideTrigger(wxString &key,const char *value);
void SetPositiveHideTrigger(wxString &key,wxString &value);
void SetNegativeHideTrigger(wxString &key,const char *value);
void SetNegativeHideTrigger(wxString &key,wxString &value);
};
#endif