mirror of https://github.com/buggins/dlangui.git
fix win32 version
This commit is contained in:
parent
abb5417819
commit
6d180a7a1b
|
@ -41,7 +41,7 @@ extern (C) int UIAppMain(string[] args) {
|
||||||
// create window
|
// create window
|
||||||
Window window = Platform.instance().createWindow("My Window", null);
|
Window window = Platform.instance().createWindow("My Window", null);
|
||||||
|
|
||||||
static if (false) {
|
static if (true) {
|
||||||
LinearLayout layout = new LinearLayout();
|
LinearLayout layout = new LinearLayout();
|
||||||
layout.addChild((new TextWidget()).textColor(0x00802000).text("Text widget 0"));
|
layout.addChild((new TextWidget()).textColor(0x00802000).text("Text widget 0"));
|
||||||
layout.addChild((new TextWidget()).textColor(0x40FF4000).text("Text widget"));
|
layout.addChild((new TextWidget()).textColor(0x40FF4000).text("Text widget"));
|
||||||
|
|
|
@ -599,6 +599,8 @@ int myWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int
|
||||||
FontManager.instance = fontMan;
|
FontManager.instance = fontMan;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
currentTheme = createDefaultTheme();
|
||||||
|
|
||||||
version (USE_OPENGL) {
|
version (USE_OPENGL) {
|
||||||
import derelict.opengl3.gl3;
|
import derelict.opengl3.gl3;
|
||||||
DerelictGL3.load();
|
DerelictGL3.load();
|
||||||
|
|
Loading…
Reference in New Issue