The OpenD Programming Language

cef_resource_bundle_t

Structure used for retrieving resources from the resource bundle (*.pak) files loaded by CEF during startup or via the cef_resource_bundle_handler_t returned from cef_app_t::GetResourceBundleHandler. See CefSettings for additional options related to resource bundle loading. The functions of this structure may be called on any thread unless otherwise indicated.

Members

Variables

base
cef_base_ref_counted_t base;

Base structure.

get_data_resource
cef_binary_value_t* function(cef_resource_bundle_t* self, int resource_id) nothrow get_data_resource;

Returns a cef_binary_value_t containing the decompressed contents of the specified scale independent |resource_id| or NULL if not found. Include cef_pack_resources.h for a listing of valid resource ID values.

get_data_resource_for_scale
cef_binary_value_t* function(cef_resource_bundle_t* self, int resource_id, cef_scale_factor_t scale_factor) nothrow get_data_resource_for_scale;

Returns a cef_binary_value_t containing the decompressed contents of the specified |resource_id| nearest the scale factor |scale_factor| or NULL if not found. Use a |scale_factor| value of SCALE_FACTOR_NONE for scale independent resources or call GetDataResource instead.Include cef_pack_resources.h for a listing of valid resource ID values.

Meta