Added a few things

git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@238 3f818213-9676-44b0-a9b4-5e4c4e03d09d
This commit is contained in:
Wizzup? 2009-11-27 12:14:28 +00:00
parent 03ba5804e5
commit 7adc95e741
1 changed files with 42 additions and 8 deletions

View File

@ -3,7 +3,7 @@
\usepackage{color}
\begin{document}
\title{OS4}
\title{Mufasa Handbook}
\author{Merlijn Wajer \and Raymond van Veneti\"{e}}
\definecolor{typeGreen}{rgb}{0.0, 0.6, 0.0}
@ -22,22 +22,56 @@ HOI DIT IS DE MUFASA FUNCTIE LIJST!
\subsection{Types}
TClickType en TMousePress hier
A few variables are exported for working with Mufasa Mouse Functions.
$mouse\_Right$, $mouse\_Left$, $mouse\_Middle$
TClickType, which, as the name suggests, defines the click type.
\begin{itemize}
\item $mouse\_Right = 0$
\item $mouse\_Left = 1$
\item $mouse_Middle = 2$
\end{itemize}
TMousePress, which defines if the mouse button is to be down or up.
\begin{itemize}
\item $mouse\_Up$
\item $mouse\_Down$
\end{itemize}
% TClickType = (mouse_Left, mouse_Right, mouse_Middle);
% TMousePress = (mouse_Down, mouse_Up);
\subsection{MoveMouse}
\subsection{\textbf{procedure} {\color{blue}{MoveMouse}}({\color{typeRed}
{in x, y: }}{\color{typeGreen}{Integer}})}
\subsection{\textbf{procedure} {\color{blue}{GetMousePos}}({\color{typeRed}{var x, y: }}{\color{typeGreen}{Integer}})}
MoveMouse moves the mouse pointer to the specified x and y coordinates.
\subsection{HoldMouse}
\subsection{\textbf{procedure} {\color{blue}{GetMousePos}}({\color{typeRed}
{out x, y: }}{\color{typeGreen}{Integer}})}
\subsection{ReleaseMouse}
GetMousePos returns the current position of the mouse in X and Y.
\subsection{ClickMouse}
\subsection{\textbf{procedure} {\color{blue}{HoldMouse}}({\color{typeRed}
{x, y: }}{\color{typeGreen}{Integer}}; {\color{typeRed}{clickType :}}
{\color{typeGreen}{clickType}})}
HoldMouse holds the given mouse button (clickType) down at the specified x,y
coordinate. If the mouse if not at the given x, y yet, the mouse position
will be set to x, y.
\subsection{\textbf{procedure} {\color{blue}{ReleaseMouse}}({\color{typeRed}
{x, y: }}{\color{typeGreen}{Integer}}; {\color{typeRed}{clickType :}}
{\color{typeGreen}{clickType}})}
ReleaseMouse releases the given mouse button (clickType) down at the specified x,y
coordinate. If the mouse if not at the given x, y yet, the mouse position
will be set to x, y.
\subsection{\textbf{procedure} {\color{blue}{ClickMouse}}({\color{typeRed}
{x, y: }}{\color{typeGreen}{Integer}}; {\color{typeRed}{clickType :}}
{\color{typeGreen}{clickType}})}
ClickMouse performs a click with the given mouse button (clickType) at the
specified x, y coordinate.
\section{Keyboard}