mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 21:10:04 +00:00
Add color table margins to map context
This commit is contained in:
parent
5c7c7e6a19
commit
b09abc0ac1
3 changed files with 23 additions and 0 deletions
|
|
@ -5,6 +5,7 @@
|
|||
#include <scwx/common/products.hpp>
|
||||
|
||||
#include <qmaplibre.hpp>
|
||||
#include <QMargins>
|
||||
|
||||
namespace scwx
|
||||
{
|
||||
|
|
@ -40,6 +41,7 @@ public:
|
|||
std::string map_copyrights() const;
|
||||
MapProvider map_provider() const;
|
||||
MapSettings& settings();
|
||||
QMargins color_table_margins() const;
|
||||
float pixel_ratio() const;
|
||||
std::shared_ptr<view::OverlayProductView> overlay_product_view() const;
|
||||
std::shared_ptr<view::RadarProductView> radar_product_view() const;
|
||||
|
|
@ -51,6 +53,7 @@ public:
|
|||
void set_map(const std::shared_ptr<QMapLibre::Map>& map);
|
||||
void set_map_copyrights(const std::string& copyrights);
|
||||
void set_map_provider(MapProvider provider);
|
||||
void set_color_table_margins(const QMargins& margins);
|
||||
void set_overlay_product_view(
|
||||
const std::shared_ptr<view::OverlayProductView>& overlayProductView);
|
||||
void set_pixel_ratio(float pixelRatio);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue