Commit graph

790 commits

Author SHA1 Message Date
Dan Paulat
95f4d03c7b Fix map layer update on placefile rename 2023-08-02 23:25:38 -05:00
Dan Paulat
117a473689 Separate placefiles into their own layers
- Placefile rename is partially
- Texture repack might be broken
2023-08-02 22:39:19 -05:00
Dan Paulat
0be94c4de3 Buffer texture atlas on more than the first context after change
- Icons now work on all maps
2023-08-02 20:49:48 -05:00
Dan Paulat
4ff95094a3 Disable thresholding by default 2023-08-02 20:24:28 -05:00
Dan Paulat
a536d46bb4 Don't interpolate placefile icon pixels
This is a 90% solution to icon placement/blurring. The pixel coordinates
will need rounded in the vertex shader once the MVP and map matrices are
broken out for proper rotation.
2023-08-02 20:22:14 -05:00
Dan Paulat
b735589e9a Fix placefile icon orientation 2023-08-02 00:23:52 -05:00
Dan Paulat
f0bdeb09b1 Replace black with transparent, increase atlas size 2023-08-02 00:04:00 -05:00
Dan Paulat
bc1bf8cef6 Fix rendering of placefile icons, now works on one map 2023-08-02 00:02:33 -05:00
Dan Paulat
f074e487de First attempt at rendering placefile icons, does not work yet 2023-08-01 00:30:40 -05:00
Dan Paulat
4c093d65f6 Populate cached images into the texture atlas 2023-07-30 22:31:05 -05:00
Dan Paulat
0f9fbdbf63 Load placefile icons into texture atlas cache 2023-07-30 00:40:05 -05:00
Dan Paulat
1f2d5227c4 Add placefile parsing for Icon and IconFile, stub for TimeRange 2023-07-28 23:05:10 -05:00
Dan Paulat
e3449e382d Don't use a hard-coded user-agent for placefiles, add DPI parameter 2023-07-28 22:33:39 -05:00
Dan Paulat
751cafbfe7 Load placefiles according to the current radar site 2023-07-26 23:52:59 -05:00
Dan Paulat
6f44d9f4e0 Handle query string in supplied placefile URL, and improve error messages 2023-07-26 23:07:19 -05:00
Dan Paulat
dcace24579 Load placefiles from remote URLs 2023-07-26 00:18:10 -05:00
Dan Paulat
61bfeb88d0 Normalize edited URL 2023-07-25 23:26:52 -05:00
Dan Paulat
c6801722a1 Always resize ImGui windows when rendering placefile text to avoid clipping 2023-07-25 23:21:34 -05:00
Dan Paulat
6dedce5089 Update placefile view when placefiles are edited from settings 2023-07-25 23:16:36 -05:00
Dan Paulat
7c21ccaf41 Make placefile settings view editable 2023-07-25 23:15:12 -05:00
Dan Paulat
3ff34caa02 Placefile view enhancements
- Size enabled/threshold columns for a checkbox
- Combine URL/description columns
- Tooltips
- Alternating row colors
2023-07-24 22:27:42 -05:00
Dan Paulat
18c05b3a63 Additional placefile view/add enhancements 2023-07-23 23:24:45 -05:00
Dan Paulat
0064733679 Placefile fixes for Linux/gcc 2023-07-23 08:45:21 -05:00
Dan Paulat
36dd2945b0 Placefile URL readability updates 2023-07-23 00:36:08 -05:00
Dan Paulat
014ea9d39e Display placefiles in settings view 2023-07-23 00:14:48 -05:00
Dan Paulat
157500e20a Add open URL dialog to add a placefile 2023-07-22 21:17:09 -05:00
Dan Paulat
4c685e5abb Add placefile settings initial layout 2023-07-22 14:15:56 -05:00
Dan Paulat
ae1bca3602 Parse title from placefile 2023-07-22 13:18:51 -05:00
Dan Paulat
4ee7731023 Create accessor functions for placefile fonts 2023-07-22 01:29:25 -05:00
Dan Paulat
783e8f3490 Add placefile font 2023-07-22 00:24:17 -05:00
Dan Paulat
8be32a8998 Render hover text in monospace
- TODO: Configure separate font size for monospace
2023-07-21 22:34:19 -05:00
Dan Paulat
48d71cc14d Placefile text statement support
- Merged place and text
- Todo: Custom fonts not yet supported
- Todo: End statements sometimes appear after "Text" or other items
- Todo: Support "Title" statement
2023-07-21 00:26:42 -05:00
Dan Paulat
9f5de14f6b Render placefile Place statement 2023-07-20 23:40:32 -05:00
Dan Paulat
1c39464228 Extract utility geographic and maplibre functions 2023-07-20 23:12:36 -05:00
Dan Paulat
1a411af3bc Add placefile layer with text rendering 2023-07-19 23:27:37 -05:00
Dan Paulat
bfe62301b2 Enable loading of placefiles via the UI 2023-07-18 23:32:05 -05:00
Dan Paulat
f70de26a2d Initial placefile manager implementation 2023-07-18 23:16:50 -05:00
Dan Paulat
207cc1e302 Stub for placefile test 2023-07-17 22:03:14 -05:00
Dan Paulat
fed94e0b7f Update placefile parsing to use custom tokenizer instead of regex 2023-07-17 21:59:30 -05:00
Dan Paulat
c99e24f2c1 Ignore comment character if it appears in quotes 2023-07-17 21:57:04 -05:00
Dan Paulat
6767c0c50a Create custom string tokenizer for use in placefile parsing
- Avoids the use of regular expressions, and is expected to be more efficient with large placefiles
2023-07-16 23:59:28 -05:00
Dan Paulat
88475f5b0e Initial placefile parsing 2023-07-16 01:41:29 -05:00
Dan Paulat
7c863793ea Bump version to v0.2.2 2023-07-14 19:25:50 -05:00
Dan Paulat
466bae4f05
Merge pull request #71 from dpaulat/feature/maptiler-layers-renamed
Radar Draws Over MapTiler Maps
2023-07-14 19:23:13 -05:00
Dan Paulat
5612806e07 Update layer ordering definitions for MapTiler updates 2023-07-14 00:23:21 -05:00
Dan Paulat
d694764fa1 Map layer name comparison should be case insensitive 2023-07-14 00:22:32 -05:00
Dan Paulat
9c27b2cd29 Add map provider layer test 2023-07-14 00:21:12 -05:00
Dan Paulat
3d3318a032
Merge pull request #69 from dpaulat/feature/color-table-not-updating
Connect radar product view signals in layer constructor, rather than …
2023-07-12 18:15:28 -05:00
Dan Paulat
0902f183fc Connect radar product view signals in layer constructor, rather than initialize
If the radar product view updates at precisely the right time, color
tables might not be initialized properly. The Initialize function would
not have been able to properly update color tables, and the view signal
would be emitted prior to the signals and slots being connected.
2023-07-11 23:25:39 -05:00
Dan Paulat
809adfd422
Merge pull request #66 from dpaulat/feature/collapsible-groups
Collapsible Groups
2023-07-09 09:00:18 -04:00