Commit Graph

7 Commits

Author SHA1 Message Date
Dean Lee 1ecef2c6be add ui_draw_image to reduce code repetition 2020-04-13 15:38:45 -07:00
Andy 41bb3ac7ca Sidebar Connectivity Status (#1268)
* store athena connected-at time

* refactor

* deref

* dt import

* Athena status based on last ping time param

* upd test for pingtime

* lower error timeout
2020-04-05 11:06:49 -07:00
eFini 47f17622d9 paint.cc uses color defined in ui.hpp (#1261)
* pain.cc uses color defined in ui.hpp

* use macro
2020-03-27 11:00:42 -07:00
DeanLee 993b0e9427 repace nvgFontFace with nvgFontFaceId (#1279) 2020-03-27 11:00:07 -07:00
Comma Device 50d2dc24d2 fix multiline strings in ui_draw_sidebar_metric 2020-03-23 20:11:48 +00:00
Greg Hogan 16ad4bf58b remove storage metric from sidebar (#1254) 2020-03-20 10:35:58 -07:00
Andrew Valish 5ba6beed17 Refactor frame (#1192)
* start drawing new sidebar, add assets

* add thermal to ui, draw network_type and battery

* draw sidebar metrics, add freeSpace and paTemp

* draw static panda metric and network strength, start ubloxGnss messaging

* use array for network_img

* start sidebar touch events

* prevent multiple touch events with touch_timeout

* filter old touches, isolate sidebar events

* add hwType check with timeout for panda metric

* cleanup touch poll, handle vision touch, remove frame and black apks

* cleanup per willem comments

* update offroad, only read active_app from cereal

* tweak sidebar behavior, show active app status

* update offroad apk

* read networkstrength from thermal in sidebar
2020-03-09 19:13:32 -07:00