libxputty 0.1
Loading...
Searching...
No Matches
Data Fields
Adjustment_t Struct Reference

Adjustment_t - struct to hold a controller adjustment. More...

#include <xadjustment.h>

Collaboration diagram for Adjustment_t:
Collaboration graph
[legend]

Data Fields

Widget_tw
 
float std_value
 
float value
 
float min_value
 
float max_value
 
float step
 
float start_value
 
float scale
 
CL_type type
 
float log_scale
 
char pad [4]
 

Detailed Description

Adjustment_t - struct to hold a controller adjustment.

Parameters
*w- pointer to the Widget_t contain the adjustment
std_value- the standart value for the adjustment
value- the current value of the adjustment
min_value- the minimal value of the adjustment
max_value- the maximal value of the adjustment
step- the step to increase/decrease the adjustment
start_value- internal use to store the current value when pointer movement starts
type- should be on of the CL_type

Definition at line 82 of file xadjustment.h.

Field Documentation

◆ log_scale

float log_scale

◆ max_value

float max_value

◆ min_value

float min_value

◆ pad

char pad[4]

padding struct to align clean

Definition at line 104 of file xadjustment.h.

◆ scale

float scale

the scalling to increase/decrease the adjustment on pointer motion

Definition at line 98 of file xadjustment.h.

Referenced by adj_set_motion_state(), and adj_set_scale().

◆ start_value

float start_value

internal use to store the current value when pointer movement starts

Definition at line 96 of file xadjustment.h.

Referenced by _draw_h_meter(), _draw_v_meter(), adj_set_motion_state(), adj_set_start_value(), and power2db().

◆ std_value

float std_value

the standart value for the adjustment

Definition at line 86 of file xadjustment.h.

Referenced by adj_get_std_value(), adj_set_std_value(), and power2db().

◆ step

float step

◆ type

CL_type type

◆ value

float value

◆ w

pointer to the Widget_t contain the adjustment

Definition at line 84 of file xadjustment.h.

Referenced by check_value_changed(), and set_adjustment().


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