38 |
GtkWidget *gtk_label_big(char *str); |
GtkWidget *gtk_label_big(char *str); |
39 |
#endif |
#endif |
40 |
|
|
41 |
|
gboolean pos_valid(pos_t *pos); |
42 |
|
|
43 |
GtkWidget *gtk_label_attrib(char *str, int size, int strikethrough); |
GtkWidget *gtk_label_attrib(char *str, int size, int strikethrough); |
44 |
GtkWidget *gtk_button_attrib(char *str, int size, int strikethrough); |
GtkWidget *gtk_button_attrib(char *str, int size, int strikethrough); |
45 |
void gtk_label_attrib_set(GtkWidget *label, |
void gtk_label_attrib_set(GtkWidget *label, |
61 |
|
|
62 |
pos_t *get_pos(appdata_t *appdata); |
pos_t *get_pos(appdata_t *appdata); |
63 |
|
|
|
void distance_str(char *str, int len, float dist, gboolean mil); |
|
|
float distance_parse(char *str, gboolean imperial); |
|
|
|
|
64 |
GtkWidget *lat_entry_new(float lat); |
GtkWidget *lat_entry_new(float lat); |
65 |
GtkWidget *lon_entry_new(float lon); |
GtkWidget *lon_entry_new(float lon); |
66 |
|
float lat_entry_get(GtkWidget *widget); |
67 |
|
float lon_entry_get(GtkWidget *widget); |
68 |
|
void lat_entry_set(GtkWidget *widget, float lat); |
69 |
|
void lon_entry_set(GtkWidget *widget, float lon); |
70 |
|
|
71 |
|
void lat_label_set(GtkWidget *widget, float lat); |
72 |
|
void lon_label_set(GtkWidget *widget, float lon); |
73 |
|
void lat_label_attrib_set(GtkWidget *widget, float lat, |
74 |
|
int size, int strikethrough); |
75 |
|
void lon_label_attrib_set(GtkWidget *widget, float lon, |
76 |
|
int size, int strikethrough); |
77 |
|
|
78 |
|
void distance_str(char *str, int len, float dist, gboolean mil); |
79 |
|
float distance_parse(char *str, gboolean imperial); |
80 |
GtkWidget *dist_entry_new(float dist, gboolean mil); |
GtkWidget *dist_entry_new(float dist, gboolean mil); |
81 |
float lat_get(GtkWidget *widget); |
float dist_entry_get(GtkWidget *widget, gboolean mil); |
82 |
float lon_get(GtkWidget *widget); |
void dist_entry_set(GtkWidget *widget, float dist, gboolean mil); |
83 |
float dist_get(GtkWidget *widget, gboolean mil); |
|
84 |
|
void angle_str(char *str, int len, float angle); |
85 |
|
float angle_parse(char *str); |
86 |
|
GtkWidget *angle_entry_new(float angle); |
87 |
|
float angle_entry_get(GtkWidget *widget); |
88 |
|
void angle_entry_set(GtkWidget *widget, float angle); |
89 |
|
|
90 |
GtkWidget *left_label_new(char *str); |
GtkWidget *left_label_new(char *str); |
91 |
|
|
104 |
const char *type, int id); |
const char *type, int id); |
105 |
GtkWidget *simple_text_widget(char *text); |
GtkWidget *simple_text_widget(char *text); |
106 |
|
|
107 |
GtkWidget *coo_popup(appdata_t *appdata, GtkWidget *lat_entry, GtkWidget *lon_entry); |
/* convenience-addons for the lat/lon entries */ |
108 |
|
GtkWidget *preset_coordinate_picker(appdata_t *appdata, GtkWidget *lat_entry, GtkWidget *lon_entry); |
109 |
|
GtkWidget *goto_coordinate(appdata_t *appdata, GtkWidget *lat_entry, GtkWidget *lon_entry); |
110 |
|
|
111 |
GtkWidget *entry_new(void); |
GtkWidget *entry_new(void); |
112 |
|
|
113 |
|
gboolean pos_differ(pos_t *pos1, pos_t *pos2); |
114 |
|
gboolean pos_valid(pos_t *pos); |
115 |
|
|
116 |
|
void misc_init(void); |
117 |
|
|
118 |
|
GtkWidget *toggle_button_new_with_label(char *label); |
119 |
|
void toggle_button_set_active(GtkWidget *button, gboolean active); |
120 |
|
gboolean toggle_button_get_active(GtkWidget *button); |
121 |
|
|
122 |
|
GtkWidget *check_button_new_with_label(char *label); |
123 |
|
void check_button_set_active(GtkWidget *button, gboolean active); |
124 |
|
gboolean check_button_get_active(GtkWidget *button); |
125 |
|
|
126 |
|
GtkWidget *button_new(void); |
127 |
|
GtkWidget *button_new_with_label(char *label); |
128 |
|
|
129 |
|
GtkWidget *export_file(char *sel_title, char **filename); |
130 |
|
|
131 |
#endif // MISC_H |
#endif // MISC_H |