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 function getColor(): UI\Color
protected function onChange()
public function setColor(UI\Draw\Color $color)
public function setColor(int $color)
/* Inherited methods */
public function UI\Control::destroy()
public function UI\Control::disable()
public function UI\Control::enable()
public function UI\Control::getTopLevel(): int
public function UI\Control::hide()
public function UI\Control::isEnabled(): bool
public function UI\Control::isVisible(): bool
public function UI\Control::setParent(UI\Control $parent)
public function UI\Control::show()
}

Table of Contents

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top