9 #ifndef TurtleBrains_ApplicationHandlerInterface_hpp
10 #define TurtleBrains_ApplicationHandlerInterface_hpp
12 #include <turtle_brains/application/tb_application_menu.hpp>
13 #include <turtle_brains/application/tb_application_dialog.hpp>
14 #include <turtle_brains/application/tb_application_window.hpp>
20 class RealtimeApplication;
virtual void SetApplication(RealtimeApplication *application)
virtual void OnRealtimeUpdate(void)
virtual void OnDestroyGraphicsContext(void)
uint16_t uint16
Unsigned integer with a size of 16 bits. Supports values from 0 to 65535.
Definition: tb_types.hpp:26
virtual void OnBecomeActive(void)
virtual void OnCreateGraphicsContext(void)
Here is some information about the primary namespace.
Definition: tb_application_dialog.hpp:21
Contains classes, functions and constants to create Applications, Menus, Dialogs with native controls...
Definition: tb_application_dialog.hpp:23
virtual void OnDialogAction(const DialogIdentifier &dialog, const DialogControlIdentifier &dialogControl)
Definition: tb_application_window.hpp:29
Handle events from the application/window and actions from the user of your application by deriving a...
Definition: tb_application_handler_interface.hpp:32
Definition: tb_realtime_application.hpp:43
virtual void CollectWindowProperties(WindowProperties &windowProperties)
unsigned short DialogControlIdentifier
Definition: tb_application_dialog.hpp:53
virtual void OnBecomeInactive(void)
virtual void OnWindowResize(tbCore::uint16 &windowWidth, tbCore::uint16 &windowHeight)
unsigned short DialogIdentifier
Definition: tb_application_dialog.hpp:44
virtual bool OnWindowRequestClose(void)
virtual void OnMenuAction(const MenuIdentifier &menu, const MenuItemIdentifier &menuItem)
virtual void OnWindowOpen(void)
virtual ~ApplicationHandlerInterface(void)=0
virtual void OnWindowClose(void)
unsigned short MenuIdentifier
Definition: tb_application_menu.hpp:22
unsigned short MenuItemIdentifier
Definition: tb_application_menu.hpp:43
virtual bool CanWindowResize(void) const