mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-05 21:38:27 +02:00
cocoa: Implements basic TSpeedButton look - part 3
git-svn-id: trunk@49582 -
This commit is contained in:
parent
c7486c896c
commit
411ecaa94b
@ -32,7 +32,7 @@ type
|
||||
// Standard Tab
|
||||
// ===================================
|
||||
// TCDButton
|
||||
procedure DrawButton(ADest: TFPCustomCanvas; ASize: TSize;
|
||||
procedure DrawButton(ADest: TFPCustomCanvas; ADestPos: TPoint; ASize: TSize;
|
||||
AState: TCDControlState; AStateEx: TCDButtonStateEx); override;
|
||||
// TCDEdit
|
||||
procedure DrawEditFrame(ADest: TCanvas; ADestPos: TPoint; ASize: TSize;
|
||||
@ -86,7 +86,7 @@ begin
|
||||
end;
|
||||
|
||||
procedure TCDDrawerWinCE.DrawButton(ADest: TFPCustomCanvas;
|
||||
ASize: TSize; AState: TCDControlState; AStateEx: TCDButtonStateEx);
|
||||
ADestPos: TPoint; ASize: TSize; AState: TCDControlState; AStateEx: TCDButtonStateEx);
|
||||
var
|
||||
lDest: TCanvas absolute ADest;
|
||||
Str: string;
|
||||
|
@ -60,7 +60,7 @@ type
|
||||
// Standard Tab
|
||||
// ===================================
|
||||
// TCDButton
|
||||
procedure DrawButton(ADest: TFPCustomCanvas; ASize: TSize;
|
||||
procedure DrawButton(ADest: TFPCustomCanvas; ADestPos: TPoint; ASize: TSize;
|
||||
AState: TCDControlState; AStateEx: TCDButtonStateEx); override;
|
||||
end;
|
||||
|
||||
@ -456,7 +456,7 @@ end;
|
||||
|
||||
{ TCDWin7 }
|
||||
|
||||
procedure TCDWin7.DrawButton(ADest: TFPCustomCanvas; ASize: TSize;
|
||||
procedure TCDWin7.DrawButton(ADest: TFPCustomCanvas; ADestPos: TPoint; ASize: TSize;
|
||||
AState: TCDControlState; AStateEx: TCDButtonStateEx);
|
||||
var
|
||||
Str: string;
|
||||
|
Loading…
Reference in New Issue
Block a user