- Loading...
...
NativePlatform is instantiated by NativePlatformFactory. NativePlatformFactory looks at the system property monocle.platform to get an ordered list of factory classes to attempt to use. NativePlatformFactory then instantiates these factory classes, querying each in turn whether it can support the current platform it is running on. When a matching NativePlatformFactory is found, its corresponding NativeFactory will be created.
...
NativeCursor is instantiated by the NativePlatform. NativeCursor is responsible for updating the visible cursor state, using a platform-specific hardware cursor where possible. NullCursor is an empty implementation of this that does not display a cursor.
NativePlatform attempts to determine the best platform to use. Use of a specific platform can be forced by setting the system property monocle.platform to one or more of the following values in a comma-separated list:
Linux - the generic Linux port, using low-level input device nodes for input and no hardware cursorOMAP - for the BeagleBoard xM using EGL/framebuffer with Linux device input and a hardware cursorOMAPX11 - for the BeagleBoard xM using EGL/X11 with Linux device input and a hardware cursorX11 - for generic Linux/X11 platforms, using X11 for input and cursor.Other platforms that are not implemented yet but should fit into this system include: Android, Headless, Dispman and MX6.
...