mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 08:10:05 +00:00
Update radar site text
This commit is contained in:
parent
f6262bba65
commit
f71391e3b9
6 changed files with 70 additions and 7 deletions
|
|
@ -215,9 +215,20 @@ std::string MapWidget::GetRadarProductName() const
|
|||
}
|
||||
}
|
||||
|
||||
std::shared_ptr<config::RadarSite> MapWidget::GetRadarSite() const
|
||||
{
|
||||
std::shared_ptr<config::RadarSite> radarSite = nullptr;
|
||||
|
||||
if (p->radarProductManager_ != nullptr)
|
||||
{
|
||||
radarSite = p->radarProductManager_->radar_site();
|
||||
}
|
||||
|
||||
return radarSite;
|
||||
}
|
||||
|
||||
uint16_t MapWidget::GetVcp() const
|
||||
{
|
||||
|
||||
if (p->context_->radarProductView_ != nullptr)
|
||||
{
|
||||
return p->context_->radarProductView_->vcp();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue