mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 16:20:06 +00:00
Placefile text animation support
This commit is contained in:
parent
e013b9a77f
commit
4cc1a2b310
14 changed files with 89 additions and 1 deletions
|
|
@ -95,6 +95,8 @@ public:
|
|||
bool dirty_ {false};
|
||||
bool thresholded_ {false};
|
||||
|
||||
std::chrono::system_clock::time_point selectedTime_ {};
|
||||
|
||||
std::mutex iconMutex_;
|
||||
|
||||
boost::unordered_flat_map<std::size_t, PlacefileIconInfo>
|
||||
|
|
@ -139,6 +141,12 @@ PlacefileIcons::~PlacefileIcons() = default;
|
|||
PlacefileIcons::PlacefileIcons(PlacefileIcons&&) noexcept = default;
|
||||
PlacefileIcons& PlacefileIcons::operator=(PlacefileIcons&&) noexcept = default;
|
||||
|
||||
void PlacefileIcons::set_selected_time(
|
||||
std::chrono::system_clock::time_point selectedTime)
|
||||
{
|
||||
p->selectedTime_ = selectedTime;
|
||||
}
|
||||
|
||||
void PlacefileIcons::set_thresholded(bool thresholded)
|
||||
{
|
||||
p->thresholded_ = thresholded;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue