Common Interface¶
TRSCommonInterface extends TRSInterface with methods to detect title and close.
This is for interfaces like bank which have a title and close button at the top.
TRSCommonInterface.IsTitle¶
function TRSCommonInterface.IsTitle(Text: String; MinMatch: Single = 0.80): Boolean;
Checks if the title contains any of Text. Uses brown’ish background of the interface to figure out the titles (normally orange) color.