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/Drivers/Driver.VideoVCL.pas

    r22 r23  
    5656begin
    5757  case Color of
    58     clBlack: Result := Vcl.Graphics.clBlack;
    59     clWhite: Result := Vcl.Graphics.clWhite;
    60     clBlue: Result := Vcl.Graphics.clBlue;
    61     clGreen: Result := Vcl.Graphics.clGreen;
    62     clRed: Result := Vcl.Graphics.clRed;
    63     clSilver: Result := Vcl.Graphics.clSilver;
    64     clGray: Result := Vcl.Graphics.clGray;
    65     else Result := Vcl.Graphics.clBlack;
     58    clBlack: Result := $000000;
     59    clWhite: Result := $ffffff;
     60    clBlue: Result := $ff0000;
     61    clGreen: Result := $00ff00;
     62    clRed: Result := $0000ff;
     63    clSilver: Result := $c0c0c0;
     64    clGray: Result := $808080;
     65    clLightBlue: Result := $ff8080;
     66    clLightRed: Result := $80ff80;
     67    clLightGreen: Result := $8080ff;
     68    clBrown: Result := $a52a2a;
     69    clMagenta: Result := $ff00ff;
     70    clCyan: Result := $00ffff;
     71    clYellow: Result := $ffff00;
     72    else Result := $000000;
    6673  end;
    6774end;
Note: See TracChangeset for help on using the changeset viewer.