[retro-gtk/wip/aplazas/core-view-joypad] core-view: Add get_display()



commit c2261e9feb6830a5fbce4a2c0ab50fa09c1615f6
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Fri Aug 4 22:30:31 2017 +0200

    core-view: Add get_display()
    
    This will allow users of CoreView to control the display directly.

 retro-gtk/retro-core-view.vala |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/retro-gtk/retro-core-view.vala b/retro-gtk/retro-core-view.vala
index a180fbe..40b8bc5 100644
--- a/retro-gtk/retro-core-view.vala
+++ b/retro-gtk/retro-core-view.vala
@@ -30,6 +30,10 @@ public class Retro.CoreView : Gtk.EventBox {
                        display.set_core (core);
        }
 
+       public CairoDisplay get_display () {
+               return display;
+       }
+
        public extern InputDevice as_input_device (DeviceType device_type);
        internal extern int16 get_input_state (DeviceType device, uint index, uint id);
        internal extern uint64 get_device_capabilities ();


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]