pcb 4.1.1
An interactive printed circuit board layout editor.

HID_Attribute Struct Reference

#include <hid.h>

Collaboration diagram for HID_Attribute:

Data Fields

char * name
char * help_text
enum hids type
int min_val
int max_val
HID_Attr_Val default_val
const char ** enumerations
void * value
int hash

Detailed Description

Definition at line 239 of file hid.h.


Field Documentation

For detecting changes.

Definition at line 259 of file hid.h.

Referenced by attr_hash(), hid_load_settings(), and hid_save_settings().

If the help_text is this, usage() won't show this option

Definition at line 244 of file hid.h.

Referenced by usage_attr().

For integer and real

Definition at line 247 of file hid.h.

Referenced by ghid_attribute_dialog().

For integer and real

Definition at line 246 of file hid.h.

Referenced by ghid_attribute_dialog().

If set, this is used for global attributes (i.e. those set statically with REGISTER_ATTRIBUTES below) instead of changing the default_val.

Note:
Note that a HID_Mixed attribute must specify a pointer to HID_Attr_Val here, and HID_Boolean assumes this is "char *" so the value should be initialized to zero, and may be set to non-zero (not always one).

Definition at line 251 of file hid.h.

Referenced by config_color_button_create(), config_color_defaults_cb(), config_color_set_cb(), config_colors_read(), config_colors_write(), ghid_config_init(), ghid_set_special_colors(), hid_parse_command_line(), hid_save_settings(), lesstif_parse_arguments(), parse_optionv(), and print_defaults().


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