Changeset 68 for branches/Independent/Forms/FormMain.pas
- Timestamp:
- Dec 17, 2024, 11:10:31 PM (4 days ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Independent/Forms/FormMain.pas
r66 r68 34 34 procedure ConsoleWrite(Text: string); 35 35 function LoadFile(Name: string): string; 36 function GetMousePosition: TPoint; 36 37 public 37 38 FormConsole: TFormConsole; … … 58 59 System.Console.OnWrite := ConsoleWrite; 59 60 System.FileSystem.OnLoadFile := LoadFile; 61 System.Mouse.OnGetPosition := GetMousePosition; 60 62 System.OnDraw := FormScreen.Redraw; 61 63 FormScreen.System := System; … … 115 117 end; 116 118 119 function TFormName.GetMousePosition: TPoint; 120 begin 121 Result := Mouse.CursorPos; 122 end; 123 117 124 end. 118 125
Note:
See TracChangeset
for help on using the changeset viewer.