| _S3DW_STYLE(9) | s3d Manual | _S3DW_STYLE(9) |
s3dw_style - style of s3d widget
#include <s3dw.h>
struct _s3dw_style {
const char *name;
const char *fontface;
float surface_mat;
float input_mat;
float inputback_mat;
float text_mat;
float title_mat;
float title_text_mat;
}
With s3dw_style you can change the colors/materials of your widgets. materials are in the same as in s3d_push_materials_a, that means red,green,blue and alpha float values (between 0.0 and 1.0) for ambience, specular and diffuse color.
name
fontface
surface_mat
input_mat
inputback_mat
text_mat
title_mat
title_text_mat
Simon Wunderlich
| s3d |