|
HikoGUI
A low latency retained GUI
|
Public Member Functions | |
| Application_macos (const std::shared_ptr< application_delegate > delegate, int argc, char const *const *argv) | |
| void | runFromMainLoop (std::function< void()> function) override |
| void | lastWindowClosed () override |
| int | loop () override |
Public Member Functions inherited from tt::application | |
| application (std::weak_ptr< application_delegate > const &delegate, int argc, char *argv[], os_handle instance) | |
| This function will take ownership of the delegate and delete it during destruction. | |
| virtual int | main () |
| Start the application. | |
| application (const application &)=delete | |
| application & | operator= (const application &)=delete |
| application (application &&)=delete | |
| application & | operator= (application &&)=delete |
| virtual void | run_from_main_loop (std::function< void()> function)=0 |
| virtual void | exit (int exit_code=0)=0 |
| Exit the main loop and exit the application. | |
Data Fields | |
| int | argc |
| char const *const * | argv |
Data Fields inherited from tt::application | |
| std::weak_ptr< application_delegate > | delegate |
| int | argc |
| char ** | argv |
| os_handle | instance |
| Handle to the operating system's application-instance. | |
| gui_window_size | initial_window_size = gui_window_size::normal |
| The initial window size for the first application window. | |
| datum | configuration |
| The global configuration. | |
| thread_id | main_thread_id |
| Thread id of the main thread. | |
| std::atomic< bool > | inLoop |
Additional Inherited Members | |
Static Public Attributes inherited from tt::application | |
| static application * | global |
|
overridevirtual |
Run the operating system's main loop. Must be called after init().
Implements tt::application.