![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
Go to the source code of this file.
Functions | |
int | dt_lua_style_create_from_image (lua_State *L) |
int | dt_lua_style_apply (lua_State *L) |
int | dt_lua_init_styles (lua_State *L) |
int dt_lua_init_styles | ( | lua_State * | L | ) |
References description_member(), dt_lua_init_singleton(), dt_lua_init_type, dt_lua_push_darktable_lib(), dt_lua_style_apply(), dt_lua_style_create_from_image(), dt_lua_style_export(), dt_lua_style_import(), dt_lua_type_member_common(), dt_lua_type_member_luaautoc(), dt_lua_type_register_const, dt_lua_type_register_const_type(), dt_lua_type_register_number_const, dt_lua_type_register_number_const_type(), dt_lua_type_register_struct, dt_lua_type_setmetafield, name, name_member(), style_delete(), style_duplicate(), style_gc(), style_getnumber(), style_item_gc(), style_item_tostring(), style_length(), style_table_index(), style_table_len(), and style_tostring().
int dt_lua_style_apply | ( | lua_State * | L | ) |
(-2,0) takes an image and a style in any order, apply the style to the image
References darktable, DT_DEBUG_CONTROL_SIGNAL_RAISE, DT_SIGNAL_TAG_CHANGED, dt_styles_apply_to_image(), FALSE, dt_style_t::name, darktable_t::signals, and UNKNOWN_IMAGE.
Referenced by dt_lua_init_image(), and dt_lua_init_styles().
int dt_lua_style_create_from_image | ( | lua_State * | L | ) |
(0,+1) takes an image, a name, an optional description and creates a style. returns the new style object used by dt_lua_image_t
References description(), dt_style_free(), dt_styles_create_from_image(), dt_styles_get_list(), dt_style_t::name, and TRUE.
Referenced by dt_lua_init_image(), and dt_lua_init_styles().