1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
#ifndef PCB_DLG_PREF_LIB_H
#define PCB_DLG_PREF_LIB_H
typedef struct pref_libhelp_ctx_s {
RND_DAD_DECL_NOINIT(dlg)
int active; /* already open - allow only one instance */
} pref_libhelp_ctx_t;
typedef struct {
int wlist, whsbutton, wmoveup, wmovedown, wedit, wremove;
int lock; /* a change in on the dialog box causes a change on the board but this shouldn't in turn casue a changein the dialog */
char *cursor_path;
pref_libhelp_ctx_t help;
} pref_lib_t;
void pcb_dlg_pref_lib_close(pref_ctx_t *ctx);
void pcb_dlg_pref_lib_create(pref_ctx_t *ctx);
void pcb_dlg_pref_lib_init(pref_ctx_t *ctx);
void pcb_dlg_pref_lib_open(pref_ctx_t *ctx);
#endif
|