mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-16 01:43:35 +02:00
CProgressWindow: allow variable max value, allow define dimensions
Origin commit data
------------------
Branch: ni/coolstream
Commit: 547238bfdd
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-02-10 (Fri, 10 Feb 2017)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -43,16 +43,16 @@ class CProgressWindow : public CComponentsWindow, public CMenuTarget
|
||||
|
||||
public:
|
||||
|
||||
CProgressWindow(CComponentsForm *parent = NULL);
|
||||
CProgressWindow(CComponentsForm *parent = NULL, const int &dx = 700, const int &dy = 200);
|
||||
void setTitle(const neutrino_locale_t title);
|
||||
virtual void hide();
|
||||
|
||||
virtual int exec( CMenuTarget* parent, const std::string & actionKey );
|
||||
|
||||
void showStatus(const unsigned int prog);
|
||||
void showGlobalStatus(const unsigned int prog);
|
||||
void showStatus(const unsigned int prog, const unsigned int max = 100);
|
||||
void showGlobalStatus(const unsigned int prog, const unsigned int max = 100);
|
||||
unsigned int getGlobalStatus(void);
|
||||
void showLocalStatus(const unsigned int prog);
|
||||
void showLocalStatus(const unsigned int prog, const unsigned int max = 100);
|
||||
void showStatusMessageUTF(const std::string & text); // UTF-8
|
||||
void paint(bool do_save_bg = true);
|
||||
void setTitle(const std::string & title);
|
||||
|
Reference in New Issue
Block a user