mirror of
https://github.com/moparisthebest/Simba
synced 2024-11-11 20:05:03 -05:00
47886fdf25
Mainly skeletons of all the functions without further explanation and examples.
135 lines
1.7 KiB
ReStructuredText
135 lines
1.7 KiB
ReStructuredText
|
|
.. _scriptref_window:
|
|
|
|
Target Window Functions
|
|
=======================
|
|
|
|
Freeze
|
|
------
|
|
|
|
.. code-block:: pascal
|
|
|
|
function Freeze: boolean;
|
|
|
|
|
|
Unfreeze
|
|
--------
|
|
|
|
.. code-block:: pascal
|
|
|
|
function Unfreeze: boolean;
|
|
|
|
|
|
GetClientDimensions
|
|
-------------------
|
|
|
|
.. code-block:: pascal
|
|
|
|
procedure GetClientDimensions(var w, h:integer);
|
|
|
|
|
|
SetTargetBitmap
|
|
---------------
|
|
|
|
.. code-block:: pascal
|
|
|
|
function SetTargetBitmap(Bitmap : integer): integer;
|
|
|
|
|
|
SetTargetArray
|
|
--------------
|
|
|
|
.. code-block:: pascal
|
|
|
|
function SetTargetArray(P: Integer; w, h: integer): integer;
|
|
|
|
|
|
SetEIOSTarget
|
|
-------------
|
|
|
|
.. code-block:: pascal
|
|
|
|
function SetEIOSTarget(name: string; initargs: Variant): integer;
|
|
|
|
|
|
SetImageTarget
|
|
--------------
|
|
|
|
.. code-block:: pascal
|
|
|
|
procedure SetImageTarget(idx: integer);
|
|
|
|
|
|
SetKeyMouseTarget
|
|
-----------------
|
|
|
|
.. code-block:: pascal
|
|
|
|
procedure SetKeyMouseTarget(idx: integer);
|
|
|
|
|
|
GetImageTarget
|
|
--------------
|
|
|
|
.. code-block:: pascal
|
|
|
|
function GetImageTarget: integer;
|
|
|
|
|
|
GetKeyMouseTarget
|
|
-----------------
|
|
|
|
.. code-block:: pascal
|
|
|
|
function GetKeyMouseTarget: integer;
|
|
|
|
|
|
ExportImageTarget
|
|
------------------
|
|
|
|
.. code-block:: pascal
|
|
|
|
function ExportImageTarget : TTarget_Exported;
|
|
|
|
|
|
ExportKeyMouseTarget
|
|
---------------------
|
|
|
|
.. code-block:: pascal
|
|
|
|
function ExportKeyMouseTarget : TTarget_Exported;
|
|
|
|
|
|
FreeTarget
|
|
----------
|
|
|
|
.. code-block:: pascal
|
|
|
|
procedure FreeTarget(idx: integer);
|
|
|
|
|
|
SetDesktopAsClient
|
|
------------------
|
|
|
|
.. code-block:: pascal
|
|
|
|
procedure SetDesktopAsClient;
|
|
|
|
|
|
ActivateClient
|
|
--------------
|
|
|
|
.. code-block:: pascal
|
|
|
|
procedure ActivateClient;
|
|
|
|
|
|
IsTargetValid
|
|
-------------
|
|
|
|
.. code-block:: pascal
|
|
|
|
function IsTargetValid: boolean;
|
|
|
|
|