Uppercase S in OffScreen - match caseing of CefSharp.OffScreen project name

Use property syntax for brevity (can use short hand in ref classes)
This commit is contained in:
amaitland
2015-05-12 11:02:44 +10:00
parent 3b27034b35
commit 6805c188e7
2 changed files with 2 additions and 8 deletions
+1 -7
View File
@@ -73,7 +73,6 @@ namespace CefSharp
{
private:
bool _isFinalized;
Nullable<bool>^ _offscreenTransparentBackground;
internal:
CefBrowserSettings* _browserSettings;
@@ -276,11 +275,6 @@ namespace CefSharp
void set(Nullable<bool>^ value) { _browserSettings->webgl = CefStateFromDisabledSetting(value); }
}
property Nullable<bool>^ OffscreenTransparentBackground
{
Nullable<bool>^ get() { return _offscreenTransparentBackground; }
void set(Nullable<bool>^ value) { _offscreenTransparentBackground = value; }
}
property Nullable<bool>^ OffScreenTransparentBackground;
};
}
+1 -1
View File
@@ -75,7 +75,7 @@ namespace CefSharp
auto hwnd = static_cast<HWND>(windowHandle.ToPointer());
CefWindowInfo window;
auto transparent = browserSettings->OffscreenTransparentBackground->GetValueOrDefault(true);
auto transparent = browserSettings->OffScreenTransparentBackground->GetValueOrDefault(true);
window.SetAsWindowless(hwnd, transparent);
CefString addressNative = StringUtils::ToNative(address);