mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-14 19:29:36 +01:00
Robust.Client.CEF Renamed to Robust.Client.WebView since CEF should really be an implementation detail. Content is no longer responsible for initializing and managing the module, this is done automatically by the engine. WebView is initialized by declaring it in a manifest.yml file in the game resources. In the future the launcher will read this same file to manage WebView module versions. CefManager has been made private and the content-visible API is now IWebViewManager.
17 lines
387 B
C#
17 lines
387 B
C#
namespace Robust.Client.WebView
|
|
{
|
|
public sealed class BrowserWindowCreateParameters
|
|
{
|
|
public int Width { get; set; }
|
|
public int Height { get; set; }
|
|
|
|
public string Url { get; set; } = "about:blank";
|
|
|
|
public BrowserWindowCreateParameters(int width, int height)
|
|
{
|
|
Width = width;
|
|
Height = height;
|
|
}
|
|
}
|
|
}
|