MythTV  master
Public Member Functions | Private Attributes | List of all members
MHRgba Class Reference

#include <freemheg.h>

Public Member Functions

 MHRgba (int red, int green, int blue, int alpha)
 
 MHRgba ()=default
 
int red () const
 
int green () const
 
int blue () const
 
int alpha () const
 

Private Attributes

unsigned char m_red {0}
 
unsigned char m_green {0}
 
unsigned char m_blue {0}
 
unsigned char m_alpha {0}
 

Detailed Description

Definition at line 76 of file freemheg.h.

Constructor & Destructor Documentation

◆ MHRgba() [1/2]

MHRgba::MHRgba ( int  red,
int  green,
int  blue,
int  alpha 
)
inline

Definition at line 79 of file freemheg.h.

◆ MHRgba() [2/2]

MHRgba::MHRgba ( )
default

Member Function Documentation

◆ red()

int MHRgba::red ( ) const
inline

Definition at line 82 of file freemheg.h.

Referenced by MHIText::AddText(), MHIContext::DrawRect(), and MHIDLA::DrawRect().

◆ green()

int MHRgba::green ( ) const
inline

Definition at line 83 of file freemheg.h.

Referenced by MHIText::AddText(), MHIContext::DrawRect(), and MHIDLA::DrawRect().

◆ blue()

int MHRgba::blue ( ) const
inline

Definition at line 84 of file freemheg.h.

Referenced by MHIText::AddText(), MHIContext::DrawRect(), and MHIDLA::DrawRect().

◆ alpha()

int MHRgba::alpha ( ) const
inline

Member Data Documentation

◆ m_red

unsigned char MHRgba::m_red {0}
private

Definition at line 87 of file freemheg.h.

Referenced by red().

◆ m_green

unsigned char MHRgba::m_green {0}
private

Definition at line 87 of file freemheg.h.

Referenced by green().

◆ m_blue

unsigned char MHRgba::m_blue {0}
private

Definition at line 87 of file freemheg.h.

Referenced by blue().

◆ m_alpha

unsigned char MHRgba::m_alpha {0}
private

Definition at line 87 of file freemheg.h.

Referenced by alpha().


The documentation for this class was generated from the following file: