mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 18:01:06 +02:00
progressbar: use frameBuffer->getIconPath() to find graphics
Origin commit data
------------------
Commit: a0d45477e7
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-05-29 (Mon, 29 May 2017)
Origin message was:
------------------
- progressbar: use frameBuffer->getIconPath() to find graphics
This commit is contained in:
@@ -136,7 +136,7 @@ class CProgressBar : public CComponentsItem
|
||||
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 = "progressbar"){graphic_file = graphic;};
|
||||
void setGraphic(std::string graphic) { graphic_file = graphic; }
|
||||
|
||||
///force update on next paint
|
||||
void reset() { pb_last_width = -1; }
|
||||
|
Reference in New Issue
Block a user