Changeset 33
- Timestamp:
- Jul 11, 2022, 1:36:18 PM (2 years ago)
- Location:
- branches/overos
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/overos/UTypes.pas
r22 r33 15 15 Width: Integer; 16 16 Height: Integer; 17 function Create(Width, Height: Integer): TSize;17 class function Create(Width, Height: Integer): TSize; static; 18 18 class operator Add(A, B: TSize): TSize; 19 19 class operator Subtract(A, B: TSize): TSize; … … 26 26 Left: Integer; 27 27 Top: Integer; 28 function Create(Left, Top: Integer): TPosition;28 class function Create(Left, Top: Integer): TPosition; static; 29 29 class operator Add(A, B: TPosition): TPosition; 30 30 class operator Subtract(A, B: TPosition): TPosition; … … 37 37 Position: TPosition; 38 38 Size: TSize; 39 function Create(Position: TPosition; Size: TSize): TRectangle;39 class function Create(Position: TPosition; Size: TSize): TRectangle; static; 40 40 function Contains(Position: TPosition): Boolean; 41 41 class operator Equal(A, B: TRectangle): Boolean; … … 51 51 { TRectangle } 52 52 53 function TRectangle.Create(Position: TPosition; Size: TSize): TRectangle;53 class function TRectangle.Create(Position: TPosition; Size: TSize): TRectangle; 54 54 begin 55 55 Result.Position := Position; … … 72 72 { TPosition } 73 73 74 function TPosition.Create(Left, Top: Integer): TPosition;74 class function TPosition.Create(Left, Top: Integer): TPosition; 75 75 begin 76 76 Result.Left := Left; … … 97 97 { TSize } 98 98 99 function TSize.Create(Width, Height: Integer): TSize;99 class function TSize.Create(Width, Height: Integer): TSize; static; 100 100 begin 101 101 Result.Width := Width; -
branches/overos/overos.lpi
r22 r33 2 2 <CONFIG> 3 3 <ProjectOptions> 4 <Version Value="1 0"/>4 <Version Value="11"/> 5 5 <General> 6 6 <SessionStorage Value="InProjectDir"/> … … 55 55 </PublishOptions> 56 56 <RunParams> 57 <local> 58 <FormatVersion Value="1"/> 59 </local> 57 <FormatVersion Value="2"/> 58 <Modes Count="1"> 59 <Mode0 Name="default"/> 60 </Modes> 60 61 </RunParams> 61 62 <RequiredPackages Count="1">
Note:
See TracChangeset
for help on using the changeset viewer.