Ignore:
Timestamp:
May 8, 2013, 1:52:33 PM (12 years ago)
Author:
chronos
Message:
  • Added: Support for mouse move handling. Now forms can be moved by dragging title bar.
  • Fixed: Clearing background during painting in screen and forms.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/Xvcl/Xvcl.Graphics.pas

    r20 r23  
    88type
    99
    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);
    1112
    1213  TPen = class
     
    115116function TCanvas.GetVideoDevice: TVideoDevice;
    116117begin
    117   Result := nil;
     118  Result := FVideoDevice;
    118119end;
    119120
     
    138139begin
    139140  if Assigned(VideoDevice) then VideoDevice.SetPixel(Position, Color);
     141end;
     142
     143procedure TCanvas.SetVideoDevice(const Value: TVideoDevice);
     144begin
     145  FVideoDevice := Value;
    140146end;
    141147
Note: See TracChangeset for help on using the changeset viewer.