mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 18:01:06 +02:00
remove graphic progressbar
Origin commit data
------------------
Commit: 675c0dc6f6
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-06-06 (Tue, 06 Jun 2017)
Origin message was:
------------------
- remove graphic progressbar
This commit is contained in:
@@ -79,8 +79,6 @@ class CProgressBar : public CComponentsItem
|
||||
///to evaluate values, these will be convert to the graph
|
||||
int pb_value, pb_max_value;
|
||||
|
||||
std::string graphic_file; //NI graphic
|
||||
|
||||
int *pb_design, *pb_gradient;
|
||||
int pb_type;
|
||||
|
||||
@@ -88,7 +86,6 @@ class CProgressBar : public CComponentsItem
|
||||
|
||||
///paints graph
|
||||
void paintProgress(bool do_save_bg = CC_SAVE_SCREEN_NO);
|
||||
void paintGraphic(); //NI graphic
|
||||
void paintStarBar(); //NI starbar
|
||||
|
||||
public:
|
||||
@@ -135,9 +132,6 @@ class CProgressBar : public CComponentsItem
|
||||
const int w, const int h,
|
||||
const int val, const int max_val){x=x_pos; y=y_pos; width=w; height=h; pb_value=val; pb_max_value=max_val;}
|
||||
|
||||
//NI graphic
|
||||
void setGraphic(std::string graphic) { graphic_file = graphic; }
|
||||
|
||||
///force update on next paint
|
||||
void reset() { pb_last_width = -1; }
|
||||
void paint(bool do_save_bg = CC_SAVE_SCREEN_NO);
|
||||
@@ -148,8 +142,7 @@ class CProgressBar : public CComponentsItem
|
||||
PB_MATRIX, /* 0 */
|
||||
PB_LINES_V, /* 1 */
|
||||
PB_LINES_H, /* 2 */
|
||||
PB_COLOR, /* 3 */
|
||||
PB_GRAPHIC /* 4 */ //NI graphic
|
||||
PB_COLOR /* 3 */
|
||||
};
|
||||
|
||||
enum pb_type_t {
|
||||
|
Reference in New Issue
Block a user