Atrinik Client  4.0
Data Fields
color_picker_struct Struct Reference

#include <color_picker.h>

Data Fields

int x
 
int y
 
int px
 
int py
 
color_picker_element_struct elements [COLOR_PICKER_ELEM_NUM]
 
uint8_t border_thickness
 
double hsv [3]
 
void(* callback_func )(struct color_picker_struct *color_picker)
 

Detailed Description

Color picker structure.

Definition at line 69 of file color_picker.h.

Field Documentation

uint8_t color_picker_struct::border_thickness

Thickness of the border; 0 for none.

Definition at line 98 of file color_picker.h.

color_picker_element_struct color_picker_struct::elements[COLOR_PICKER_ELEM_NUM]

The elements.

Definition at line 93 of file color_picker.h.

double color_picker_struct::hsv[3]

Which color is currently selected, in HSV (hue,saturation,value) colorspace.

Definition at line 104 of file color_picker.h.

int color_picker_struct::px

X position of color picker's parent.

Definition at line 83 of file color_picker.h.

int color_picker_struct::py

Y position of color picker's parent.

Definition at line 88 of file color_picker.h.

int color_picker_struct::x

X position of the color picker.

Definition at line 73 of file color_picker.h.

int color_picker_struct::y

Y position of the color picker.

Definition at line 78 of file color_picker.h.


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