---
name: "s3dw_style"
section: "9"
platform: "linux"
package: "s3d-doc"
version: "0.2.2.1-7"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/s3dw_style"
---

# s3dw\_style(9)

style of s3d widget

## NAME

s3dw\_style - style of s3d widget

## 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
