19#ifndef ULTRALIGHT_CAPI_CONFIG_H
20#define ULTRALIGHT_CAPI_CONFIG_H
void ulConfigSetAnimationTimerDelay(ULConfig config, double delay)
The delay (in seconds) between every tick of a CSS animation.
void ulConfigSetPageCacheSize(ULConfig config, unsigned int size)
The number of pages to keep in the cache.
void ulConfigSetFaceWinding(ULConfig config, ULFaceWinding winding)
The winding order for front-facing triangles.
void ulConfigSetBitmapAlignment(ULConfig config, unsigned int bitmap_alignment)
The alignment (in bytes) of the BitmapSurface when using the CPU renderer.
void ulConfigSetUserStylesheet(ULConfig config, ULString css_string)
Global user-defined CSS string (included before any CSS on the page).
void ulConfigSetOverrideRAMSize(ULConfig config, unsigned int size)
The system's physical RAM size in bytes.
void ulConfigSetMinSmallHeapSize(ULConfig config, unsigned int size)
The minimum size of small VM heaps in JavaScriptCore.
ULConfig ulCreateConfig()
Create config with default values (see <Ultralight/platform/Config.h>).
void ulConfigSetNumRendererThreads(ULConfig config, unsigned int num_renderer_threads)
The number of threads to use in the Renderer (for parallel painting on the CPU, etc....
void ulConfigSetForceRepaint(ULConfig config, bool enabled)
Whether or not to continuously repaint any Views, regardless if they are dirty.
void ulDestroyConfig(ULConfig config)
Destroy config.
void ulConfigSetResourcePathPrefix(ULConfig config, ULString resource_path_prefix)
The relative path to the resources folder (loaded via the FileSystem API).
void ulConfigSetMinLargeHeapSize(ULConfig config, unsigned int size)
The minimum size of large VM heaps in JavaScriptCore.
void ulConfigSetMaxUpdateTime(ULConfig config, double max_update_time)
The max amount of time (in seconds) to allow repeating timers to run during each call to Renderer::Up...
void ulConfigSetCachePath(ULConfig config, ULString cache_path)
A writable OS file path to store persistent Session data in.
void ulConfigSetRecycleDelay(ULConfig config, double delay)
The delay (in seconds) between every call to the recycler.
void ulConfigSetFontGamma(ULConfig config, double font_gamma)
The gamma to use when compositing font glyphs, change this value to adjust contrast (Adobe and Apple ...
void ulConfigSetScrollTimerDelay(ULConfig config, double delay)
The delay (in seconds) between every tick of a smooth scroll animation.
void ulConfigSetMemoryCacheSize(ULConfig config, unsigned int size)
The size of WebCore's memory cache in bytes.
void ulConfigSetFontHinting(ULConfig config, ULFontHinting font_hinting)
The hinting algorithm to use when rendering fonts.
Various defines and utility functions for the C API.
ULFaceWinding
Definition CAPI_Defines.h:223
struct C_String * ULString
Definition CAPI_Defines.h:65
struct C_Config * ULConfig
Definition CAPI_Defines.h:59
#define ULExport
Definition CAPI_Defines.h:38
ULFontHinting
Definition CAPI_Defines.h:228