DFrame.SetBackgroundBlur

From GMod Wiki

Jump to: navigation, search
Function
Syntax DFrame:SetBackgroundBlur( Boolean Blur )
Description:
Toggles if the background behind the panel should blur out or not.
Returns: nil
In Object: DFrame
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=DFrame.SetBackgroundBlur]DFrame.SetBackgroundBlur [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionBlurs out the background.
Used onNewerClient.png
Code
 
local DermaPanel = vgui.Create( "DFrame" )
DermaPanel:SetPos( 50,50 ) 
DermaPanel:SetSize( 1000, 900 )
DermaPanel:SetTitle( "Testing Derma Stuff" ) 
DermaPanel:SetVisible( true )
DermaPanel:SetBackgroundBlur( true )
DermaPanel:SetDraggable( true )
DermaPanel:ShowCloseButton( true )
DermaPanel:MakePopup()
 
OutputN/A


Additional Notes

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox