Commit graph

33 commits

Author SHA1 Message Date
Dan Paulat
2f2516b998 Fix: selected time is uninitialized on layer initialization 2025-05-04 23:10:21 -05:00
AdenKoperczak
2be140d291 Use layer names in ImGui Context names 2025-03-19 14:15:17 -04:00
Dan Paulat
0b64a8eae3 Enable transparency for all draw layers 2024-08-03 23:25:39 -05:00
Dan Paulat
e1d61fccfa Catch exceptions in background threads 2024-06-15 23:44:33 -05:00
Dan Paulat
1fd52f771c Refactor QMapLibreGL to QMapLibre 2024-03-02 00:58:25 -06:00
Dan Paulat
810b61f8f9 Use fonts defined in placefiles 2023-10-08 22:05:17 -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
4cc1a2b310 Placefile text animation support 2023-09-04 21:56:59 -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
9955c4ccbe Clean up placefile shared pointer usage with const references 2023-08-22 21:52:11 -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
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
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
f074e487de First attempt at rendering placefile icons, does not work yet 2023-08-01 00:30:40 -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
0064733679 Placefile fixes for Linux/gcc 2023-07-23 08:45:21 -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
1a411af3bc Add placefile layer with text rendering 2023-07-19 23:27:37 -05:00