Ignore:
Timestamp:
Apr 9, 2015, 9:58:36 PM (10 years ago)
Author:
chronos
Message:
  • Fixed: Use csOpaque control style also to Image, PaintBox and OpenGLControl.
  • Modified: Change size of test frame with SpinEdits as delayed using timer.
  • Updated: BRGABitmap package to version 8.1.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GraphicTest/Packages/bgrabitmap/bgragradients.pas

    r452 r472  
    22
    33{$mode objfpc}{$H+}
     4
     5{$i bgrasse.inc}
    46
    57interface
     
    115117                   Color : TBGRAPixel);
    116118
    117     {$ifdef CPUI386}
     119    {$ifdef BGRASSE_AVAILABLE}
    118120    procedure DrawMapSSE(dest: TBGRACustomBitmap; map: TBGRACustomBitmap; mapAltitude: integer; ofsX,ofsY: integer;
    119121                   ColorMap : TBGRACustomBitmap);
     
    174176implementation
    175177
    176 uses Types, SysUtils, BGRATextFX;
     178uses GraphType, Types, SysUtils, BGRATextFX; {GraphType unit used by phongdraw.inc}
    177179
    178180function TextShadow(AWidth, AHeight: Integer; AText: String;
     
    375377                             Color : TBGRAPixel);
    376378begin
    377   {$ifdef CPUI386}
     379  {$ifdef BGRASSE_AVAILABLE}
    378380    if UseSSE then
    379381      DrawColorSSE(dest,map,mapAltitude,ofsX,ofsY,Color)
     
    386388            mapAltitude: integer; ofsX, ofsY: integer; ColorMap: TBGRACustomBitmap);
    387389begin
    388   {$ifdef CPUI386}
     390  {$ifdef BGRASSE_AVAILABLE}
    389391    if UseSSE then
    390392      DrawMapSSE(dest,map,mapAltitude,ofsX,ofsY,ColorMap)
     
    397399  mapAltitude: integer; ofsX, ofsY: integer; ColorScan: IBGRAScanner);
    398400begin
    399   {$ifdef CPUI386}
     401  {$ifdef BGRASSE_AVAILABLE}
    400402    if UseSSE then
    401403      DrawScannerSSE(dest,map,mapAltitude,ofsX,ofsY,ColorScan)
     
    575577  {$I phongdraw.inc }
    576578
    577 {$ifdef CPUI386}
     579{$ifdef BGRASSE_AVAILABLE}
    578580procedure TPhongShading.DrawMapSSE(dest: TBGRACustomBitmap; map: TBGRACustomBitmap;
    579581  mapAltitude: integer; ofsX, ofsY: integer; ColorMap: TBGRACustomBitmap);
     
    10871089end;
    10881090
     1091initialization
     1092
     1093  Randomize;
     1094
    10891095end.
    10901096
Note: See TracChangeset for help on using the changeset viewer.