mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 23:10:05 +00:00
Update VCP display
This commit is contained in:
parent
8d55413d03
commit
cae04fad37
11 changed files with 113 additions and 5 deletions
|
|
@ -163,6 +163,19 @@ std::string MapWidget::GetRadarProductName() const
|
|||
}
|
||||
}
|
||||
|
||||
uint16_t MapWidget::GetVcp() const
|
||||
{
|
||||
|
||||
if (p->context_->radarProductView_ != nullptr)
|
||||
{
|
||||
return p->context_->radarProductView_->vcp();
|
||||
}
|
||||
else
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
void MapWidget::SelectElevation(float elevation)
|
||||
{
|
||||
if (p->context_->radarProductView_ != nullptr)
|
||||
|
|
|
|||
|
|
@ -35,6 +35,7 @@ public:
|
|||
std::vector<float> GetElevationCuts() const;
|
||||
common::RadarProductGroup GetRadarProductGroup() const;
|
||||
std::string GetRadarProductName() const;
|
||||
uint16_t GetVcp() const;
|
||||
|
||||
void SelectElevation(float elevation);
|
||||
void SelectRadarProduct(common::Level2Product product);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue