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

#include <FxUIEvent.h>

Inheritance diagram for CFxUIResizeEvent:
CFxUIEvent

Public Member Functions

 CFxUIResizeEvent (const CFxUISize &size, const CFxUISize &oldSize)
 
 ~CFxUIResizeEvent ()
 
const CFxUISizesize () const
 
const CFxUISizeoldSize () const
 
- Public Member Functions inherited from CFxUIEvent
 CFxUIEvent (Type type)
 
virtual ~CFxUIEvent ()
 
Type type () const
 

Protected Attributes

CFxUISize s
 
CFxUISize olds
 
- 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 CFxUIResizeEvent provides an event occurred when a widget is resized.

Definition at line 155 of file FxUIEvent.h.

Constructor & Destructor Documentation

◆ CFxUIResizeEvent()

CFxUIResizeEvent::CFxUIResizeEvent ( const CFxUISize & size,
const CFxUISize & oldSize )

Constructor.

Parameters
sizeInput.
oldSizeInput.

◆ ~CFxUIResizeEvent()

CFxUIResizeEvent::~CFxUIResizeEvent ( )

Destructor

Member Function Documentation

◆ oldSize()

const CFxUISize & CFxUIResizeEvent::oldSize ( ) const
inline

Returns the old size of the widget.

Returns
The size.

Definition at line 182 of file FxUIEvent.h.

◆ size()

const CFxUISize & CFxUIResizeEvent::size ( ) const
inline

Returns the new size of the widget.

Returns
The size.

Definition at line 175 of file FxUIEvent.h.

Member Data Documentation

◆ olds

CFxUISize CFxUIResizeEvent::olds
protected

Definition at line 184 of file FxUIEvent.h.

◆ s

CFxUISize CFxUIResizeEvent::s
protected

Definition at line 184 of file FxUIEvent.h.


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