CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
CFxUIBrush Class Reference

#include <FxUIBrush.h>

Public Member Functions

 CFxUIBrush ()
 
 CFxUIBrush (const CFxUIColor &color, FxUIBrushStyle style=SolidPattern)
 
 CFxUIBrush (const CFxUIBrush &brush)
 
 CFxUIBrush (const FxNativeBrush &brush)
 
 ~CFxUIBrush ()
 
CFxUIBrushoperator= (const CFxUIBrush &brush)
 
bool operator== (const CFxUIBrush &brush) const
 
bool operator!= (const CFxUIBrush &brush) const
 
 operator const FxNativeBrush & () const
 
CFxUIColor color () const
 
void setColor (const CFxUIColor &color)
 
FxUIBrushStyle style () const
 

Protected Attributes

CFxUIBrushImpl * m_pImpl = nullptr
 

Detailed Description

Definition at line 40 of file FxUIBrush.h.

Constructor & Destructor Documentation

◆ CFxUIBrush() [1/4]

CFxUIBrush::CFxUIBrush ( )

Constructor

◆ CFxUIBrush() [2/4]

CFxUIBrush::CFxUIBrush ( const CFxUIColor & color,
FxUIBrushStyle style = SolidPattern )

Parameterized Constructor

◆ CFxUIBrush() [3/4]

CFxUIBrush::CFxUIBrush ( const CFxUIBrush & brush)

Copy Constructor

◆ CFxUIBrush() [4/4]

CFxUIBrush::CFxUIBrush ( const FxNativeBrush & brush)

◆ ~CFxUIBrush()

CFxUIBrush::~CFxUIBrush ( )

Destructor

Member Function Documentation

◆ color()

CFxUIColor CFxUIBrush::color ( ) const

Returns the brush color.

Returns
CFxUIColor

◆ operator const FxNativeBrush &()

CFxUIBrush::operator const FxNativeBrush & ( ) const

◆ operator!=()

bool CFxUIBrush::operator!= ( const CFxUIBrush & brush) const

◆ operator=()

CFxUIBrush & CFxUIBrush::operator= ( const CFxUIBrush & brush)

Assignment operator

◆ operator==()

bool CFxUIBrush::operator== ( const CFxUIBrush & brush) const

◆ setColor()

void CFxUIBrush::setColor ( const CFxUIColor & color)

Sets the brush color to the given color.

Parameters
CFxUIColor

◆ style()

FxUIBrushStyle CFxUIBrush::style ( ) const

Returns the brush style.

Returns
FxUIBrushStyle

Member Data Documentation

◆ m_pImpl

CFxUIBrushImpl* CFxUIBrush::m_pImpl = nullptr
protected

Definition at line 87 of file FxUIBrush.h.


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