libuid 0.0.7

D OO interface of libui


To use this package, put the following dependency into your project's dependencies section:

dub.json
dub.sdl

libuid: Complete OO interfaces of libui in D

  • libuid is a binding of libui. So you have to build libui first. libui now is a submodule of libuid to prevent compatible issues. Dynamic library is recommend as you can build your programm without other static libraries to link.

  • Build existing examples with dub:

dub build --config=example1 --arch=x86_mscoff

or

dub build --config=example2 --arch=x86_64

You can use --arch to specify architecture of you platform. Note in windows, use --arch=x86_mscoff to create 32bit binary.

  • Minimal Example:

import ui;

void main() {
    App.run(new Window("Hello").addOnClosing(_ => App.quit).show);
}
Authors:
mogu
Dependencies:
none
Versions:
0.0.7 2017-Sep-14
0.0.6 2017-Feb-27
0.0.5 2016-Aug-25
0.0.4 2016-Aug-24
0.0.3 2016-Aug-24
Show all 8 versions
Download Stats:
  • 1 downloads today

  • 1 downloads this week

  • 3 downloads this month

  • 208 downloads total