Commit graph

52 commits

Author SHA1 Message Date
Dan Paulat
35b90fa98d Replace boost/units in favor of units library 2023-08-18 19:03:46 -05:00
Dan Paulat
5e1b1a5ba6 Map distance helper function 2023-08-16 00:15:08 -05:00
Dan Paulat
4fcfb54890 Textures may change between loads, don't skip reloading 2023-08-07 22:57:26 -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
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
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
8be32a8998 Render hover text in monospace
- TODO: Configure separate font size for monospace
2023-07-21 22:34:19 -05:00
Dan Paulat
1c39464228 Extract utility geographic and maplibre functions 2023-07-20 23:12:36 -05:00
Dan Paulat
68a6d5f97f Ignoring additional warnings required for MSVC 14.36 2023-06-16 23:34:43 -05:00
Dan Paulat
5a078800e4 QDate::toStdSysDays is needlessly behind __cpp_lib_chrono >= 201907L 2023-05-26 22:42:06 -05:00
Dan Paulat
023688b746 General GCC compilation fixes 2023-04-17 18:37:23 -05:00
Dan Paulat
cdd4ced28e Warning pragmas 2023-04-17 18:34:04 -05:00
Dan Paulat
d8b669262c Missing includes 2023-04-17 18:31:23 -05:00
Dan Paulat
31db9a4315 GCC doesn't implement <format> yet, use fmt 2023-04-17 18:24:50 -05:00
Dan Paulat
509fc76653 Guard pragma warning statements with ifdef msvc 2023-04-16 01:02:56 -05:00
Dan Paulat
90c8c0183a USe a common default geodesic object instead of duplicate copies.
All used functions are constant, and don't require unique instantiations for thread safety.
2023-02-19 15:16:34 -06:00
Dan Paulat
1d597eb120 Enable loading color palettes from embedded Qt resources 2023-01-02 00:23:46 -06:00
Dan Paulat
ad6eb61898 Initial QFileInputStream implementation 2023-01-01 21:44:03 -06:00
Dan Paulat
08965aa7f3 Initial QFileBuffer implementation 2023-01-01 01:33:24 -06:00
Dan Paulat
14f825d896 Draw alert boxes using colors from settings 2022-12-25 21:55:27 -06:00
Dan Paulat
2b55d0cd69 Adding alert colors to settings 2022-12-25 00:57:57 -06:00
Dan Paulat
0c1706ce6f Removing unused JSON functionality 2022-12-23 00:14:15 -06:00
Dan Paulat
7522162095 Return SettingsVariable objects instead of values 2022-12-19 00:32:35 -06:00
Dan Paulat
891b6c839f Inheriting MapSettings and PaletteSettings from SettingsCategory, updating SettingsManager initialization 2022-12-18 08:45:05 -06:00
Dan Paulat
ca044850fa Apply settings to font loading 2022-11-30 00:30:05 -06:00
Dan Paulat
81f1beb8d8 Adding settings for debug enabled and font sizes 2022-11-30 00:22:26 -06:00
Dan Paulat
5d9bf67fcc Add fonts to ImGui 2022-11-29 10:13:47 -06:00
Dan Paulat
976617d342 Don't use std::move when returning a local variable, allow NRVO 2022-10-08 00:03:47 -05:00
Dan Paulat
d3f7347be0 Texture atlas should fill unused pixels with magenta 2022-10-06 00:32:51 -05:00
Dan Paulat
e4629eb9ef Expose texture attributes in interface 2022-10-05 23:10:23 -05:00
Dan Paulat
17192470ec Initial texture atlas creation implementation 2022-10-05 22:41:39 -05:00
Dan Paulat
7b565d9c76 Add stream support class for QIODevice to boost::iostreams::stream 2022-10-04 23:09:36 -05:00
Dan Paulat
ff58f5bcf6 Fixing warnings in scwx-qt 2022-06-11 07:42:18 -05:00
Dan Paulat
741c30e236 Argument IDs must all be present or all be omitted 2022-04-21 22:44:31 -05:00
Dan Paulat
a96e017917 Add mapbox_api_key to settings 2022-04-20 11:56:22 -05:00
Dan Paulat
c6281d799f Removing boost log from Boost.Log -> spdlog - settings, types, util, view 2022-04-19 16:01:45 -05:00
Dan Paulat
9c2f86b00a Support loadable radar sites 2022-01-31 00:30:05 -06:00
Dan Paulat
2f47f0c229 Grid width and grid height 2021-11-18 22:00:31 -06:00
Dan Paulat
6373728242 JSON write error handling 2021-10-30 22:31:38 -05:00
Dan Paulat
1c0140fc98 Initial loading of JSON-based settings 2021-10-24 13:13:45 -05:00
Dan Paulat
28ea12cbfe Preload font resources 2021-10-23 16:11:13 -05:00
Dan Paulat
d31497c850 Parse font family and subfamily 2021-08-13 22:10:20 -05:00
Dan Paulat
5a97d99a34 Namespace cleanup 2021-08-08 08:24:40 -05:00
Dan Paulat
89ca94eda8 Text alignment and point size 2021-08-07 08:12:14 -05:00
Dan Paulat
ee0f3b35bf Extracting FontBuffer logic from Font 2021-08-07 01:03:41 -05:00
Dan Paulat
f21523d88b Shader warnings 2021-08-07 00:25:17 -05:00
Dan Paulat
289ed430c7 Scalable fonts using freetype-gl 2021-08-06 22:16:34 -05:00
Dan Paulat
82b265b6d4 Create a text shader and font utility 2021-07-31 22:09:00 -05:00