Changeset 104 for trunk/Components


Ignore:
Timestamp:
Jan 25, 2018, 11:03:52 PM (7 years ago)
Author:
chronos
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Components/EOTButton.pas

    r59 r104  
    123123    if FGraphic <> nil then
    124124    begin
    125       BitBlt(Buffer.Canvas.Handle, 0, 0, 48, 48, Back.Canvas.Handle, 0,
    126         0, SRCCOPY);
     125      // TODO: For some reason BitBlt is not working with gray background here
     126      //BitBlt(Buffer.Canvas.Handle, 0, 0, 48, 48, Back.Canvas.Handle, 0,
     127      //  0, SRCCOPY);
     128      Buffer.Canvas.Draw(0, 0, Back);
    127129      ImageOp_CBC(Buffer, Template, 0, 0, 133, 149 + 48 * Byte(FDown), 48, 48,
    128130        $000000, $FFFFFF);
Note: See TracChangeset for help on using the changeset viewer.