19#ifndef ULTRALIGHT_CAPI_CONFIG_H
20#define ULTRALIGHT_CAPI_CONFIG_H
ULExport void ulConfigSetCachePath(ULConfig config, ULString cache_path)
A writable OS file path to store persistent Session data in.
ULExport void ulConfigSetFontGamma(ULConfig config, double font_gamma)
The gamma to use when compositing font glyphs, change this value to adjust contrast (Adobe and Apple ...
ULExport 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...
ULExport void ulConfigSetScrollTimerDelay(ULConfig config, double delay)
The delay (in seconds) between every tick of a smooth scroll animation.
ULExport void ulConfigSetResourcePathPrefix(ULConfig config, ULString resource_path_prefix)
The relative path to the resources folder (loaded via the FileSystem API).
ULExport void ulConfigSetRecycleDelay(ULConfig config, double delay)
The delay (in seconds) between every call to the recycler.
ULExport void ulConfigSetBitmapAlignment(ULConfig config, unsigned int bitmap_alignment)
The alignment (in bytes) of the BitmapSurface when using the CPU renderer.
ULExport void ulConfigSetMemoryCacheSize(ULConfig config, unsigned int size)
The size of WebCore's memory cache in bytes.
ULExport void ulConfigSetMinLargeHeapSize(ULConfig config, unsigned int size)
The minimum size of large VM heaps in JavaScriptCore.
ULExport void ulConfigSetFontHinting(ULConfig config, ULFontHinting font_hinting)
The hinting algorithm to use when rendering fonts.
ULExport void ulConfigSetPageCacheSize(ULConfig config, unsigned int size)
The number of pages to keep in the cache.
ULExport void ulConfigSetFaceWinding(ULConfig config, ULFaceWinding winding)
The winding order for front-facing triangles.
ULExport void ulConfigSetForceRepaint(ULConfig config, bool enabled)
Whether or not to continuously repaint any Views, regardless if they are dirty.
ULExport void ulConfigSetUserStylesheet(ULConfig config, ULString css_string)
Global user-defined CSS string (included before any CSS on the page).
ULExport void ulDestroyConfig(ULConfig config)
Destroy config.
ULExport void ulConfigSetOverrideRAMSize(ULConfig config, unsigned int size)
The system's physical RAM size in bytes.
ULExport void ulConfigSetMinSmallHeapSize(ULConfig config, unsigned int size)
The minimum size of small VM heaps in JavaScriptCore.
ULExport void ulConfigSetAnimationTimerDelay(ULConfig config, double delay)
The delay (in seconds) between every tick of a CSS animation.
ULExport 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....
ULExport ULConfig ulCreateConfig()
Create config with default values (see <Ultralight/platform/Config.h>).
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