PIXEL.ImgurButton
- Base panel:
PIXEL.ImageButton(opens in a new tab) - Source: cl_imgur_button.lua (opens in a new tab)
- Description: PIXEL image button that loads Imgur assets.
Methods
The following methods are available on the PIXEL.ImgurButton panel:
PANEL:SetImgurID( string )Sets the Imgur image identifier.
string PANEL:GetImgurID()Gets the Imgur image identifier parsed from the URL.
PANEL:SetImgurSize( number )Sets both image width and height using one size value.
number, number PANEL:GetImgurSize()Gets the configured image size.