Made a GeoPos widget for lon/lat/alt entry and display (APRS...)

Cleaned up the GeoMap view, can be used as input
This commit is contained in:
furrtek
2017-08-03 19:06:59 +01:00
parent a5f0f72ea1
commit fba5b507ad
10 changed files with 285 additions and 165 deletions

View File

@@ -26,6 +26,8 @@
namespace ui {
#define DEG_TO_RAD(d) (d * (2 * pi) / 360.0)
using Coord = int16_t;
using Dim = int16_t;
@@ -326,6 +328,8 @@ struct TouchEvent {
Type type;
};
Point polar_to_point(float angle, uint32_t distance);
} /* namespace ui */
#endif/*__UI_H__*/