[retro-gtk/pointer: 2/2] core-view: Use a Pointer instead of a Mouse
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [retro-gtk/pointer: 2/2] core-view: Use a Pointer instead of a Mouse
- Date: Sun, 23 Jul 2017 07:01:43 +0000 (UTC)
commit 833aa6d15865e7ec5553f7e785710dccfc205122
Author: Adrien Plazas <kekun plazas laposte net>
Date: Sun Jul 23 09:00:08 2017 +0200
core-view: Use a Pointer instead of a Mouse
This will be useful for testing purposes.
retro-gtk/retro-core-view.vala | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/retro-gtk/retro-core-view.vala b/retro-gtk/retro-core-view.vala
index d46d55e..ef7467e 100644
--- a/retro-gtk/retro-core-view.vala
+++ b/retro-gtk/retro-core-view.vala
@@ -5,7 +5,7 @@ public class Retro.CoreView : Gtk.EventBox {
private CairoDisplay display;
private InputDeviceManager input;
private Keyboard keyboard;
- private Mouse mouse;
+ private Pointer pointer;
construct {
can_focus = true;
@@ -17,10 +17,10 @@ public class Retro.CoreView : Gtk.EventBox {
input = new InputDeviceManager ();
keyboard = new Keyboard (this);
- mouse = new Mouse (this);
+ pointer = new Pointer (this);
input.set_keyboard (keyboard);
- input.set_controller_device (0, mouse);
+ input.set_controller_device (0, pointer);
}
public void set_core (Core? core) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]