mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 00:41:09 +02:00
hourglass: add clear() and stop() members
Origin commit data
------------------
Branch: ni/coolstream
Commit: d7f5944709
Author: Thilo Graf <dbt@novatux.de>
Date: 2022-09-27 (Tue, 27 Sep 2022)
Origin message was:
------------------
hourglass: add clear() and stop() members
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -69,6 +69,11 @@ CHourGlass::CHourGlass( const int x_pos,
|
|||||||
}
|
}
|
||||||
|
|
||||||
CHourGlass::~CHourGlass()
|
CHourGlass::~CHourGlass()
|
||||||
|
{
|
||||||
|
clear();
|
||||||
|
}
|
||||||
|
|
||||||
|
void CHourGlass::clear()
|
||||||
{
|
{
|
||||||
if(hg_timer)
|
if(hg_timer)
|
||||||
{
|
{
|
||||||
@@ -77,6 +82,12 @@ CHourGlass::~CHourGlass()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void CHourGlass::stop()
|
||||||
|
{
|
||||||
|
if(hg_timer)
|
||||||
|
hg_timer->stopTimer();
|
||||||
|
}
|
||||||
|
|
||||||
void CHourGlass::initImageFiles()
|
void CHourGlass::initImageFiles()
|
||||||
{
|
{
|
||||||
std::string path = "";
|
std::string path = "";
|
||||||
|
@@ -91,6 +91,8 @@ class CHourGlass : public CComponentsShapeSquare
|
|||||||
fb_pixel_t color_shadow = COL_SHADOW_PLUS_0);
|
fb_pixel_t color_shadow = COL_SHADOW_PLUS_0);
|
||||||
|
|
||||||
virtual ~CHourGlass();
|
virtual ~CHourGlass();
|
||||||
|
void clear();
|
||||||
|
void stop();
|
||||||
|
|
||||||
void paint(const bool &do_save_bg = CC_SAVE_SCREEN_YES);
|
void paint(const bool &do_save_bg = CC_SAVE_SCREEN_YES);
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user