mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-29 16:10:16 +02:00
Gtk3: implemented SetAlphaBlend().
This commit is contained in:
parent
5731b3c4cf
commit
c82b207c96
@ -490,6 +490,11 @@ begin
|
|||||||
{$IFDEF GTK3DEBUGCORE}
|
{$IFDEF GTK3DEBUGCORE}
|
||||||
DebugLn('TGtk3WSCustomForm.SetAlphaBlend');
|
DebugLn('TGtk3WSCustomForm.SetAlphaBlend');
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
|
if Gtk3IsGtkWindow(TGtk3Widget(ACustomForm.Handle).Widget) then
|
||||||
|
if AlphaBlend then
|
||||||
|
TGtk3Widget(ACustomForm.Handle).Widget^.set_opacity(Alpha / 255)
|
||||||
|
else
|
||||||
|
TGtk3Widget(ACustomForm.Handle).Widget^.set_opacity(1);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
{ mdi support }
|
{ mdi support }
|
||||||
|
Loading…
Reference in New Issue
Block a user