#include <threshold.h>
Public Member Functions | |
| RGBA () | |
| RGBA (int r, int g, int b, int a) | |
| void | set (int r, int g, int b, int a) |
| void | set (int rgb, int alpha) |
| int | getRGB () const |
| RGBA | load_default (BC_Hash *defaults, const char *prefix) const |
| void | save_defaults (BC_Hash *defaults, const char *prefix) const |
| void | set_property (XMLTag &tag, const char *prefix) const |
| RGBA | get_property (XMLTag &tag, const char *prefix) const |
Data Fields | |
| int | r |
| int | g |
| int | b |
| int | a |
Definition at line 16 of file threshold.h.
| RGBA::RGBA | ( | ) |
Definition at line 691 of file threshold.C.
Referenced by get_property(), interpolate(), and load_default().
| RGBA::RGBA | ( | int | r, | |
| int | g, | |||
| int | b, | |||
| int | a | |||
| ) |
Definition at line 696 of file threshold.C.
| void RGBA::set | ( | int | r, | |
| int | g, | |||
| int | b, | |||
| int | a | |||
| ) |
| void RGBA::set | ( | int | rgb, | |
| int | alpha | |||
| ) |
| int RGBA::getRGB | ( | ) | const |
Definition at line 720 of file threshold.C.
Referenced by ThresholdHighColorButton::handle_event(), ThresholdMidColorButton::handle_event(), and ThresholdLowColorButton::handle_event().
Definition at line 742 of file threshold.C.
References a, b, g, BC_Hash::get(), init_RGBA_keys(), r, and RGBA().

| void RGBA::save_defaults | ( | BC_Hash * | defaults, | |
| const char * | prefix | |||
| ) | const |
Definition at line 753 of file threshold.C.
References a, b, g, init_RGBA_keys(), r, and BC_Hash::update().

| void RGBA::set_property | ( | XMLTag & | tag, | |
| const char * | prefix | |||
| ) | const |
Definition at line 764 of file threshold.C.
References a, b, g, init_RGBA_keys(), r, and XMLTag::set_property().

Definition at line 775 of file threshold.C.
References a, b, g, XMLTag::get_property(), init_RGBA_keys(), r, and RGBA().

| int RGBA::r |
Definition at line 39 of file threshold.h.
Referenced by get_property(), getRGB(), interpolate(), load_default(), operator==(), ThresholdUnit::render_data(), RGBA(), save_defaults(), set(), and set_property().
| int RGBA::g |
Definition at line 39 of file threshold.h.
Referenced by get_property(), getRGB(), interpolate(), load_default(), operator==(), ThresholdUnit::render_data(), RGBA(), save_defaults(), set(), and set_property().
| int RGBA::b |
Definition at line 39 of file threshold.h.
Referenced by get_property(), getRGB(), interpolate(), load_default(), operator==(), ThresholdUnit::render_data(), RGBA(), save_defaults(), set(), and set_property().
| int RGBA::a |
Definition at line 39 of file threshold.h.
Referenced by get_property(), ThresholdHighColorButton::handle_event(), ThresholdMidColorButton::handle_event(), ThresholdLowColorButton::handle_event(), interpolate(), load_default(), operator==(), ThresholdUnit::render_data(), RGBA(), save_defaults(), set(), and set_property().
1.5.5