Browse Source

initialize webgl theme and size

JimMarlowe 9 years ago
parent
commit
5a88898676
1 changed files with 6 additions and 1 deletions
  1. 6 1
      Source/ToolCore/Project/ProjectBuildSettings.h

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

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