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

#include <FxUIEvent.h>

Inheritance diagram for CFxUIPaintEvent:
CFxUIEvent

Public Member Functions

 CFxUIPaintEvent (const CFxUIRegion &paintRegion)
 
 CFxUIPaintEvent (const CFxUIRect &paintRect)
 
 ~CFxUIPaintEvent ()
 
const CFxUIRectrect () const
 
const CFxUIRegionregion () const
 
- Public Member Functions inherited from CFxUIEvent
 CFxUIEvent (Type type)
 
virtual ~CFxUIEvent ()
 
Type type () const
 

Protected Attributes

CFxUIRect m_rect
 
CFxUIRegion m_region
 
bool m_erased
 
- Protected Attributes inherited from CFxUIEvent
ushort t
 

Additional Inherited Members

- Public Types inherited from CFxUIEvent
enum  Type {
  None = 0 , FocusIn = 8 , FocusOut = 9 , Paint = 12 ,
  Resize = 14 , Show = 17 , Hide = 18 , MouseButtonPress = 2
}
 

Detailed Description

Class CFxUIPaintEvent provides an event occurred when a widget is painted.

Definition at line 107 of file FxUIEvent.h.

Constructor & Destructor Documentation

◆ CFxUIPaintEvent() [1/2]

CFxUIPaintEvent::CFxUIPaintEvent ( const CFxUIRegion & paintRegion)
explicit

Constructor.

Parameters
paintRegionInput.

◆ CFxUIPaintEvent() [2/2]

CFxUIPaintEvent::CFxUIPaintEvent ( const CFxUIRect & paintRect)
explicit

Constructor.

Parameters
paintRectInput.

◆ ~CFxUIPaintEvent()

CFxUIPaintEvent::~CFxUIPaintEvent ( )

Destructor

Member Function Documentation

◆ rect()

const CFxUIRect & CFxUIPaintEvent::rect ( ) const
inline

Returns the rectangle that needs to be updated.

Returns
The rectangle.

Definition at line 132 of file FxUIEvent.h.

◆ region()

const CFxUIRegion & CFxUIPaintEvent::region ( ) const
inline

Returns the region that needs to be updated.

Returns
The region.

Definition at line 139 of file FxUIEvent.h.

Member Data Documentation

◆ m_erased

bool CFxUIPaintEvent::m_erased
protected

Definition at line 147 of file FxUIEvent.h.

◆ m_rect

CFxUIRect CFxUIPaintEvent::m_rect
protected

Definition at line 145 of file FxUIEvent.h.

◆ m_region

CFxUIRegion CFxUIPaintEvent::m_region
protected

Definition at line 146 of file FxUIEvent.h.


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