SYNOPSIS
#include <s3dw.h>
STRUCTURE MEMBERS
-
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; }
DESCRIPTION
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
- name of the style ... kind of redundant
fontface
- font face for all used fonts
surface_mat
- material for the surface background
input_mat
- material for button boxes and other widgets
inputback_mat
- material for input field background
text_mat
- material for the text on buttons and inputs
title_mat
- material for the title bar
title_text_mat
- material for the text on the title bar
AUTHOR
Simon Wunderlich
- Author of s3d