dlangui.platforms.common.platform

DLANGUI library.

This module contains common Plaform definitions.

Platform is abstraction layer for application.



Synopsis:
import dlangui.platforms.common.platform;



License:
Boost License 1.0

Authors:
Vadim Lopatin, coolreader.org@gmail.com

@property Platform platform();
get current platform object instance

@property bool openglEnabled();
check if hardware acceleration is enabled

void setOpenglEnabled();
call on app initialization if OpenGL support is detected

template APP_ENTRY_POINT()
put "mixin APP_ENTRY_POINT;" to main module of your dlangui based app


Page generated by Ddoc. Vadim Lopatin, 2014