Commit graph

1776 commits

Author SHA1 Message Date
Dan Paulat
dafb71e75c Use new alert palettes in AlertLayer 2024-09-29 07:34:06 -05:00
Dan Paulat
70cb3ab6d2 Update settings category signals to be in line with variables and only fire once
Properly connect line labels to the category signals
2024-09-29 07:34:06 -05:00
Dan Paulat
20dbc7f5b7 Default alert palettes 2024-09-29 07:34:06 -05:00
Dan Paulat
76809de2df Implement discard functionality for line settings 2024-09-29 07:34:06 -05:00
Dan Paulat
6063de2095 Settings dialog formatting 2024-09-29 07:34:06 -05:00
Dan Paulat
928b3397d2 Add alert palette settings widget to settings dialog 2024-09-29 07:34:06 -05:00
Dan Paulat
6b0aaea773 Commit line settings changes on apply 2024-09-29 07:34:06 -05:00
Dan Paulat
8212d24d34 Connect line label to alert palette settings
- Line label will initialize to settings value
- Changes to the line label will stage settings
2024-09-29 07:34:06 -05:00
Dan Paulat
9f4a798d67 Read and write settings subcategories 2024-09-29 07:34:06 -05:00
Dan Paulat
47b7d475c8 Use new alert palette settings in parent palette settings 2024-09-29 07:34:06 -05:00
Dan Paulat
efee1653e1 Add alert palette settings 2024-09-29 07:34:06 -05:00
Dan Paulat
1a30743c0a Add subcategory functionality to settings, still need to read/write JSON 2024-09-29 07:34:06 -05:00
Dan Paulat
cea2993665 Add LineSettings class to use as subcategory 2024-09-29 07:34:06 -05:00
Dan Paulat
c8dc8ed630 Refactor color validator from settings to utility source 2024-09-29 07:34:06 -05:00
Dan Paulat
8fc392681a Initial impact based warning palette settings
TODO:
- Update settings to use line component data
- Add interface to data
2024-09-29 07:34:06 -05:00
Dan Paulat
7101cdf183 Adding impact based warnings to ibw namespace 2024-09-29 07:34:05 -05:00
Dan Paulat
38a2831779 Renaming PhenomenonInfo to ImpactBasedWarningInfo 2024-09-29 07:34:05 -05:00
Dan Paulat
829d8a3152 Refactoring phenomena info to impact based warnings header 2024-09-29 07:34:05 -05:00
Dan Paulat
9182d170de Update alert line labels with the edit line dialog 2024-09-29 07:34:05 -05:00
Dan Paulat
0108799718 Add line label accessors 2024-09-29 07:34:05 -05:00
Dan Paulat
0481281680 Threat category of significant should be treated as considerable per latest NWSI 2024-09-29 07:34:05 -05:00
Dan Paulat
f8e0ab5b56 Add alert palette settings widget 2024-09-29 07:34:05 -05:00
Dan Paulat
da79f47416 Don't overwite the edit line color text boxes during text editing 2024-09-29 07:34:05 -05:00
Dan Paulat
88b8a8001f Line label geometry needs updated whenever a component width changes 2024-09-29 07:34:05 -05:00
Dan Paulat
eda7751eb9 Edit line dialog in-work 2024-09-29 07:34:05 -05:00
Dan Paulat
7254fc71fb Custom LineLabel widget to display line preview 2024-09-29 07:34:05 -05:00
Dan Paulat
a357489a55
Merge pull request #274 from AdenKoperczak/use-__cpp_lib_chrono
Use __cpp_lib_chrono to determine if chrono or date library should be used.
2024-09-27 15:05:25 -05:00
AdenKoperczak
d1e583d252 revert back to cmake version 3.21 and add manual logging of CHRONO_HAS_TIMEZONES_AND_CALENDERS 2024-09-27 13:44:45 -04:00
AdenKoperczak
2d9d240a5a Fixed CALANDERS spelling mistake 2024-09-27 13:11:35 -04:00
AdenKoperczak
6c7f7f952f bumped minimum CMake version to 3.26 so it logs try_compile statements 2024-09-27 12:12:51 -04:00
AdenKoperczak
421cae6716 Renamed HAS_FULL_CHRONO to CHRONO_HAS_TIMEZONES_AND_CALANDERS 2024-09-27 12:06:10 -04:00
AdenKoperczak
6953eddea6 Moved cpp-feature-tests out of source 2024-09-27 12:05:14 -04:00
AdenKoperczak
1b79c37fd2 Removed unneeded date/chrono header includes 2024-09-27 11:55:20 -04:00
AdenKoperczak
7c15a8272b add c++ standard to try_compile 2024-09-22 16:13:36 -04:00
AdenKoperczak
ccacc7f7db add cpp-feature-tests folder and cpp test 2024-09-22 12:58:44 -04:00
AdenKoperczak
264ed5a943 Update cmake file and add test cpp file for not compiling the date library if not needed 2024-09-22 12:33:43 -04:00
AdenKoperczak
79e39021a6 switch to using __cpp_lib_chrono to determine if chrono or date/date.h should be used 2024-09-22 12:02:38 -04:00
Dan Paulat
88246b26fe
Merge pull request #272 from AdenKoperczak/clang
Fixes for Clang and Added Clang Build
2024-09-21 20:42:20 -05:00
AdenKoperczak
4b4cc3b500 removed commented out unused variables 2024-09-21 13:12:38 -04:00
AdenKoperczak
d5703fe522 removed unsued paramater instead of ignoring it 2024-09-21 13:08:38 -04:00
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
d48baab44c remove now unused (moved) template initialization 2024-09-20 13:29:59 -04:00
AdenKoperczak
02bf673105 remove commented out unused variables 2024-09-20 13:27:27 -04:00
AdenKoperczak
46e0adee15 updated clang build to use stdc++11 so it is consistant and does not rebuild 2024-09-20 12:38:13 -04:00
AdenKoperczak
4a7bff0d37 Modified stdcxx to work with windows 2024-09-20 12:13:27 -04:00
AdenKoperczak
ba7a518b4d Add comiler.libcxx setting for conan build to avoid clang build from rebuilding some libraries while building supercell-wx 2024-09-20 11:55:14 -04:00
AdenKoperczak
403d7fdc2a use a diffrent name for the AppImage artifact for gcc and clang 2024-09-20 09:58:11 -04:00
AdenKoperczak
fb94934d1b removed more warnings from header files 2024-09-20 08:51:31 -04:00
AdenKoperczak
d9f9e89b19 do not include date/date.h for clang 2024-09-19 14:38:53 -04:00