Ultralight
1.0.0
A fast, lightweight, HTML UI engine for native apps.
|
Configurations settings for Ultralight. More...
#include <Config.h>
Public Attributes | |
FaceWinding | face_winding = kFaceWinding_CounterClockwise |
The winding order for front-facing triangles. More... | |
bool | enable_images = true |
Whether or not images should be enabled. | |
bool | enable_javascript = true |
Whether or not JavaScript should be enabled. | |
bool | use_bgra_for_offscreen_rendering = false |
When using the default, offscreen GPU driver, whether or not we should use BGRA byte order (instead of RGBA). More... | |
double | device_scale_hint = 1.0 |
The amount that the application DPI has been scaled (200% = 2.0). More... | |
String16 | font_family_standard = "Times New Roman" |
Default font-family to use. | |
String16 | font_family_fixed = "Courier New" |
Default font-family to use for fixed fonts. More... | |
String16 | font_family_serif = "Times New Roman" |
Default font-family to use for serif fonts. | |
String16 | font_family_sans_serif = "Arial" |
Default font-family to use for sans-serif fonts. | |
String16 | user_agent |
Default user-agent string. | |
String16 | user_stylesheet |
Default user stylesheet. More... | |
Configurations settings for Ultralight.
This is intended to be implemented by users and defined before creating the Renderer.
double ultralight::Config::device_scale_hint = 1.0 |
FaceWinding ultralight::Config::face_winding = kFaceWinding_CounterClockwise |
The winding order for front-facing triangles.
String16 ultralight::Config::font_family_fixed = "Courier New" |
bool ultralight::Config::use_bgra_for_offscreen_rendering = false |
When using the default, offscreen GPU driver, whether or not we should use BGRA byte order (instead of RGBA).
String16 ultralight::Config::user_stylesheet |