DColorCircle
From GMod Wiki
Revision as of 08:36, 7 May 2010 by Morin-Guewen (Talk | contribs)
Derma Control: DColorCircle | |
---|---|
Parent Class: | DSlider |
Subclasses: | |
Description: | |
A circle shaped control for choosing an RGB color. |
Examples
Description | Creates a basic color circle constantly printing its color. (See DColorCircle.GetRGB for the reason 'or Color()' is necessary) |
---|---|
Used on | |
Code | local colorCircle = vgui.Create( "DColorCircle", frame ) colorCircle:SetPos( 10, 30 ) colorCircle:SetSize( 100, 100 ) colorCircle.PaintOver = function() PrintTable( colorCircle:GetRGB() or Color() ) end |
Output |
Methods
DColorCircle.GetRGB
DColorCircle.Init
DColorCircle.PerformLayout
DColorCircle.Think