mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 11:18:13 +00:00
WindowServer: Rename WSEvent subclasses WSFooEvent for consistency.
Add a WSWindowInvalidationEvent that carries a rect instead of having an awkward single-purpose rect in WSEvent. Flesh out WSKeyEvent a bit more.
This commit is contained in:
parent
aefbbeb3cb
commit
51595603bd
8 changed files with 72 additions and 81 deletions
|
@ -80,7 +80,11 @@ struct GUI_Event {
|
|||
} mouse;
|
||||
struct {
|
||||
char character;
|
||||
unsigned modifiers;
|
||||
byte key;
|
||||
byte modifiers;
|
||||
bool ctrl : 1;
|
||||
bool alt : 1;
|
||||
bool shift : 1;
|
||||
} key;
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue