+ added more event types
This commit is contained in:
parent
4a0b7a5bf1
commit
ab2e1daea2
@ -11,12 +11,17 @@ namespace vkvm {
|
|||||||
enum EventType {
|
enum EventType {
|
||||||
Timer = 1,
|
Timer = 1,
|
||||||
MouseMove = 2,
|
MouseMove = 2,
|
||||||
MouseButton = 3,
|
MouseLeftUp = 3,
|
||||||
KeyDown = 4,
|
MouseLeftDown = 4,
|
||||||
KeyUp = 5,
|
MouseRightUp = 5,
|
||||||
UpdateControlRegisters = 6,
|
MouseRightDown = 6,
|
||||||
Redraw = 7,
|
MouseMiddleDown = 7,
|
||||||
RenderText = 8
|
MouseMiddleUp = 8,
|
||||||
|
KeyDown = 9,
|
||||||
|
KeyUp = 10,
|
||||||
|
UpdateControlRegisters = 11,
|
||||||
|
Redraw = 12,
|
||||||
|
RenderText = 13
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -289,7 +289,7 @@ namespace vkvm {
|
|||||||
|
|
||||||
auto getFont() -> FontType {
|
auto getFont() -> FontType {
|
||||||
//TODO(julian): get font properly
|
//TODO(julian): get font properly
|
||||||
return FontType(getRegisters()->textMode_font, "", 0, 0);
|
return {getRegisters()->textMode_font, "", 0, 0};
|
||||||
}
|
}
|
||||||
|
|
||||||
auto setFont(const FontType &newValue) -> void {
|
auto setFont(const FontType &newValue) -> void {
|
||||||
|
Loading…
Reference in New Issue
Block a user