ReactOS 0.4.15-dev-8021-g7ce96fd
CUIFColorTableOff10 Class Reference

#include <cicuif.h>

Inheritance diagram for CUIFColorTableOff10:
Collaboration diagram for CUIFColorTableOff10:

Public Member Functions

 CUIFColorTableOff10 ()
 
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 [32]
 
HBRUSH m_hBrushes [32]
 

Detailed Description

Definition at line 290 of file cicuif.h.

Constructor & Destructor Documentation

◆ CUIFColorTableOff10()

CUIFColorTableOff10::CUIFColorTableOff10 ( )
inline

Definition at line 297 of file cicuif.h.

297{ }

Member Function Documentation

◆ GetBrush()

HBRUSH CUIFColorTableOff10::GetBrush ( INT  iColor)

Definition at line 563 of file cicuif.cpp.

564{
565 if (!m_hBrushes[iColor])
567 return m_hBrushes[iColor];
568}
HBRUSH m_hBrushes[32]
Definition: cicuif.h:294
COLORREF m_rgbColors[32]
Definition: cicuif.h:293
HBRUSH WINAPI CreateSolidBrush(_In_ COLORREF)
_In_ ULONG iColor
Definition: xlateobj.h:17

◆ GetColor()

COLORREF CUIFColorTableOff10::GetColor ( INT  iColor) const
inline

Definition at line 299 of file cicuif.h.

299{ return m_rgbColors[iColor]; }

◆ STDMETHOD_() [1/3]

CUIFColorTableOff10::STDMETHOD_ ( void  ,
DoneBrush   
)
overridevirtual

Implements CUIFColorTable.

◆ STDMETHOD_() [2/3]

CUIFColorTableOff10::STDMETHOD_ ( void  ,
InitBrush   
)
overridevirtual

Implements CUIFColorTable.

◆ STDMETHOD_() [3/3]

CUIFColorTableOff10::STDMETHOD_ ( void  ,
InitColor   
)
overridevirtual

Implements CUIFColorTable.

Member Data Documentation

◆ m_hBrushes

HBRUSH CUIFColorTableOff10::m_hBrushes[32]
protected

Definition at line 294 of file cicuif.h.

Referenced by GetBrush().

◆ m_rgbColors

COLORREF CUIFColorTableOff10::m_rgbColors[32]
protected

Definition at line 293 of file cicuif.h.

Referenced by GetBrush(), and GetColor().


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