MNE-CPP
0.1.9
A Framework for Electrophysiology
|
#include <eventgroup.h>
Public Member Functions | |
RgbColor () | |
RgbColor (const uchar rRhs, const uchar gRhs, const uchar bRhs) | |
RgbColor (const uchar rRhs, const uchar gRhs, const uchar bRhs, const uchar aRhs) | |
Public Attributes | |
uchar | r |
uchar | g |
uchar | b |
uchar | a |
A holder for the color of an event group.
This class interacts well with QtColor, since it has constructors dependant on rgb type data.
Definition at line 74 of file eventgroup.h.
RgbColor::RgbColor | ( | ) |
Contructs an RgbColor object. The color will be set with the defaultGroupColor variable.
Definition at line 71 of file eventgroup.cpp.
RgbColor::RgbColor | ( | const uchar | rRhs, |
const uchar | gRhs, | ||
const uchar | bRhs | ||
) |
Conttructs an RgbColor object with the specified RGB values.
[in] | rRhs | R value |
[in] | gRhs | G value |
[in] | bRhs | B value |
Definition at line 77 of file eventgroup.cpp.
RgbColor::RgbColor | ( | const uchar | rRhs, |
const uchar | gRhs, | ||
const uchar | bRhs, | ||
const uchar | aRhs | ||
) |
Constructs an RgbColor object with the specified RGB and transparency values.
[in] | rRhs | R value |
[in] | gRhs | G value |
[in] | bRhs | B value |
[in] | aRhs | Transparency value |
Definition at line 83 of file eventgroup.cpp.
uchar EVENTSLIB::RgbColor::a |
Transparency value.
Definition at line 107 of file eventgroup.h.
uchar EVENTSLIB::RgbColor::b |
Blue value.
Definition at line 106 of file eventgroup.h.
uchar EVENTSLIB::RgbColor::g |
Green value.
Definition at line 105 of file eventgroup.h.
uchar EVENTSLIB::RgbColor::r |
Red value.
Definition at line 104 of file eventgroup.h.