1
0
mirror of https://github.com/moparisthebest/Simba synced 2024-08-13 16:53:59 -04:00

PyMML indentation fix + cleanup.

This commit is contained in:
Merlijn Wajer 2010-05-19 17:23:32 +02:00
parent 054e04c615
commit e57b3e7213
2 changed files with 3 additions and 8 deletions

View File

@ -14,15 +14,10 @@ class Mouse(object):
It will allow several ways to set mouse positions and
buttons. __getitem__ and __setitem__ are also implemented,
so one can access mouse buttons states and positions with [].
'''
# _mc = MMLCore reference.
_mc = None
Left ='Left'
Right = 'Right'
Middle = 'Middle'
Pos = 'Pos'
Left, Right, Middle, Pos = 'Left', 'Right', 'Middle', 'Pos'
# last pointer position
_lpp = (0, 0)

View File

@ -5,8 +5,8 @@ class POINT(Structure):
POINT represents a point with two variables, x and y.
POINT is mainly used for Python <-> MML communication.
'''
_fields_ = [('x', c_int),
('y', c_int)]
_fields_ = [('x', c_int),
('y', c_int)]
PPOINT = POINTER(POINT)