DRGBBar

From GMod Wiki

Revision as of 11:12, 6 May 2010 by Morin-Guewen (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Derma Control: DRGBBar
Parent Class:Panel
Subclasses:
Description:
Colormap.

Examples

DescriptionCreates a DRGBBar.
Used onNewerClient.png
Code
 
 
local DermaPanel = vgui.Create( "DFrame" )
DermaPanel:SetPos( 50, 50 )
DermaPanel:SetSize( 350, 300 )
DermaPanel:SetTitle( "Testing Derma Stuff" )
DermaPanel:SetVisible( true )
DermaPanel:SetDraggable( false )
DermaPanel:ShowCloseButton( true )
DermaPanel:MakePopup()
 
local DRGBBar = vgui.Create( "DRGBBar" )
DRGBBar:SetParent( DermaPanel )
DRGBBar:SetPos( 5, 28 )
DRGBBar:SetSize( 340, 268 )
 
 
OutputDRGBBar.PNG


Methods

NewerClient.png DRGBBar.Init
NewerClient.png DRGBBar.PerformLayout
NewerClient.png DRGBBar.TranslateValues
NewerClient.png DRGBBar.SetColor
NewerClient.png DRGBBar.OnColorChange
NewerClient.png DRGBBar.PaintOver
NewerClient.png DRGBBar.GetHue

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox