Commit graph

315 commits

Author SHA1 Message Date
AdenKoperczak
3b5323cea0 remove warning supression and fix missing virtual destructor 2024-09-21 13:01:56 -04:00
AdenKoperczak
c5d004aa48 fixed __clange__ spelling mistake 2024-09-21 12:44:24 -04:00
AdenKoperczak
02bf673105 remove commented out unused variables 2024-09-20 13:27:27 -04:00
AdenKoperczak
d9f9e89b19 do not include date/date.h for clang 2024-09-19 14:38:53 -04:00
AdenKoperczak
797f26e461 moved warning avoidance over to c files 2024-09-19 14:37:35 -04:00
AdenKoperczak
f5a5d3172f comment out some unused variables/constants 2024-09-19 11:55:42 -04:00
AdenKoperczak
80070109db removed brackets from basic initilizations 2024-09-19 11:55:42 -04: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
e8a0cf5fa9 Removing old alert layer 2024-08-05 00:04:18 -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
a219b1eca4 Use new alert layers 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
0b64a8eae3 Enable transparency for all draw layers 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
2e1b537c87 Use a weak pointer to store picked event handler
Fixes crash while item is picked and changing layers
2024-08-03 23:22:26 -05:00
Dan Paulat
daf1ff39e5 Destroy layer after deinitialize call is complete
MapLibre seems to relatively consistently not destroy layers the first time layers are removed and re-added
2024-06-26 22:49:44 -05:00
Dan Paulat
45a4d29795 Use custom map style from settings 2024-06-21 23:36:07 -05:00
Dan Paulat
9ce33ed953 Update for Mapbox style layer names 2024-06-20 00:07:30 -05:00
Dan Paulat
e1d61fccfa Catch exceptions in background threads 2024-06-15 23:44:33 -05:00
Dan Paulat
41d47878e3 Fix middle click selecting the nearest radar site
Fixes #216
2024-05-30 20:46:55 -05:00
Dan Paulat
37a850a778 GL color buffer should be cleared at the start of the frame 2024-05-26 23:11:02 -05:00
Dan Paulat
8bd6838438 Don't process a file update for a previously selected radar site 2024-05-24 23:13:33 -05:00
Dan Paulat
336eb66321 Middle click selects nearest WSR-88D
Resolves #216
2024-05-24 23:12:24 -05:00
Dan Paulat
49800c014b Trim spaces from API key before using
Fixes #211
2024-05-21 23:12:27 -05:00
Dan Paulat
fb4e111f84 Handle 8-bit ASCII characters in product units >= 128 2024-05-01 22:41:02 -05:00
Dan Paulat
b56c43197f Ignore recursive paint events 2024-05-01 22:40:16 -05:00
Dan Paulat
3df6363211 Display the selected speed units for level 2 data 2024-05-01 00:24:36 -05:00
Dan Paulat
012dc10204 Update map widget when modifiers are released after updating mouse coordinates 2024-04-21 00:31:46 -05:00
Dan Paulat
15beb9436d Default geo_texture2d displayed parameter to true when not used 2024-04-21 00:20:00 -05:00
Dan Paulat
f4bc2572d2 Display mouse cursor icon on maps when Ctrl is held 2024-04-21 00:12:19 -05:00
Dan Paulat
9cb29c6b9a Add icon visibility method to geo icons, update only dirty icons 2024-04-20 00:34:50 -05:00
Dan Paulat
fcf6ef800b Add map center icon to overlay layer 2024-04-20 00:32:48 -05:00
Dan Paulat
589eff9882 Handle hotkeys across multiple map panes 2024-04-12 22:59:49 -05:00
Dan Paulat
7e99b5fb00 Handle held hotkeys on frame update (paintGL) rather than on key press 2024-04-12 00:54:39 -05:00
Dan Paulat
dcaba52db7 Hotkey repeat handling update 2024-04-11 23:57:12 -05:00