dlangui.platforms.android.androidapp

Undocumented in source.

Members

Classes

AndroidPlatform
class AndroidPlatform

Platform abstraction layer.

AndroidWindow
class AndroidWindow

Window abstraction layer. Widgets can be shown only inside window.

Functions

android_main
void android_main(android_app* state)

This is the main entry point of a native application that is using android_native_app_glue. It runs in its own thread, with its own event loop for receiving input events and doing other things.

engine_handle_cmd
void engine_handle_cmd(android_app* app, int cmd)

Process the next main command.

engine_handle_input
int engine_handle_input(android_app* app, AInputEvent* event)

Process the next input event.

getDensityDpi
int getDensityDpi(android_app* app)
Undocumented in source. Be warned that the author may not have intended to support it.
main
void main()
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

_platform
AndroidPlatform _platform;
Undocumented in source.

Structs

engine
struct engine

Shared state for our app.

saved_state
struct saved_state

Our saved state data.

Meta