Changeset 23 for branches/Xvcl/Xvcl.Graphics.pas
- Timestamp:
- May 8, 2013, 1:52:33 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Xvcl/Xvcl.Graphics.pas
r20 r23 8 8 type 9 9 10 TColor = (clNone, clBlack, clWhite, clGray, clSilver, clBlue, clGreen, clRed); 10 TColor = (clNone, clBlack, clWhite, clGray, clSilver, clBlue, clGreen, clRed, 11 clLightBlue, clLightRed, clLightGreen, clBrown, clYellow, clMagenta, clCyan); 11 12 12 13 TPen = class … … 115 116 function TCanvas.GetVideoDevice: TVideoDevice; 116 117 begin 117 Result := nil;118 Result := FVideoDevice; 118 119 end; 119 120 … … 138 139 begin 139 140 if Assigned(VideoDevice) then VideoDevice.SetPixel(Position, Color); 141 end; 142 143 procedure TCanvas.SetVideoDevice(const Value: TVideoDevice); 144 begin 145 FVideoDevice := Value; 140 146 end; 141 147
Note:
See TracChangeset
for help on using the changeset viewer.