#include <MRViewer/MRViewerTitle.h>
Public Member Functions | |
| ViewerTitle ()=default | |
| virtual | ~ViewerTitle ()=default |
| void | setAppName (std::string appName) |
| Name of the application. | |
| void | setVersion (std::string version) |
| Version of application. | |
| void | setSceneName (std::string sceneName) |
| Name of current scene. | |
| virtual std::string | compose () const |
| this function is called from update_ compose resulting name | |
Protected Member Functions | |
| void | update_ () |
| called when something changes, composes new title and apply it to window | |
Protected Attributes | |
| std::string | appName_ |
| std::string | version_ |
| std::string | sceneName_ |
class to compose viewer title from several parts appName (version) sceneName