ReactOS 0.4.16-dev-329-g9223134
CUIFColorTableSys Class Reference

#include <cicuif.h>

Inheritance diagram for CUIFColorTableSys:
Collaboration diagram for CUIFColorTableSys:

Public Member Functions

 CUIFColorTableSys ()
 
COLORREF GetColor (INT iColor) const
 
HBRUSH GetBrush (INT iColor)
 
 STDMETHOD_ (void, InitColor)() override
 
 STDMETHOD_ (void, InitBrush)() override
 
 STDMETHOD_ (void, DoneBrush)() override
 
- Public Member Functions inherited from CUIFColorTable
 CUIFColorTable ()
 
virtual ~CUIFColorTable ()
 
 STDMETHOD_ (void, InitColor)()=0
 
 STDMETHOD_ (void, DoneColor)()
 
 STDMETHOD_ (void, InitBrush)()=0
 
 STDMETHOD_ (void, DoneBrush)()=0
 
void Update ()
 

Protected Attributes

COLORREF m_rgbColors [16]
 
HBRUSH m_hBrushes [16]
 

Detailed Description

Definition at line 273 of file cicuif.h.

Constructor & Destructor Documentation

◆ CUIFColorTableSys()

CUIFColorTableSys::CUIFColorTableSys ( )
inline

Definition at line 280 of file cicuif.h.

280{ }

Member Function Documentation

◆ GetBrush()

HBRUSH CUIFColorTableSys::GetBrush ( INT  iColor)

Definition at line 556 of file cicuif.cpp.

557{
558 if (!m_hBrushes[iColor])
560 return m_hBrushes[iColor];
561}
HBRUSH m_hBrushes[16]
Definition: cicuif.h:277
COLORREF m_rgbColors[16]
Definition: cicuif.h:276
HBRUSH WINAPI CreateSolidBrush(_In_ COLORREF)
_In_ ULONG iColor
Definition: xlateobj.h:17

Referenced by STDMETHODIMP_().

◆ GetColor()

COLORREF CUIFColorTableSys::GetColor ( INT  iColor) const
inline

Definition at line 282 of file cicuif.h.

282{ return m_rgbColors[iColor]; }

◆ STDMETHOD_() [1/3]

CUIFColorTableSys::STDMETHOD_ ( void  ,
DoneBrush   
)
overridevirtual

Implements CUIFColorTable.

◆ STDMETHOD_() [2/3]

CUIFColorTableSys::STDMETHOD_ ( void  ,
InitBrush   
)
overridevirtual

Implements CUIFColorTable.

◆ STDMETHOD_() [3/3]

CUIFColorTableSys::STDMETHOD_ ( void  ,
InitColor   
)
overridevirtual

Implements CUIFColorTable.

Member Data Documentation

◆ m_hBrushes

HBRUSH CUIFColorTableSys::m_hBrushes[16]
protected

Definition at line 277 of file cicuif.h.

Referenced by GetBrush().

◆ m_rgbColors

COLORREF CUIFColorTableSys::m_rgbColors[16]
protected

Definition at line 276 of file cicuif.h.

Referenced by GetBrush(), and GetColor().


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