diff --git a/dub.json b/dub.json index cd6dc1cc..879869de 100644 --- a/dub.json +++ b/dub.json @@ -39,7 +39,7 @@ "dlib": "~master", "derelict-ft": ">=1.0.0", "derelict-sdl2": ">=1.9.1", - "gl3n": "==1.0.0" + "gl3n": "~>1.0.1" }, "-ddoxFilterArgs": ["--unittest-examples", "--min-protection=Protected", "--ex", "win32.", "--ex", "src.dlangui"], diff --git a/examples/helloworld/src/helloworld.d b/examples/helloworld/src/helloworld.d index 6291309a..97e3707e 100644 --- a/examples/helloworld/src/helloworld.d +++ b/examples/helloworld/src/helloworld.d @@ -1,19 +1,16 @@ module app; import dlangui; -import std.stdio; -import std.conv; - mixin APP_ENTRY_POINT; /// entry point for dlangui based application extern (C) int UIAppMain(string[] args) { // create window - Window window = Platform.instance.createWindow("My Window", null); + Window window = Platform.instance.createWindow("DlangUI example - HelloWorld", null); // create some widget to show in window - window.mainWidget = (new Button()).text("Hello world"d).margins(Rect(20,20,20,20)); + window.mainWidget = (new Button()).text("Hello, world!"d).margins(Rect(20,20,20,20)); // show window window.show();