mirror of
https://github.com/moparisthebest/Simba
synced 2024-11-21 16:55:01 -05:00
Change doc for pymml a bit to work better with RST.
This commit is contained in:
parent
569596606f
commit
97a94d5679
@ -4,6 +4,12 @@ from mmltypes import POINT, PPOINT, PINTEGER
|
||||
from mmltypes import PascalArray
|
||||
from mmltypes import RESULT_OK, RESULT_FALSE, RESULT_ERROR
|
||||
|
||||
"""
|
||||
The Color Class
|
||||
---------------
|
||||
|
||||
This class does the color finding.
|
||||
"""
|
||||
|
||||
class ColorException(Exception):
|
||||
def __init__(self, err):
|
||||
|
@ -2,6 +2,13 @@ from ctypes import *
|
||||
from mmltypes import POINT, PPOINT
|
||||
from mmltypes import isiterable
|
||||
|
||||
"""
|
||||
The Mouseclass
|
||||
---------------
|
||||
|
||||
The Mouse class controls the mouse movement and key presses.
|
||||
"""
|
||||
|
||||
class MouseException(Exception):
|
||||
def __init__(self, err):
|
||||
Exception.__init__(self, err)
|
||||
@ -11,6 +18,7 @@ class Mouse(object):
|
||||
"""
|
||||
The MML Mouse object communicates directly with libmml,
|
||||
but wraps it around a nice and easy to use layer.
|
||||
|
||||
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 [].
|
||||
|
Loading…
Reference in New Issue
Block a user