Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
#include <FXScrollArea.h>
Inheritance diagram for FX::FXScrollArea:
Public Member Functions | |
virtual FXint | getDefaultWidth () |
virtual FXint | getDefaultHeight () |
virtual void | layout () |
virtual FXint | getViewportHeight () |
virtual FXint | getViewportWidth () |
virtual FXint | getContentWidth () |
virtual FXint | getContentHeight () |
void | setScrollStyle (FXuint style) |
FXuint | getScrollStyle () const |
FXbool | isHorizontalScrollable () const |
FXbool | isVerticalScrollable () const |
FXScrollBar * | horizontalScrollBar () const |
FXScrollBar * | verticalScrollBar () const |
FXint | getXPosition () const |
FXint | getYPosition () const |
void | setPosition (FXint x, FXint y) |
void | getPosition (FXint &x, FXint &y) const |
virtual | ~FXScrollArea () |
When the content area becomes larger than the viewport area, scrollbars are placed to permit viewing of the entire content by scrolling the content. Depending on the mode, scrollbars may be displayed on an as-needed basis, always, or never. Normally, the scroll area's size and the content's size are independent; however, it is possible to disable scrolling in the horizontal (vertical) direction. In this case, the content width (height) will influence the width (height) of the scroll area widget. For content which is time-consuming to repaint, continuous scrolling may be turned off.
See also:
|
Destructor.
|
|
Return default width.
Reimplemented from FX::FXComposite. Reimplemented in FX::FXFoldingList, FX::FXList, FX::FXTable, FX::FXText, and FX::FXTreeList. |
|
Return default height.
Reimplemented from FX::FXComposite. Reimplemented in FX::FXFoldingList, FX::FXList, FX::FXTable, FX::FXText, and FX::FXTreeList. |
|
Perform layout.
Reimplemented from FX::FXComposite. Reimplemented in FX::FXBitmapView, FX::FXFoldingList, FX::FXIconList, FX::FXImageView, FX::FXList, FX::FXRulerView, FX::FXScrollWindow, FX::FXTable, FX::FXText, and FX::FXTreeList. |
|
Return viewport height.
Reimplemented in FX::FXIconList, and FX::FXRulerView. |
|
Return viewport width.
Reimplemented in FX::FXRulerView. |
|
Return content width.
Reimplemented in FX::FXBitmapView, FX::FXFoldingList, FX::FXIconList, FX::FXImageView, FX::FXList, FX::FXRulerView, FX::FXScrollWindow, FX::FXTable, FX::FXText, and FX::FXTreeList. |
|
Return content height.
Reimplemented in FX::FXBitmapView, FX::FXFoldingList, FX::FXIconList, FX::FXImageView, FX::FXList, FX::FXRulerView, FX::FXScrollWindow, FX::FXTable, FX::FXText, and FX::FXTreeList. |
|
Change scroll style.
|
|
Return scroll style.
|
|
Return TRUE if horizontally scrollable.
|
|
Return TRUE if vertically scrollable.
|
|
Return a pointer to the horizontal scrollbar.
|
|
Return a pointer to the vertical scrollbar.
|
|
Return the current x-position.
|
|
Return the current y-position.
|
|
Set the current position.
|
|
Get the current position.
|
Copyright © 1997-2005 Jeroen van der Zijp |