![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include "lua/modules.h"#include "common/imageio.h"#include "control/conf.h"#include "lua/image.h"#include "lua/types.h"
Include dependency graph for modules.c:Functions | |
| void | dt_lua_module_new (lua_State *L, const char *module_type_name) |
| void | dt_lua_module_push (lua_State *L, const char *module_type_name) |
| void | dt_lua_module_entry_new_singleton (lua_State *L, const char *module_type_name, const char *entry_name, void *entry) |
| create a new entry into the module, a singleton is created for you that contains entry | |
| void | dt_lua_module_entry_new (lua_State *L, int index, const char *module_type_name, const char *entry_name) |
| create a new entry into the module, the object to be the entry is taken from the index) | |
| void | dt_lua_module_entry_push (lua_State *L, const char *module_type_name, const char *entry_name) |
| get the singleton reprensenting an entry | |
| luaA_Type | dt_lua_module_entry_get_type (lua_State *L, const char *module_type_name, const char *entry_name) |
| get the type of an entry | |
| void | dt_lua_register_module_presets_type (lua_State *L, const char *module_type_name, const char *entry_name, luaA_Type preset_type) |
| luaA_Type | dt_lua_module_get_preset_type (lua_State *L, const char *module_type_name, const char *entry_name) |
| void | dt_lua_register_current_preset (lua_State *L, const char *module_type_name, const char *entry_name, lua_CFunction pusher, lua_CFunction getter) |
| int | dt_lua_init_early_modules (lua_State *L) |
| int dt_lua_init_early_modules | ( | lua_State * | L | ) |
| luaA_Type dt_lua_module_entry_get_type | ( | lua_State * | L, |
| const char * | module_type_name, | ||
| const char * | entry_name | ||
| ) |
get the type of an entry
References dt_lua_module_entry_push(), and entry_type.
Referenced by dt_lua_lib_register(), dt_lua_register_current_preset(), dt_lua_register_view(), and init().
| void dt_lua_module_entry_new | ( | lua_State * | L, |
| int | index, | ||
| const char * | module_type_name, | ||
| const char * | entry_name | ||
| ) |
create a new entry into the module, the object to be the entry is taken from the index)
References dt_lua_module_push(), dt_lua_type_member_common(), and dt_lua_type_register_const_type().
Referenced by dt_lua_init_widget_type_type(), dt_lua_module_entry_new_singleton(), dt_lua_register_format_type(), and dt_lua_register_storage_type().
| void dt_lua_module_entry_new_singleton | ( | lua_State * | L, |
| const char * | module_type_name, | ||
| const char * | entry_name, | ||
| void * | entry | ||
| ) |
create a new entry into the module, a singleton is created for you that contains entry
References dt_lua_init_singleton(), and dt_lua_module_entry_new().
Referenced by dt_lua_lib_register(), and dt_lua_register_view().
| void dt_lua_module_entry_push | ( | lua_State * | L, |
| const char * | module_type_name, | ||
| const char * | entry_name | ||
| ) |
get the singleton reprensenting an entry
References dt_lua_module_push().
Referenced by _current_view_cb(), async_lib_call(), dt_lua_module_entry_get_type(), dt_lua_module_get_preset_type(), dt_lua_register_current_preset(), dt_lua_register_module_presets_type(), new_format(), new_storage(), new_widget(), register_lib(), and views_member().
| luaA_Type dt_lua_module_get_preset_type | ( | lua_State * | L, |
| const char * | module_type_name, | ||
| const char * | entry_name | ||
| ) |
References dt_lua_module_entry_push(), and entry_type.
References dt_lua_init_singleton().
Referenced by dt_lua_init_early_format(), dt_lua_init_early_lib(), dt_lua_init_early_storage(), dt_lua_init_early_view(), and dt_lua_init_widget().
Referenced by dt_lua_init_gui(), dt_lua_module_entry_new(), and dt_lua_module_entry_push().
| void dt_lua_register_current_preset | ( | lua_State * | L, |
| const char * | module_type_name, | ||
| const char * | entry_name, | ||
| lua_CFunction | pusher, | ||
| lua_CFunction | getter | ||
| ) |
| void dt_lua_register_module_presets_type | ( | lua_State * | L, |
| const char * | module_type_name, | ||
| const char * | entry_name, | ||
| luaA_Type | preset_type | ||
| ) |
References dt_lua_module_entry_push().