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

Strut widget. More...

Go to the source code of this file.

Data Structures

struct  txt_strut_s

Typedefs

typedef struct txt_strut_s txt_strut_t
 Strut widget.

Functions

txt_strut_tTXT_NewStrut (int width, int height)
 Create a new strut.

Detailed Description

Strut widget.


Typedef Documentation

typedef struct txt_strut_s txt_strut_t

Strut widget.

A strut is a widget that takes up a fixed amount of space. It can be visualised as a transparent box. Struts are used to provide spacing between widgets.


Function Documentation

txt_strut_t* TXT_NewStrut ( int  width,
int  height 
)

Create a new strut.

Parameters:
widthWidth of the strut, in characters.
heightHeight of the strut, in characters.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends