Atrinik Client 2.5
Data Fields
widgetdata Struct Reference

#include <widget.h>

Data Fields

char * name
int x1
int y1
int wd
int ht
int moveable
int show
int redraw
int unique
int no_kill
int visible
int delete_inv
int save
int save_width_height
struct widgetdatanext
struct widgetdataprev
struct widgetdatainv
struct widgetdatainv_rev
struct widgetdataenv
struct widgetdatatype_next
struct widgetdatatype_prev
void * subwidget
SDL_Surface * widgetSF
int WidgetTypeID
int WidgetSubtypeID
int WidgetObjID
uint8 resizeable
int min_w
int min_h
int resize_flags
int disable_snapping

Detailed Description

Information about a widget.

Definition at line 37 of file widget.h.


Field Documentation

Delete all widgets inside if widget is deleted.

Definition at line 73 of file widget.h.

The widget that contains this widget.

Definition at line 94 of file widget.h.

Height.

Definition at line 52 of file widget.h.

The first widget inside this widget.

Definition at line 88 of file widget.h.

The last widget inside this widget, used for traversing in reverse.

Definition at line 91 of file widget.h.

Is the widget moveable?

Definition at line 55 of file widget.h.

Widget name.

Definition at line 40 of file widget.h.

Next widget.

Definition at line 82 of file widget.h.

Must there be at least one of this widget type alive?

Definition at line 67 of file widget.h.

Previous widget.

Definition at line 85 of file widget.h.

Widget must be redrawn.

Definition at line 61 of file widget.h.

Should the widget be saved to the interface.gui file?

Definition at line 76 of file widget.h.

Save the widget's height/width?

Definition at line 79 of file widget.h.

Is the widget visible?

Definition at line 58 of file widget.h.

Used for custom attributes of a widget.

Definition at line 103 of file widget.h.

Next widget of the same type.

Definition at line 97 of file widget.h.

Previous widget of the same type.

Definition at line 100 of file widget.h.

Should this widget be the only one of its type?

Definition at line 64 of file widget.h.

If not visible, widget is not displayed but is still active.

Definition at line 70 of file widget.h.

Width.

Definition at line 49 of file widget.h.

A unique ID for the widget object.

Definition at line 115 of file widget.h.

SDL_Surface* widgetdata::widgetSF

Surface used to draw the widget.

Definition at line 106 of file widget.h.

The ID for the subtype of widget, used as a way of creating specific widgets.

Definition at line 112 of file widget.h.

The ID for the type of the widget.

Definition at line 109 of file widget.h.

X position.

Definition at line 43 of file widget.h.

Y position.

Definition at line 46 of file widget.h.


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