mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 17:40:05 +00:00
Use new alert palettes in AlertLayer
This commit is contained in:
parent
70cb3ab6d2
commit
dafb71e75c
3 changed files with 138 additions and 22 deletions
|
|
@ -104,6 +104,21 @@ SettingsVariable<std::int64_t>& LineSettings::line_width() const
|
|||
return p->lineWidth_;
|
||||
}
|
||||
|
||||
boost::gil::rgba32f_pixel_t LineSettings::GetBorderColorRgba32f() const
|
||||
{
|
||||
return util::color::ToRgba32fPixelT(p->borderColor_.GetValue());
|
||||
}
|
||||
|
||||
boost::gil::rgba32f_pixel_t LineSettings::GetHighlightColorRgba32f() const
|
||||
{
|
||||
return util::color::ToRgba32fPixelT(p->highlightColor_.GetValue());
|
||||
}
|
||||
|
||||
boost::gil::rgba32f_pixel_t LineSettings::GetLineColorRgba32f() const
|
||||
{
|
||||
return util::color::ToRgba32fPixelT(p->lineColor_.GetValue());
|
||||
}
|
||||
|
||||
void LineSettings::StageValues(boost::gil::rgba8_pixel_t borderColor,
|
||||
boost::gil::rgba8_pixel_t highlightColor,
|
||||
boost::gil::rgba8_pixel_t lineColor,
|
||||
|
|
|
|||
|
|
@ -35,6 +35,10 @@ public:
|
|||
SettingsVariable<std::int64_t>& highlight_width() const;
|
||||
SettingsVariable<std::int64_t>& line_width() const;
|
||||
|
||||
boost::gil::rgba32f_pixel_t GetBorderColorRgba32f() const;
|
||||
boost::gil::rgba32f_pixel_t GetHighlightColorRgba32f() const;
|
||||
boost::gil::rgba32f_pixel_t GetLineColorRgba32f() const;
|
||||
|
||||
void StageValues(boost::gil::rgba8_pixel_t borderColor,
|
||||
boost::gil::rgba8_pixel_t highlightColor,
|
||||
boost::gil::rgba8_pixel_t lineColor,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue