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