include/Spectre/System/Event.h: Change "None" to "Unkown" as None is a macro in X11
This commit is contained in:
parent
cadbbf9d8b
commit
4380f1ed01
1 changed files with 2 additions and 2 deletions
|
|
@ -14,7 +14,7 @@ struct Event
|
||||||
public :
|
public :
|
||||||
|
|
||||||
enum Type {
|
enum Type {
|
||||||
None,
|
Unknown,
|
||||||
Quit,
|
Quit,
|
||||||
Size,
|
Size,
|
||||||
Key,
|
Key,
|
||||||
|
|
@ -56,7 +56,7 @@ public :
|
||||||
struct MouseButtonEvent mouseButton;
|
struct MouseButtonEvent mouseButton;
|
||||||
};
|
};
|
||||||
|
|
||||||
Event(Type type = None);
|
Event(Type type = Unknown);
|
||||||
|
|
||||||
std::string toString() const;
|
std::string toString() const;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue