mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-12-31 03:40:30 -07:00
FIX:remove play of icon
jira:[none] Change-Id: I64aa43ddf3088bde9296385f36db3e2782d0c280 (cherry picked from commit db2d72cc42f564e37c1de13340555dd2ae745045)
This commit is contained in:
parent
3480bf728d
commit
5cccdc7078
2 changed files with 9 additions and 1 deletions
|
|
@ -55,9 +55,16 @@ AnimaIcon::AnimaIcon(wxWindow *parent, wxWindowID id, std::vector<std::string> i
|
|||
SetMinSize(wxSize(FromDIP(m_size), FromDIP(m_size)));
|
||||
Layout();
|
||||
Fit();
|
||||
Play();
|
||||
}
|
||||
|
||||
AnimaIcon::~AnimaIcon()
|
||||
{
|
||||
if (m_timer) {
|
||||
m_timer->Stop();
|
||||
delete m_timer;
|
||||
m_timer = nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
void AnimaIcon::Play()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ class AnimaIcon : public wxPanel
|
|||
{
|
||||
public:
|
||||
AnimaIcon(wxWindow *parent, wxWindowID id, std::vector<std::string> img_list, std::string img_enable, int ivt = 1000);
|
||||
~AnimaIcon();
|
||||
|
||||
void Play();
|
||||
void Stop();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue