ColorButton Control

(UI 0.9.9)

Introduction

A Color Button is a button which displays a color picker when clicked

Class synopsis

class UI\Controls\ColorButton extends UI\Control {
/* Methods */
public getColor(): UI\Color
protected onChange()
public setColor(UI\Draw\Color $color)
public setColor(int $color)
/* Inherited methods */
public UI\Control::isEnabled(): bool
public UI\Control::isVisible(): bool
}

Table of Contents