ARB
|
#include <aw_rgb.hxx>
Public Member Functions | |
AW_rgb16 () | |
AW_rgb16 (uint16_t red, uint16_t green, uint16_t blue) | |
AW_rgb16 (const char *colorname) | |
AW_rgb16 (const AW_rgb_normalized &o) | |
AW_rgb16 (AW_rgb m) | |
bool | operator== (const AW_rgb16 &o) const |
bool | operator!= (const AW_rgb16 &o) const |
uint16_t | r () const |
uint16_t | g () const |
uint16_t | b () const |
const char * | ascii () const |
Static Public Attributes | |
static CONSTEXPR float | MAX = 65535.0 |
Definition at line 38 of file aw_rgb.hxx.
|
inline |
Definition at line 45 of file aw_rgb.hxx.
|
inline |
Definition at line 46 of file aw_rgb.hxx.
|
explicit |
converts colorname
colorname | either color hexstring (allowed for orange: '#F80', '#ff8800', '#fFF888000' or '#ffff88880000') or X color name (e.g. "green") |
Definition at line 24 of file AW_rgb.cxx.
References aw_assert, convert_xcolorname(), CRAZY_PINK, and length.
|
inlineexplicit |
Definition at line 99 of file aw_rgb.hxx.
|
inlineexplicit |
Definition at line 49 of file aw_rgb.hxx.
|
inline |
Definition at line 55 of file aw_rgb.hxx.
Referenced by operator!=().
|
inline |
Definition at line 56 of file aw_rgb.hxx.
References operator==().
|
inline |
Definition at line 58 of file aw_rgb.hxx.
|
inline |
Definition at line 59 of file aw_rgb.hxx.
|
inline |
Definition at line 60 of file aw_rgb.hxx.
const char * AW_rgb16::ascii | ( | ) | const |
Definition at line 56 of file AW_rgb.cxx.
References aw_assert, and buffer.
Referenced by aw_create_color_chooser_window().
|
static |
Definition at line 43 of file aw_rgb.hxx.