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); |
float lat_entry_get(GtkWidget *widget); |
75 |
void lon_label_attrib_set(GtkWidget *widget, float lon, |
void lon_label_attrib_set(GtkWidget *widget, float lon, |
76 |
int size, int strikethrough); |
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 dist_get(GtkWidget *widget, gboolean mil); |
float dist_entry_get(GtkWidget *widget, gboolean mil); |
82 |
|
void dist_entry_set(GtkWidget *widget, float dist, gboolean mil); |
83 |
|
|
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 |
|
|
105 |
GtkWidget *simple_text_widget(char *text); |
GtkWidget *simple_text_widget(char *text); |
106 |
|
|
107 |
GtkWidget *preset_coordinate_picker(appdata_t *appdata, GtkWidget *lat_entry, GtkWidget *lon_entry); |
GtkWidget *preset_coordinate_picker(appdata_t *appdata, GtkWidget *lat_entry, GtkWidget *lon_entry); |
|
void preset_coordinate_picker_update(appdata_t *appdata, GtkWidget *popup); |
|
108 |
|
|
109 |
GtkWidget *entry_new(void); |
GtkWidget *entry_new(void); |
110 |
|
|
111 |
gboolean pos_differ(pos_t *pos1, pos_t *pos2); |
gboolean pos_differ(pos_t *pos1, pos_t *pos2); |
112 |
|
gboolean pos_valid(pos_t *pos); |
113 |
|
|
114 |
|
void misc_init(void); |
115 |
|
|
116 |
#endif // MISC_H |
#endif // MISC_H |