package
0.0.0-20190910214948-f0bd027f267b
Repository: https://github.com/allendang/nuklear.git
Documentation: pkg.go.dev
# README
Nuklear Activity
This android app is built using android-go framework, and the GUI is done via nuklear that uses Android NDK as a backend. It manages an OpenGL ES 2.0 or 3.0 context via EGL to draw stuff on the screen and gets touch input from the sensors.
Prerequisites
There is no additional prerequisites, the project fully inherits the same structure as the Android example app provides, make sure you were able to run it first. Just to make sure that everything works smoothly for your OS, environment setup and the device itself.
Structure
$ tree .
.
├── Makefile
├── README.md
├── android
│ ├── AndroidManifest.xml
│ ├── Makefile
│ └── jni
│ ├── Android.mk
│ └── Application.mk
├── assets
│ └── DroidSans.ttf
├── bindata.go
├── main.go
└── util.go
4 directories, 9 files
Droid Sans font is packed using go-bindata and being linked statically on the compile time.
Screenshots
Running
$ make
$ make install
$ make listen
# Functions
Asset loads and returns the asset for the given name.
AssetDir returns the file names below a certain directory embedded in the file by go-bindata.
AssetInfo loads and returns the asset info for the given name.
AssetNames returns the names of the assets.
MustAsset is like Asset but panics when Asset would return an error.
RestoreAsset restores an asset under the given directory.
RestoreAssets restores an asset under the given directory recursively.
# Type aliases
No description provided by the author