Odamex
Setting the Standard in Multiplayer Doom
textscreen/txt_scrollpane.h File Reference

Scrollable pane widget. More...

Go to the source code of this file.

Data Structures

struct  txt_scrollpane_s

Typedefs

typedef struct txt_scrollpane_s txt_scrollpane_t
 Scrollable pane widget.

Functions

txt_scrollpane_tTXT_NewScrollPane (int w, int h, TXT_UNCAST_ARG(target))
 Create a new scroll pane widget.

Detailed Description

Scrollable pane widget.


Typedef Documentation

Scrollable pane widget.

A scrollable pane widget is a widget that contains another widget that is larger than it. Scroll bars appear on the side to allow different areas of the contained widget to be seen.


Function Documentation

txt_scrollpane_t* TXT_NewScrollPane ( int  w,
int  h,
TXT_UNCAST_ARG(target)   
)

Create a new scroll pane widget.

Parameters:
wWidth of the scroll pane, in characters.
hHeight of the scroll pane, in lines.
targetThe target widget that the scroll pane will contain.
Returns:
Pointer to the new scroll pane widget.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends