MNE-CPP  0.1.9
A Framework for Electrophysiology
Public Member Functions | Public Attributes | List of all members
EVENTSLIB::RgbColor Struct Reference

#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
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ RgbColor() [1/3]

RgbColor::RgbColor ( )

Contructs an RgbColor object. The color will be set with the defaultGroupColor variable.

Definition at line 71 of file eventgroup.cpp.

◆ RgbColor() [2/3]

RgbColor::RgbColor ( const uchar  rRhs,
const uchar  gRhs,
const uchar  bRhs 
)

Conttructs an RgbColor object with the specified RGB values.

Parameters
[in]rRhsR value
[in]gRhsG value
[in]bRhsB value

Definition at line 77 of file eventgroup.cpp.

◆ RgbColor() [3/3]

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.

Parameters
[in]rRhsR value
[in]gRhsG value
[in]bRhsB value
[in]aRhsTransparency value

Definition at line 83 of file eventgroup.cpp.

Member Data Documentation

◆ a

uchar EVENTSLIB::RgbColor::a

Transparency value.

Definition at line 107 of file eventgroup.h.

◆ b

uchar EVENTSLIB::RgbColor::b

Blue value.

Definition at line 106 of file eventgroup.h.

◆ g

uchar EVENTSLIB::RgbColor::g

Green value.

Definition at line 105 of file eventgroup.h.

◆ r

uchar EVENTSLIB::RgbColor::r

Red value.

Definition at line 104 of file eventgroup.h.


The documentation for this struct was generated from the following files: