s3dw_widget(9) debian man page | unix.com

Man Page: s3dw_widget

Operating Environment: debian

Section: 9

_S3DW_WIDGET(9) 						    s3d Manual							   _S3DW_WIDGET(9)

NAME
s3dw_widget - s3d widget information
SYNOPSIS
#include <s3dw.h>
STRUCTURE MEMBERS
struct _s3dw_widget { int type; s3dw_widget *parent; s3dw_style *style; int nobj; s3dw_widget **pobj; int focus; int flags; float ax; float ay; float az; float as; float arx; float ary; float arz; float width; float height; uint32_t oid; void *ptr; float x; float y; float z; float s; float rx; float ry; float rz; }
DESCRIPTION
This is the most basic widget type, it contains all the "general" widget information. If you want to move a widget, you'd change x,y,z,s and rx,ry,rz and call s3dw_moveit to turn your action reality. Every other widget has this type as first entry, so a simple typecast to s3dw_widget will give you the widgets "general" information. For typecast, you may use S3DWIDGET(). The pointer ptr allows linking to user-specific data structures. That comes in handy if the widget is called back by an event, and the program must now find out on which data the user reacted.
AUTHOR
Simon Wunderlich Author of s3d s3d _S3DW_WIDGET(9)
Related Man Pages
ps_shading(3) - debian
gmagickdraw(3) - php
harupage(3) - php
cairo_matrix_init(3) - php
openal_source_set(3) - php
Similar Topics in the Unix Linux Community
awk or sed - Convert 2 lines to 1 line
Detecting unused variables...
Find columns in a file based on header and print to new file
A (ksh) Library For and From UNIX.com