pcb 4.1.1
An interactive printed circuit board layout editor.
|
#include <stdio.h>
Go to the source code of this file.
Data Structures | |
struct | ResourceVal |
struct | Resource |
Defines | |
#define | FLAG_V 1 |
#define | FLAG_NV 2 |
#define | FLAG_S 4 |
#define | FLAG_NS 8 |
#define | resource_type(resval) (((resval).name?100:0)+((resval).value?10:0)+((resval).subres?1:0)) |
Typedefs | |
typedef struct ResourceVal | ResourceVal |
typedef struct Resource | Resource |
Functions | |
Resource * | resource_parse (const char *filename, const char **stringtab) |
char * | resource_value (const Resource *res, char *name) |
Resource * | resource_subres (const Resource *res, const char *name) |
Resource * | resource_create (Resource *parent) |
void | resource_add_val (Resource *n, char *name, char *value, Resource *subres) |
void | resource_dump (Resource *res) |
#define FLAG_NS 8 |
Definition at line 23 of file resource.h.
#define FLAG_NV 2 |
Definition at line 21 of file resource.h.
#define FLAG_S 4 |
Definition at line 22 of file resource.h.
Referenced by add_resource_to_menu(), and ghid_main_menu_real_add_resource().
#define FLAG_V 1 |
Definition at line 20 of file resource.h.
Referenced by insert_layerpick_buttons(), and insert_layerview_buttons().
#define resource_type | ( | resval | ) | (((resval).name?100:0)+((resval).value?10:0)+((resval).subres?1:0)) |
Definition at line 34 of file resource.h.
Referenced by ActionLoadVendorFrom(), add_resource_to_menu(), callback(), DumpKeys2(), ghid_load_menus(), ghid_main_menu_real_add_resource(), ghid_menu_cb(), lesstif_key_event(), load_mouse_resource(), and process_skips().
typedef struct ResourceVal ResourceVal |
Definition at line 1725 of file res_parse.c.
References Resource::c, ResourceVal::name, realloc(), ResourceVal::subres, Resource::v, and ResourceVal::value.
Referenced by insert_layerpick_buttons(), insert_layerview_buttons(), and res_wrap().
Definition at line 1714 of file res_parse.c.
References Resource::c, Resource::flags, malloc(), Resource::parent, and Resource::v.
Referenced by insert_layerpick_buttons(), insert_layerview_buttons(), and res_wrap().
void resource_dump | ( | Resource * | res | ) |
Definition at line 1787 of file res_parse.c.
References dump_res().
Referenced by load_mouse_resource().
Resource* resource_parse | ( | const char * | filename, |
const char ** | stringtab | ||
) |
Definition at line 1677 of file res_parse.c.
References filename, and parsed_res.
Referenced by ActionLoadVendorFrom(), ghid_load_menus(), and lesstif_menu().
Definition at line 1748 of file res_parse.c.
References Resource::c, ResourceVal::name, NSTRCMP, ResourceVal::subres, and Resource::v.
Referenced by ActionLoadVendorFrom(), add_resource_to_menu(), ghid_load_menus(), ghid_main_menu_real_add_resource(), and lesstif_menu().
char* resource_value | ( | const Resource * | res, |
char * | name | ||
) |
Definition at line 1735 of file res_parse.c.
References Resource::c, ResourceVal::name, NSTRCMP, Resource::v, and ResourceVal::value.
Referenced by ActionLoadVendorFrom(), add_resource_to_menu(), and ghid_main_menu_real_add_resource().