Garry's Mod Wiki

MatSelect:SelectedItemPaintOver

  MatSelect:SelectedItemPaintOver( number w, number h )

Description

Defines a paint over function for a DImageButton when it is selected.

self in the context of this function is the DImageButton!

Arguments

1 number w
Width of the DImageButton panel.
2 number h
Height of the DImageButton panel.