mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 11:49:07 +02:00
carbon: implement TCarbonThemeServices.GetOption
git-svn-id: trunk@20189 -
This commit is contained in:
parent
fda6d84cc0
commit
69dc8a2328
@ -47,6 +47,7 @@ type
|
||||
function ContentRect(DC: HDC; Details: TThemedElementDetails; BoundingRect: TRect): TRect; override;
|
||||
function HasTransparentParts(Details: TThemedElementDetails): Boolean; override;
|
||||
function GetDetailSize(Details: TThemedElementDetails): Integer; override;
|
||||
function GetOption(AOption: TThemeOption): Integer; override;
|
||||
end;
|
||||
|
||||
implementation
|
||||
@ -428,6 +429,16 @@ begin
|
||||
Result := inherited GetDetailSize(Details);
|
||||
end;
|
||||
|
||||
function TCarbonThemeServices.GetOption(AOption: TThemeOption): Integer;
|
||||
begin
|
||||
case AOption of
|
||||
toShowButtonImages: Result := 0;
|
||||
toShowMenuImages: Result := 0;
|
||||
else
|
||||
Result := inherited GetOption(AOption);
|
||||
end;
|
||||
end;
|
||||
|
||||
{------------------------------------------------------------------------------
|
||||
Method: TCarbonThemeServices.InternalDrawParentBackground
|
||||
Params: Window - Handle to window
|
||||
|
Loading…
Reference in New Issue
Block a user