DgsCreateBlurBox

From Multi Theft Auto: Wiki

>>>Warning: This feature requires pixel shader model 2_a<<<

This function creates a blur box.

Syntax

element dgsCreateBlurBox( )
File:DGS.png
Example Rounded Rectangle

Returns

Returns a dgs-dxblurbox element (DGS Plugin Type)[ shader (Element Type) ] if succeed, false otherwise

Example

DGS = exports.dgs --get exported functions from dgs

local blurbox = DGS:dgsCreateBlurBox()
local window = DGS:dgsCreateWindow(200,200,600,500,"test",false)
DGS:dgsSetProperty(window,"functions",[[
	local arguments = {...}
	local blurbox = arguments[1]
	local renderArguments = renderArguments
	local x,y,w,h = renderArguments[1],renderArguments[2],renderArguments[3],renderArguments[4]
	dgsBlurBoxRender(blurbox,x,y,w,h)
]],blurbox)

See Also

Multi Language Supports

Animation

3D Interface

3D Text

Arrow List

Browser

Button

Check Box

Combo Box

Edit

Ellipse Detect Area

Detect Area

Grid List

Image

Memo

Label

Progress Bar

Radio Button

Scroll Bar

Scroll Pane

Switch Button

Tab Panel

Window

Plugin

Media Browser

Rounded Rectangle

Color Picker

Blur Box

Effect 3D