Observes progress bar changes and notifies supplied javascript functions on change.
More...
#include <progressbarobservercef.h>
|
| ProgressBarObserverCEF (CefRefPtr< CefFrame > frame=nullptr, std::string onProgressChange="", std::string onVisibleChange="") |
|
virtual void | progressChanged (float progress) override |
|
virtual void | progressBarVisibilityChanged (bool visible) override |
|
void | setOnProgressChange (std::string onChange) |
|
const std::string & | getOnProgressChange () const |
|
void | setOnProgressVisibleChange (std::string onChange) |
|
const std::string & | getOnProgressVisibleChange () const |
|
void | setFrame (CefRefPtr< CefFrame > frame) |
|
| Observer (const Observer &other) |
|
| Observer (Observer &&other) |
|
Observer & | operator= (Observer &&other) |
|
Observer & | operator= (const Observer &other) |
|
virtual | ~Observer () |
|
void | removeObservation (ObservableInterface *observable) |
|
void | removeObservations () |
|
Observes progress bar changes and notifies supplied javascript functions on change.
◆ progressBarVisibilityChanged()
virtual void inviwo::ProgressBarObserverCEF::progressBarVisibilityChanged |
( |
bool | visible | ) |
|
|
overridevirtual |
◆ progressChanged()
virtual void inviwo::ProgressBarObserverCEF::progressChanged |
( |
float | progress | ) |
|
|
overridevirtual |
Execute currently set onProgressChange javascript function
- Parameters
-
progress | New progress between [0 1] |
Reimplemented from inviwo::ProgressBarObserver.
The documentation for this class was generated from the following file: