Просмотр исходного кода

initialize webgl theme and size

JimMarlowe 9 лет назад
Родитель
Сommit
5a88898676
1 измененных файлов с 6 добавлено и 1 удалено
  1. 6 1
      Source/ToolCore/Project/ProjectBuildSettings.h

+ 6 - 1
Source/ToolCore/Project/ProjectBuildSettings.h

@@ -65,7 +65,12 @@ class WebBuildSettings : public RefCounted
 
 public:
 
-    WebBuildSettings() {}
+    WebBuildSettings() 
+    {
+        pageTheme_ = 0;  
+        gameWidth_ = "800";
+        gameHeight_ = "512";
+    }
 
     const String& GetAppName() const { return appName_; }
     const String& GetGameWidth() const { return gameWidth_; }