MapContext has a GlContext instead of MapContext is a GlContext

This commit is contained in:
Dan Paulat 2025-05-07 22:37:45 -05:00
parent 58f2609fe7
commit 2d4ad2737e
31 changed files with 147 additions and 307 deletions

View file

@ -2,11 +2,7 @@
#include <scwx/qt/map/draw_layer.hpp>
namespace scwx
{
namespace qt
{
namespace map
namespace scwx::qt::map
{
class RadarSiteLayer : public DrawLayer
@ -15,7 +11,7 @@ class RadarSiteLayer : public DrawLayer
Q_DISABLE_COPY_MOVE(RadarSiteLayer)
public:
explicit RadarSiteLayer(std::shared_ptr<MapContext> context);
explicit RadarSiteLayer(const std::shared_ptr<MapContext>& context);
~RadarSiteLayer();
void Initialize() override final;
@ -38,6 +34,4 @@ private:
std::unique_ptr<Impl> p;
};
} // namespace map
} // namespace qt
} // namespace scwx
} // namespace scwx::qt::map