aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKai Huuhko <kai.huuhko@gmail.com>2016-08-15 14:31:47 +0300
committerKai Huuhko <kai.huuhko@gmail.com>2016-08-15 14:31:47 +0300
commitedc9306e84611571e1ec4919d64e45e0d4c8a3c8 (patch)
treef52672f21afc61043cc7b4aa265a014c48496384
parentWIP (diff)
downloadpython-efl-devs/kuuko/enums-old-system.tar.gz
-rw-r--r--efl/ecore_input/efl.ecore_input_events.pxi32
1 files changed, 16 insertions, 16 deletions
diff --git a/efl/ecore_input/efl.ecore_input_events.pxi b/efl/ecore_input/efl.ecore_input_events.pxi
index c449491..fce723b 100644
--- a/efl/ecore_input/efl.ecore_input_events.pxi
+++ b/efl/ecore_input/efl.ecore_input_events.pxi
@@ -41,14 +41,14 @@ cdef int _ecore_input_events_register() except 0:
global _input_events_registered
if _input_events_registered == 0:
- _event_mapping_register(enums.ECORE_EVENT_KEY_DOWN, EventKey)
- _event_mapping_register(enums.ECORE_EVENT_KEY_UP, EventKey)
- _event_mapping_register(enums.ECORE_EVENT_MOUSE_BUTTON_DOWN, EventMouseButton)
- _event_mapping_register(enums.ECORE_EVENT_MOUSE_BUTTON_UP, EventMouseButton)
- _event_mapping_register(enums.ECORE_EVENT_MOUSE_MOVE, EventMouseMove)
- _event_mapping_register(enums.ECORE_EVENT_MOUSE_IN, EventMouseIO)
- _event_mapping_register(enums.ECORE_EVENT_MOUSE_OUT, EventMouseIO)
- _event_mapping_register(enums.ECORE_EVENT_MOUSE_WHEEL, EventMouseWheel)
+ _event_mapping_register(ECORE_EVENT_KEY_DOWN, EventKey)
+ _event_mapping_register(ECORE_EVENT_KEY_UP, EventKey)
+ _event_mapping_register(ECORE_EVENT_MOUSE_BUTTON_DOWN, EventMouseButton)
+ _event_mapping_register(ECORE_EVENT_MOUSE_BUTTON_UP, EventMouseButton)
+ _event_mapping_register(ECORE_EVENT_MOUSE_MOVE, EventMouseMove)
+ _event_mapping_register(ECORE_EVENT_MOUSE_IN, EventMouseIO)
+ _event_mapping_register(ECORE_EVENT_MOUSE_OUT, EventMouseIO)
+ _event_mapping_register(ECORE_EVENT_MOUSE_WHEEL, EventMouseWheel)
_input_events_registered = 1
@@ -319,7 +319,7 @@ def on_key_down_add(func, *args, **kargs):
.. seealso:: :class:`EventKey`
"""
- return InputEventHandler(enums.ECORE_EVENT_KEY_DOWN, func, *args, **kargs)
+ return InputEventHandler(ECORE_EVENT_KEY_DOWN, func, *args, **kargs)
def on_key_up_add(func, *args, **kargs):
"""
@@ -329,7 +329,7 @@ def on_key_up_add(func, *args, **kargs):
.. seealso:: :class:`EventKey`
"""
- return InputEventHandler(enums.ECORE_EVENT_KEY_UP, func, *args, **kargs)
+ return InputEventHandler(ECORE_EVENT_KEY_UP, func, *args, **kargs)
def on_mouse_button_down_add(func, *args, **kargs):
"""
@@ -339,7 +339,7 @@ def on_mouse_button_down_add(func, *args, **kargs):
.. seealso:: :class:`EventMouseButton`
"""
- return InputEventHandler(enums.ECORE_EVENT_MOUSE_BUTTON_DOWN, func, *args, **kargs)
+ return InputEventHandler(ECORE_EVENT_MOUSE_BUTTON_DOWN, func, *args, **kargs)
def on_mouse_button_up_add(func, *args, **kargs):
"""
@@ -349,7 +349,7 @@ def on_mouse_button_up_add(func, *args, **kargs):
.. seealso:: :class:`EventMouseButton`
"""
- return InputEventHandler(enums.ECORE_EVENT_MOUSE_BUTTON_UP, func, *args, **kargs)
+ return InputEventHandler(ECORE_EVENT_MOUSE_BUTTON_UP, func, *args, **kargs)
def on_mouse_move_add(func, *args, **kargs):
"""
@@ -359,7 +359,7 @@ def on_mouse_move_add(func, *args, **kargs):
.. seealso:: :class:`EventMouseMove`
"""
- return InputEventHandler(enums.ECORE_EVENT_MOUSE_MOVE, func, *args, **kargs)
+ return InputEventHandler(ECORE_EVENT_MOUSE_MOVE, func, *args, **kargs)
def on_mouse_in_add(func, *args, **kargs):
"""
@@ -369,7 +369,7 @@ def on_mouse_in_add(func, *args, **kargs):
.. seealso:: :class:`EventMouseIO`
"""
- return InputEventHandler(enums.ECORE_EVENT_MOUSE_IN, func, *args, **kargs)
+ return InputEventHandler(ECORE_EVENT_MOUSE_IN, func, *args, **kargs)
def on_mouse_out_add(func, *args, **kargs):
"""
@@ -379,7 +379,7 @@ def on_mouse_out_add(func, *args, **kargs):
.. seealso:: :class:`EventMouseIO`
"""
- return InputEventHandler(enums.ECORE_EVENT_MOUSE_OUT, func, *args, **kargs)
+ return InputEventHandler(ECORE_EVENT_MOUSE_OUT, func, *args, **kargs)
def on_mouse_wheel_add(func, *args, **kargs):
"""
@@ -389,4 +389,4 @@ def on_mouse_wheel_add(func, *args, **kargs):
.. seealso:: :class:`EventMouseWheel`
"""
- return InputEventHandler(enums.ECORE_EVENT_MOUSE_WHEEL, func, *args, **kargs)
+ return InputEventHandler(ECORE_EVENT_MOUSE_WHEEL, func, *args, **kargs)