mirror of
https://github.com/moparisthebest/Simba
synced 2025-03-02 18:31:45 -05:00
Add rs_GetUpTextAtEx.
This commit is contained in:
parent
85eadc7db6
commit
b17ae5c539
@ -3,6 +3,11 @@ begin
|
||||
Result := CurrThread.Client.MOCR.GetUpTextAtEx(7, 7, true);
|
||||
end;
|
||||
|
||||
function ps_rs_GetUpTextAtEx(x, y: integer; shadow: boolean): string; extdecl;
|
||||
begin
|
||||
result := CurrThread.Client.MOCR.GetUpTextAtEx(x, y, shadow);
|
||||
end;
|
||||
|
||||
function ps_rs_GetUpTextAt(x, y : integer): string; extdecl;
|
||||
begin
|
||||
result := CurrThread.Client.MOCR.GetUpTextAtEx(x,y,true);
|
||||
|
@ -316,6 +316,7 @@ AddFunction(@ps_GetKeyCode,'function GetKeyCode(c : char) : integer;');
|
||||
SetCurrSection('OCR');
|
||||
AddFunction(@ps_rs_GetUpText, 'function rs_GetUpText: string;');
|
||||
AddFunction(@ps_rs_GetUpTextAt, 'function rs_GetUpTextAt(x, y : integer): string;');
|
||||
AddFunction(@ps_rs_GetUpTextAtEx, 'function rs_GetUpTextAtEx(x, y: integer; shadow: boolean): string');
|
||||
AddFunction(@ps_BitmapFromText, 'function BitmapFromText(const text, font: String): integer;');
|
||||
AddFunction(@ps_TPAFromText, 'function TPAFromText(const text, font: String;var w,h : integer): TPointArray;');
|
||||
AddFunction(@ps_TPAFromTextWrap,'procedure TPAFromTextWrap(const text, font: String;var w,h : integer;var TPA : TPointArray);');
|
||||
|
Loading…
x
Reference in New Issue
Block a user