15 #include "config_awesomium.h"
16 #include "awWebCore.h"
25 WebCore(static_cast<Awesomium::LogLevel>(level), enablePlugins, static_cast<Awesomium::PixelFormat>(pixelFormat))
28 awesomium_cat.info() <<
"constructing webcore\n";
33 awesomium_cat.info() <<
"destructor webcore\n";
36 Awesomium::WebCore& AwWebCore::
38 return WebCore::Get();
41 Awesomium::WebCore* AwWebCore::
43 return WebCore::GetPointer();
47 createWebView(
int width,
int height,
bool isTransparent ,
bool enableAsyncRendering ,
int maxAsyncRenderPerSec ) {
48 Awesomium::WebView * newView = WebCore::createWebView(width, height, isTransparent, enableAsyncRendering, maxAsyncRenderPerSec);
54 getPixelFormat()
const {
55 return ( static_cast<AwWebCore::PixelFormat>( WebCore::getPixelFormat()) );
PixelFormat
An enumeration of the two output pixel formats that WebView::render will use.
Thin bindings, wraps a WebView * returned from WebCore.createWebView.
TypeHandle is the identifier used to differentiate C++ class types.
LogLevel
An enumeration of the three verbosity settings for the Awesomium Log.