mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 23:19:12 +02:00
Gtk3: implemented SetAlphaBlend().
This commit is contained in:
parent
5731b3c4cf
commit
c82b207c96
@ -490,6 +490,11 @@ begin
|
||||
{$IFDEF GTK3DEBUGCORE}
|
||||
DebugLn('TGtk3WSCustomForm.SetAlphaBlend');
|
||||
{$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;
|
||||
|
||||
{ mdi support }
|
||||
|
Loading…
Reference in New Issue
Block a user