|
Defines |
| #define | WALK_TREE_MODEL_START(_tm, _tmm, _ti, _unit) |
|
#define | WALK_TREE_MODEL_END } |
Functions |
|
void | create_unit_window (void) |
|
void | on_new_unit (GtkWidget *w, gpointer data) |
|
void | on_edit_unit (GtkWidget *w, gpointer data) |
|
void | on_set_default_unit (GtkWidget *w, gpointer data) |
|
void | on_delete_unit (GtkWidget *w, gpointer data) |
|
void | unit_cursor_changed (GtkTreeView *t, gpointer data) |
|
void | uw_unit_added (uns slot, struct unit_hook *h) |
|
void | uw_unit_deleted (uns slot, struct unit_hook *h) |
|
void | uw_unit_changed (uns slot, struct unit_hook *h) |
|
void | uw_unit_default_changed (uns quantity, struct unit_hook *h) |
|
void | create_unit_quant_lists (void) |
|
void | destroy_unit_quant_lists (void) |
|
void | on_show_unit_window (void *subj UNUSED) |
|
void | destroy_unit_window (GtkWidget *widget UNUSED, gpointer data UNUSED) |
|
void | quantity_combo_changed (GtkWidget *w UNUSED, gpointer data UNUSED) |
|
void | new_or_edit_unit_dialog (uns *unit) |
|
void | on_new_unit (GtkWidget *w UNUSED, gpointer data UNUSED) |
|
void | on_edit_unit (GtkWidget *w UNUSED, gpointer data UNUSED) |
|
void | on_set_default_unit (GtkWidget *w UNUSED, gpointer data UNUSED) |
|
void | on_delete_unit (GtkWidget *w UNUSED, gpointer data UNUSED) |
|
void | unit_cursor_changed (GtkTreeView *t UNUSED, gpointer data UNUSED) |
|
void | uw_unit_deleted (uns slot, struct unit_hook *h UNUSED) |
|
void | uw_unit_changed (uns slot, struct unit_hook *h UNUSED) |
|
void | uw_unit_default_changed (uns quantity, struct unit_hook *h UNUSED) |
|
int | tree_iter_to_unit (GtkTreeModel *tm, GtkTreeIter *ti, uns *unit) |
|
int | unit_to_tree_iter (GtkTreeModel *tm, uns unit, GtkTreeIter *ti) |
Variables |
|
wnd_units | wnd_units |
| | The one and the only Unit manager window instance.
|
|
GtkListStore * | uq_none_list |
| | The unit lists which are used in unit combo boxes as well as in the unit manager.
|
|
GtkListStore * | uq_len_list |
| | The unit lists which are used in unit combo boxes as well as in the unit manager.
|
|
GtkListStore * | uq_angle_list |
| | The unit lists which are used in unit combo boxes as well as in the unit manager.
|
|
GtkListStore * | uq_ref_list |
| | The unit lists which are used in unit combo boxes as well as in the unit manager.
|
|
GtkListStore ** | unit_quant_lists [PQ_MAX] = { &uq_none_list, &uq_len_list, &uq_angle_list, &uq_ref_list } |
| | The lists of units per quantities.
|
|
uns | current_quantity |
|
int | selected_unit = -1 |
|
uns | example_subtypes [PQ_MAX] = { PTR_UNSPECIFIED, PTR_COORDINATE, PTR_ANGLE_4PI, PTR_REFERENCE } |
| unit_hook | uw_unit_hook |
|
char * | mult_desc [] = { NULL, "Multiplier (against millimeters)", "Multiplier (against radians)", "Multiplier" } |