Coherent UI  2.5.3
A modern user interface library for games
 All Classes Namespaces Functions Variables Enumerations Enumerator Pages
Coherent::UI::ContextSettings Struct Reference

Encapsulates the settings of the ViewContext. More...

#include <Coherent/UI/ViewContext.h>

Public Attributes

bool EnableProxy
 Enables/disables proxy support. Proxy settings are auto-detected when proxy support is enabled. Enable proxy support only when the user really has a proxy, because otherwise the auto-detection is very slow.
 
bool AllowCookies
 Enables/disables cookies when accessing the web.
 
const wchar_t * CookiesResource
 Resource name to be used for storing and loading cookies. Leave nullptr to disable persistence of cookies.
 
const wchar_t * CachePath
 Path (relative to the host executable) where to save cached data. Leave nullptr for in-memory only caching.
 
const wchar_t * HTML5LocalStoragePath
 Path (relative to the host executable) where to allow pages to save their HTML5 local data. Leave nullptr to forbid local storage.
 
bool ForceDisablePluginFullscreen
 Disables 'Fullscreen mode' on all Plugins(Flash etc.)
 
bool DisableWebSecurity
 Disable Same-Origin Policy. Use with caution.
 
int DebuggerPort
 Port to use for remote debugging. Use -1 to disable debugging.
 
bool EnableClientAudioPlayback
 Enable notifications for client audio playback. When this setting is enabled, the ViewListeners will receive notifications for audio streams and the client can request more PCM data using the corresponding View object.
 
UserAgentType UserAgent
 The type of the user agent. If you select "UAT_Custom", you MUST also specify the user agent string - defaults to Chrome.
 
const char * CustomUserAgentString
 The user agent string that will be used if you select "UAT_Custom" for UserAgent.
 
CustomProtocolsProtocols
 The custom user-defined protocols.
 
const char * SubscriptionEmail
 The client e-mail for the subscription version of the product. Leave empty for production builds and non-subscription versions.
 
const char * SubscriptionKey
 The client activation key for the subscription version of the product. Leave empty for production builds and non-subscription versions.
 
const wchar_t * AdditionalHostOptions
 Additional host options that should be supplied to the Coherent UI Host. If the options contain special character, escape sequences should be used. Use at your own risk!
 
unsigned DisplayAdapterID
 The ordinal number of the display adapter which will be used for rendering by this context. More...
 

Detailed Description

Encapsulates the settings of the ViewContext.

Member Data Documentation

unsigned Coherent::UI::ContextSettings::DisplayAdapterID

The ordinal number of the display adapter which will be used for rendering by this context.

Warning
This feature is available only for Windows with shared memory as rendering data transport for the views created by this context.