Commit graph

60 commits

Author SHA1 Message Date
Dan Paulat
d4b3c1869b Add missing include 2025-06-15 00:03:07 -05:00
Dan Paulat
44a864f50f Remove GlContext from MapContext, layers receive MapContext from Initialize/Render 2025-05-10 16:43:58 -05:00
Dan Paulat
2d4ad2737e MapContext has a GlContext instead of MapContext is a GlContext 2025-05-10 16:43:11 -05:00
Dan Paulat
73355c9424 Fix line repopulation on alert removal 2025-05-05 22:52:50 -05:00
Dan Paulat
dc074b0262 More clang-tidy fixes 2025-05-05 21:50:01 -05:00
Dan Paulat
f40c24ce6f Alert layer warning cleanup 2025-05-04 23:10:22 -05:00
Dan Paulat
671ec1d658 Handle removed alerts from alert layer 2025-05-04 23:10:22 -05:00
Dan Paulat
2f2516b998 Fix: selected time is uninitialized on layer initialization 2025-05-04 23:10:21 -05:00
Dan Paulat
3ba569354e Ensure the alert layer schedules a render when an alert is added or updated 2025-05-04 23:10:21 -05:00
Dan Paulat
104fe790fb Update segment end time logic for alert layer
- Only earlier segments should have their end time updated
- The current message should end when the next message begins
2025-05-04 23:10:21 -05:00
Dan Paulat
16507adbe9 Alert layer should handle alerts by UUID if messages are received out of sequence 2025-05-04 23:10:20 -05:00
AdenKoperczak
2be140d291 Use layer names in ImGui Context names 2025-03-19 14:15:17 -04:00
AdenKoperczak
fea9083f7d Remove unnecessary copy, and make callback argument const in geolines 2025-03-17 09:39:01 -04:00
AdenKoperczak
f82ed0d9d4 Clang tidy/format fixes for fix_AlertLayer_circular_reference 2025-03-12 13:10:03 -04:00
AdenKoperczak
a8568d24f6 Fix AlertLayer circular reference 2025-03-12 13:00:56 -04:00
Dan Paulat
f672ff553a Update alert lines on settings update 2024-09-30 06:14:17 -05:00
Dan Paulat
3434db279e More removing braces around scalar initializers 2024-09-29 07:34:07 -05:00
Dan Paulat
584f5943b6 Re-add inactive alert palette display 2024-09-29 07:34:06 -05:00
Dan Paulat
dafb71e75c Use new alert palettes in AlertLayer 2024-09-29 07:34:06 -05:00
Dan Paulat
f753f3aa92 Schedule alert layer refresh at least once per minute to avoid stale warning boxes 2024-08-05 22:13:01 -05:00
Dan Paulat
74dbe1f915 Provide HandleGeoLinesEvent default event type case 2024-08-04 23:55:48 -05:00
Dan Paulat
264cfb9326 Ensure AlertLayerHandler is initialized prior to loading warnings 2024-08-04 23:19:15 -05:00
Dan Paulat
aec52f940d Open alert dialog when an alert is selected on the map 2024-08-04 23:05:02 -05:00
Dan Paulat
efb03ab9cc Handle mouse button press of alert 2024-08-03 23:25:39 -05:00
Dan Paulat
2ab8f3a77a Cache alert hover text 2024-08-03 23:25:39 -05:00
Dan Paulat
f9bb3e07c3 Removing unused eventEnd variable 2024-08-03 23:25:39 -05:00
Dan Paulat
204e2e8a0e Add hover callback to alert layer 2024-08-03 23:25:39 -05:00
Dan Paulat
1bf93c6318 Initialize geoLines with existing alert segments on layer creation 2024-08-03 23:25:39 -05:00
Dan Paulat
09cdb03699 Don't add an alert segment twice 2024-08-03 23:25:39 -05:00
Dan Paulat
6097b47b7a Update alert lines when a segment is updated 2024-08-03 23:25:39 -05:00
Dan Paulat
7659ef0906 Properly use rgba32f_pixel_t 2024-08-03 23:25:39 -05:00
Dan Paulat
c7023f9cd2 Rename lines to geoLines as appropriate 2024-08-03 23:25:39 -05:00
Dan Paulat
37a1316e44 Don't require FinishLines when adding new lines 2024-08-03 23:25:39 -05:00
Dan Paulat
4410b854c4 Add animation to new alert layer 2024-08-03 23:25:39 -05:00
Dan Paulat
c60f10707f Don't differentiate borders 2024-08-03 23:25:39 -05:00
Dan Paulat
b2d648e960 Add alert layer lines 2024-08-03 23:25:39 -05:00
Dan Paulat
0fa3f2162b Add new AlertLayerHandler 2024-08-03 23:25:38 -05:00
Dan Paulat
044e6d6885 Rename existing AlertLayer to AlertLayerOld, prepare AlertLayer skeleton 2024-08-03 23:25:38 -05:00
Dan Paulat
e1d61fccfa Catch exceptions in background threads 2024-06-15 23:44:33 -05:00
Dan Paulat
21088a5ace QMapLibre feature and layer interface updates 2024-03-02 00:58:25 -06:00
Dan Paulat
1fd52f771c Refactor QMapLibreGL to QMapLibre 2024-03-02 00:58:25 -06:00
Dan Paulat
2b6f70697c Update displayed layers when the layer model changes 2023-11-05 06:03:54 -06:00
Dan Paulat
3392a9a402 Common layer naming 2023-11-01 23:17:23 -05:00
Dan Paulat
b66ca2cb09 Refactor settings to be managed by singletons 2023-10-05 21:55:43 -05:00
Dan Paulat
ec946b71f4 Respect alpha channel value for warning boxes using line-opacity property 2023-08-03 23:20:23 -05:00
Dan Paulat
ea6134acea emit keyword is incompatible with oneTBB 2023-06-05 21:53:24 -05:00
Dan Paulat
a3afd71f03 "this" must be explicit in lambda capture 2023-04-17 18:29:37 -05:00
Dan Paulat
14f825d896 Draw alert boxes using colors from settings 2022-12-25 21:55:27 -06:00
Dan Paulat
963cbccdd9 Process snow squall alerts 2022-11-08 22:38:56 -06:00
Dan Paulat
c7a69a76be Integrate Warnings Provider auto-refresh into Text Event Manager 2022-11-06 23:39:01 -06:00