CFx SDK Documentation
2022 SP0
|
#include <FxUIScrollableArea.h>
Additional Inherited Members | |
Public Types inherited from CFxUIBaseView | |
enum | TextAlignment { AlignLeft = 0x0001 , AlignRight = 0x0002 , AlignHCenter = 0x0004 , AlignJustify = 0x0008 , AlignTop = 0x0020 , AlignBottom = 0x0040 , AlignVCenter = 0x0080 , AlignBaseline = 0x0100 , AlignCenter = AlignVCenter | AlignHCenter } |
enum | FocusPolicyType { eNoFocus = 0 , eTabFocus = 0x1 , eClickFocus = 0x2 , eStrongFocus = eTabFocus | eClickFocus | 0x8 , eWheelFocus = eStrongFocus | 0x4 , eKeyboardOnSetfocus = 0x10 } |
enum | UIWidthSizePolicy { eXS = 0 , eS , eM , eL , eXL } |
Static Public Member Functions inherited from CFxUIBaseView | |
static void | setTabOrder (CFxUIObject *first, CFxUIObject *second) |
Protected Member Functions inherited from CFxUIObject | |
CFxUIObject * | sender () |
Protected Attributes inherited from CFxUIObject | |
CFxUIObjectImpl * | m_pImpl |
CFxUIObjectData * | m_pData |
Class CFxUI type scrollable area for adding widgets.
Definition at line 25 of file FxUIScrollableArea.h.
CFxUIScrollableArea::CFxUIScrollableArea | ( | ) |
Constructor
CFxUIScrollableArea::~CFxUIScrollableArea | ( | ) |
Destructor
bool CFxUIScrollableArea::horizontalScrollingEnabled | ( | ) | const |
Returns if the horizontal scrolling is enabled.
void CFxUIScrollableArea::scrollTo | ( | CFxUIBaseView * | pChild | ) |
Scrolls to the particular widget in scroll area.
pChild | Pointer to the child widget to be scrolled. |
void CFxUIScrollableArea::setHorizontalScrollingEnabled | ( | bool | bEnabled | ) |
Sets the horizontal scrolling enabled.
bEnabled | The horizontal scrolling is enabled if parameter is true, otherwise disabled. |
void CFxUIScrollableArea::setVerticalScrollingEnabled | ( | bool | bEnabled | ) |
Sets the vertical scrolling enabled.
bEnabled | The vertical scrolling is enabled if parameter is true, otherwise disabled. |
bool CFxUIScrollableArea::verticalScrollingEnabled | ( | ) | const |
Returns if the vertical scrolling is enabled.