1
0
mirror of https://github.com/moparisthebest/Simba synced 2024-12-25 00:39:04 -05:00

More handbook stubs

git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@504 3f818213-9676-44b0-a9b4-5e4c4e03d09d
This commit is contained in:
Wizzup? 2010-02-01 02:29:01 +00:00
parent 5fc1677442
commit 2bd8708be0

View File

@ -457,9 +457,12 @@ for these points.
Mufasa's DTM type: Mufasa's DTM type:
\begin{verbatim} \begin{verbatim}
pDTM = record pDTM = packed record
p: TPointArray; l: Integer; // length
c, t, asz, ash: TIntegerArray; p: TPointArray; // points
c, t, asz, ash: TIntegerArray; // colours, tolerance, areasize/shape
bp: Array Of Boolean; // Bad Point ( = Not Point )
n: String; // Name
end; end;
\end{verbatim} \end{verbatim}
@ -532,17 +535,81 @@ between characters in the font, hspacing is the minimal space to split
characters on. If it is, for example, 0, and ``i'' will be split into two characters on. If it is, for example, 0, and ``i'' will be split into two
characters. characters.
%TODO: colours
\begin{verbatim} \begin{verbatim}
function GetTextAt(atX, atY, minvspacing, maxvspacing, hspacing, color, tol, len: integer; font: string): string; function GetTextAt(atX, atY, minvspacing, maxvspacing, hspacing, color, tol, len: integer; font: string): string;
\end{verbatim} \end{verbatim}
\chapter{Client} \chapter{Clients}
\section{Client and Window}
\section{Window}
Simba can target running applicationsa/applets on your computer.
You simply use the crosshair to select the client, and it will then read and
send all its data from and to that application. Simba has also split up its
``Key and Mouse'' input and its ``Data Target``, which means you can send
mouse events to one window, while reading data from another.
\section{Bitmaps and other Raw Data}
Simba can also target data that is loaded in memory. Arrays, bitmaps and data
pointers. Obviously if you load any of these with Simba any mouse and key
events will not be send to that target, as it has no means of communicating
with your devices. Most likely mouse and key events will still be send to the
previous target.
% Complete TODO.
\section{Functions provided}
\subsection{GetClientDimensions}
\subsection{ActivateClient}
\subsection{IsTargetValid}
\subsection{SetTargetBitmap}
\subsection{SetImageTarget}
\subsection{SetTargetArray}
\subsection{SetEIOSTarget}
\subsection{SetKeyMouseTarget}
\subsection{GetImageTarget}
\subsection{GetKeyMouseTarget}
\subsection{FreeTarget}
\section{Freeze and UnFreeze}
% Files
\chapter{Files and Web} \chapter{Files and Web}
\section{Files} \section{Files}
Files are used to load and save data to the hard drive.
Simba provides several functions to access files - that is, read
from them and write to them.
\subsection{CreateFile}
\subsection{OpenFile}
\subsection{RewriteFile}
\subsection{CloseFile}
\subsection{EndOfFile}
\subsection{FileSize}
\subsection{ReadFileString}
\subsection{WriteFileString}
\subsection{SetFileCharPointer}
\subsection{FilePointerPos}
\subsection{DirectoryExists}
\subsection{FileExists}
\subsection{WriteINI}
\subsection{ReadINI}
\subsection{DeleteINI}
\section{Web} \section{Web}
\subsection{OpenWebPage} \subsection{OpenWebPage}