Commit graph

208 commits

Author SHA1 Message Date
Dan Paulat
1e7df9f236 Hover over time for additional product information 2023-11-19 07:56:52 -06:00
Dan Paulat
c2918daebf Cleanup unused freetype dependencies and old text rendering 2023-11-17 21:21:37 -06:00
Dan Paulat
be33ff8cef Disable map pitch 2023-11-05 21:41:41 -06:00
Dan Paulat
2b6f70697c Update displayed layers when the layer model changes 2023-11-05 06:03:54 -06:00
Dan Paulat
c81d9d9ba6 Only add placefile layers if the placefile is enabled 2023-11-03 05:43:06 -05:00
Dan Paulat
7e2fd7c109 Layer naming updates 2023-11-03 05:42:32 -05:00
Dan Paulat
44ada2cc8d Add layer debug 2023-11-03 05:41:59 -05:00
Dan Paulat
cc0c82bbd2 Add layers in order defined by the layer manager 2023-11-03 05:09:07 -05:00
Dan Paulat
3392a9a402 Common layer naming 2023-11-01 23:17:23 -05:00
Dan Paulat
c5a56680ea Add anti-aliasing to settings 2023-10-09 23:10:10 -05:00
Dan Paulat
810b61f8f9 Use fonts defined in placefiles 2023-10-08 22:05:17 -05:00
Dan Paulat
11ea4676cf Use fonts defined by text settings for rendering 2023-10-08 09:02:28 -05:00
Dan Paulat
1f964c49f8 Check ImGui fonts before new frame 2023-10-06 04:50:26 -05:00
Dan Paulat
b66ca2cb09 Refactor settings to be managed by singletons 2023-10-05 21:55:43 -05:00
Dan Paulat
acc782b2bc Get ImGui font by font category 2023-10-05 21:18:58 -05:00
Dan Paulat
2e9f5818cd Lock the ImGui font atlas when processing a frame 2023-10-01 22:07:36 -05:00
Dan Paulat
7d021f72f3 Fixing additional thread lifetime issues 2023-09-18 22:22:28 -05:00
Dan Paulat
827a0eacf5 Don't destroy PlacefileLayer or PlacefileManager until background tasks have completed 2023-09-18 22:21:47 -05:00
Dan Paulat
adbcc24aa9 Hide the tooltip when losing focus 2023-09-15 00:01:00 -05:00
Dan Paulat
1a9e87ba07 Don't display a disabled placefile when renaming 2023-09-09 12:20:17 -05:00
Dan Paulat
0badf01a92 Refactor tooltip display 2023-09-09 00:49:23 -05:00
Dan Paulat
9ebc859756 Add cursor position (screen coordinates) to mouse picking 2023-09-08 22:57:30 -05:00
Dan Paulat
4cc1a2b310 Placefile text animation support 2023-09-04 21:56:59 -05:00
Dan Paulat
7198d1c7af Use GL_TEXTURE_2D_ARRAY to enable multiple texture atlases 2023-09-02 13:44:56 -05:00
Dan Paulat
00c297094e Placefile image rendering 2023-09-02 00:58:52 -05:00
Dan Paulat
44030fdf87 For placefile icons, only buffer texture data on texture atlas update 2023-09-01 23:35:30 -05:00
Dan Paulat
26a326b450 Render placefile triangles 2023-09-01 00:28:32 -05:00
Dan Paulat
8dfb9f1105 Placefile line hover in-work 2023-08-28 00:15:57 -05:00
Dan Paulat
38b56be7c4 Mouse picking boilerplate 2023-08-27 00:29:17 -05:00
Dan Paulat
ad5c2b583d Placefile "Remove" functionality 2023-08-22 23:52:55 -05:00
Dan Paulat
9955c4ccbe Clean up placefile shared pointer usage with const references 2023-08-22 21:52:11 -05:00
Dan Paulat
f512df9dd6 Enable anti-aliasing (MSAA x4) 2023-08-21 22:19:42 -05:00
Dan Paulat
c85e4cef58 Basic placefile lines rendering
Desired to make the line styling look more like warning boxes
2023-08-20 22:37:46 -05:00
Dan Paulat
565734217b Update placefile icon texture coordinates when the texture atlas changes 2023-08-19 22:52:38 -05:00
Dan Paulat
e021484bfb Update placefile icon data outside of render loop, polygon and text cleanup 2023-08-19 22:19:32 -05:00
Dan Paulat
b159540215 Update placefile text data outside of render loop, polygon cleanup 2023-08-19 21:43:57 -05:00
Dan Paulat
8f2b87790a Update placefile polygon data outside of render loop 2023-08-19 18:30:49 -05:00
Dan Paulat
a4027ba120 Refactor placefile text into its own draw item 2023-08-19 10:05:26 -05:00
Dan Paulat
35b90fa98d Replace boost/units in favor of units library 2023-08-18 19:03:46 -05:00
Dan Paulat
12833202b7 Use geometry shaders for icon and polygon thresholds, fix threshold method to map distance for placefile text 2023-08-18 00:42:55 -05:00
Dan Paulat
0c5a504ad5 Placefile polygon Linux fixes 2023-08-11 08:36:08 -05:00
Dan Paulat
cdef5a9938 Placefile polygon rendering 2023-08-11 00:45:42 -05:00
Dan Paulat
f0c2f8eec0 Correct text not following map rotation 2023-08-06 22:49:18 -05:00
Dan Paulat
eaf5089526 Ensure placefile text IDs are unique, ensuring correct text placement 2023-08-03 23:39:10 -05:00
Dan Paulat
6e42001281 Set OpenGL blend mode for placefile transparency 2023-08-03 23:38:27 -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
6607eb0e56 Fix transparency in color table layer and radar product layer 2023-08-03 22:40:20 -05:00
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
bc1bf8cef6 Fix rendering of placefile icons, now works on one map 2023-08-02 00:02:33 -05:00