mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 22:10:05 +00:00
Common layer naming
This commit is contained in:
parent
a5cee797d9
commit
3392a9a402
6 changed files with 85 additions and 63 deletions
|
|
@ -1,6 +1,9 @@
|
|||
#pragma once
|
||||
|
||||
#include <scwx/qt/map/draw_layer.hpp>
|
||||
#include <scwx/awips/phenomenon.hpp>
|
||||
#include <scwx/qt/map/map_context.hpp>
|
||||
|
||||
#include <memory>
|
||||
|
||||
namespace scwx
|
||||
{
|
||||
|
|
@ -11,16 +14,13 @@ namespace map
|
|||
|
||||
class AlertLayerImpl;
|
||||
|
||||
class AlertLayer : public DrawLayer
|
||||
class AlertLayer
|
||||
{
|
||||
public:
|
||||
explicit AlertLayer(std::shared_ptr<MapContext> context);
|
||||
~AlertLayer();
|
||||
|
||||
void Initialize() override final;
|
||||
void Render(const QMapLibreGL::CustomLayerRenderParameters&) override final;
|
||||
void Deinitialize() override final;
|
||||
|
||||
void AddLayers(awips::Phenomenon phenomenon, const std::string& before = {});
|
||||
void AddLayers(const std::string& before = {});
|
||||
|
||||
private:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue