Kanzi 3.9.10
Application

Kanzi application provides behavior and functionality that you can configure and customize to meet your application requirements. More...

Classes

class  kanzi::Application
 Application class is the base class for Kanzi applications. More...
 
struct  kanzi::ApplicationProperties
 Configurable application properties. More...
 
class  kanzi::ExampleApplication
 

Detailed Description

Kanzi application provides behavior and functionality that you can configure and customize to meet your application requirements.

Using configuration you can set the most common startup and runtime parameters for your application. For example, you can configure the application resolution, the kzb files that the application uses, and so on.

Use code behind to add behavior to UI elements in your application. Code behind is the easiest way to add functionality without leaving Kanzi Studio and without creating solutions or project files. You can observe the behavior that is implemented in code behind immediately in the Preview.

Derive a C++ class from the Application class which is the base class for all Kanzi applications. Override the various virtual functions of the Application class to react to different points in the lifecycle of the application, such as initialization and uninitialization. For example, when the application starts, when the application loads its UI content, and so on. See Reacting to application lifecycle events.

Use the MainLoopScheduler class to which the Application class delegates processing of input, ticking of animations, laying out and rendering content, ending with update of the screen through repeated control flow. You can add tasks that execute in the main loop of the application to add recurring or one-time functionality relative to the stages of the main loop of the application. See Modifying the main loop logic.

Develop Kanzi Engine plugins which can implement functionality that you can reuse between applications.