瀏覽代碼

initialize webgl theme and size

JimMarlowe 9 年之前
父節點
當前提交
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_; }