mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 21:00:05 +00:00
Additional clang-tidy action cleanup
This commit is contained in:
parent
57b773d009
commit
a3eb53a649
15 changed files with 128 additions and 117 deletions
|
|
@ -9,8 +9,8 @@ namespace map
|
|||
|
||||
struct MapSettings
|
||||
{
|
||||
explicit MapSettings() {}
|
||||
~MapSettings() = default;
|
||||
explicit MapSettings() = default;
|
||||
~MapSettings() = default;
|
||||
|
||||
MapSettings(const MapSettings&) = delete;
|
||||
MapSettings& operator=(const MapSettings&) = delete;
|
||||
|
|
|
|||
|
|
@ -39,18 +39,19 @@ public:
|
|||
|
||||
void DumpLayerList() const;
|
||||
|
||||
common::Level3ProductCategoryMap GetAvailableLevel3Categories();
|
||||
float GetElevation() const;
|
||||
std::vector<float> GetElevationCuts() const;
|
||||
std::vector<std::string> GetLevel3Products();
|
||||
std::string GetMapStyle() const;
|
||||
common::RadarProductGroup GetRadarProductGroup() const;
|
||||
std::string GetRadarProductName() const;
|
||||
std::shared_ptr<config::RadarSite> GetRadarSite() const;
|
||||
bool GetRadarWireframeEnabled() const;
|
||||
std::chrono::system_clock::time_point GetSelectedTime() const;
|
||||
bool GetSmoothingEnabled() const;
|
||||
std::uint16_t GetVcp() const;
|
||||
[[nodiscard]] common::Level3ProductCategoryMap
|
||||
GetAvailableLevel3Categories();
|
||||
[[nodiscard]] float GetElevation() const;
|
||||
[[nodiscard]] std::vector<float> GetElevationCuts() const;
|
||||
[[nodiscard]] std::vector<std::string> GetLevel3Products();
|
||||
[[nodiscard]] std::string GetMapStyle() const;
|
||||
[[nodiscard]] common::RadarProductGroup GetRadarProductGroup() const;
|
||||
[[nodiscard]] std::string GetRadarProductName() const;
|
||||
[[nodiscard]] std::shared_ptr<config::RadarSite> GetRadarSite() const;
|
||||
[[nodiscard]] bool GetRadarWireframeEnabled() const;
|
||||
[[nodiscard]] std::chrono::system_clock::time_point GetSelectedTime() const;
|
||||
[[nodiscard]] bool GetSmoothingEnabled() const;
|
||||
[[nodiscard]] std::uint16_t GetVcp() const;
|
||||
|
||||
void SelectElevation(float elevation);
|
||||
|
||||
|
|
|
|||
|
|
@ -266,7 +266,7 @@ void RadarProductLayer::Render(
|
|||
// Set OpenGL blend mode for transparency
|
||||
gl.glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
|
||||
|
||||
bool wireframeEnabled = context()->settings().radarWireframeEnabled_;
|
||||
const bool wireframeEnabled = context()->settings().radarWireframeEnabled_;
|
||||
if (wireframeEnabled)
|
||||
{
|
||||
// Set polygon mode to draw wireframe
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue