lib/ewl_engines.c File Reference
#include "ewl_base.h"
#include "ewl_private.h"
#include "ewl_macros.h"
#include "ewl_debug.h"

Defines | |
#define | EWL_ENGINE_DIR "engines" |
#define | EWL_ENGINE_EXT ".so" |
Enumerations | |
enum | Ewl_Engine_Hook_Type { EWL_ENGINE_HOOK_TYPE_WINDOW, EWL_ENGINE_HOOK_TYPE_CANVAS, EWL_ENGINE_HOOK_TYPE_THEME, EWL_ENGINE_HOOK_TYPE_POINTER } |
Functions | |
void | ewl_engine_canvas_damage_add (Ewl_Embed *embed, int x, int y, int w, int h) |
void | ewl_engine_canvas_freeze (Ewl_Embed *embed) |
Freezes the canvas. | |
void | ewl_engine_canvas_output_set (Ewl_Embed *emb, int x, int y, int width, int height) |
Sets up the canvas. | |
void | ewl_engine_canvas_render (Ewl_Embed *embed) |
Renders the canvas. | |
void | ewl_engine_canvas_setup (Ewl_Window *win, int debug) |
Sets up the canvas. | |
void | ewl_engine_canvas_thaw (Ewl_Embed *embed) |
Thaws the canvas. | |
void | ewl_engine_desktop_size_get (Ewl_Embed *embed, int *w, int *h) |
Sets the dnd awareness. | |
void | ewl_engine_embed_dnd_aware_set (Ewl_Embed *embed) |
Sets the dnd awareness. | |
int | ewl_engine_embed_dnd_drag_data_send (Ewl_Embed *embed, void *handle, void *data, int size) |
Sends dnd data to the drop recipient. | |
void | ewl_engine_embed_dnd_drag_drop (Ewl_Embed *embed) |
Completes the dnd process on an embed. | |
void | ewl_engine_embed_dnd_drag_start (Ewl_Embed *embed) |
Starts the dnd process on an embed. | |
void | ewl_engine_embed_dnd_drag_types_set (Ewl_Embed *embed, char **types, unsigned int num) |
Sets the dnd types provided by this embed. | |
void | ewl_engine_embed_selection_text_set (Ewl_Embed *emb, const char *txt) |
Sets the embed selection text. | |
int | ewl_engine_keyboard_grab (Ewl_Window *win) |
Sets the keyboard grab. | |
void | ewl_engine_keyboard_ungrab (Ewl_Window *win) |
Sets the keyboard ungrab. | |
Ecore_List * | ewl_engine_names_get (void) |
Retrieves a list of available engine names. | |
Ewl_Engine * | ewl_engine_new (const char *name, int *argc, char **argv) |
Retrieves, or creates the given Ewl_Engine, or NULL on failure. | |
int | ewl_engine_pointer_data_new (Ewl_Embed *embed, unsigned int *data, int w, int h) |
Creates a new pointer from ARGB data. | |
void | ewl_engine_pointer_free (Ewl_Embed *embed, int pointer) |
Free the identified pointer. | |
int | ewl_engine_pointer_get (Ewl_Embed *embed) |
Retrieve the currently used pointer. | |
int | ewl_engine_pointer_grab (Ewl_Window *win) |
Sets the pointer grab. | |
void | ewl_engine_pointer_set (Ewl_Embed *embed, int pointer) |
Change the current pointer to the one identified. | |
void | ewl_engine_pointer_ungrab (Ewl_Window *win) |
Sets the pointer ungrab. | |
char * | ewl_engine_theme_data_get (Ewl_Widget *w, char *key) |
Fetch data from the theme system. | |
void | ewl_engine_theme_freeze (Ewl_Embed *embed) |
Freeze the theme system. | |
void * | ewl_engine_theme_object_add (Ewl_Embed *embed) |
Add a theme object. | |
void | ewl_engine_theme_object_clip_set (Ewl_Embed *embed, void *obj, void *clip) |
Clip set a theme object. | |
void | ewl_engine_theme_object_clip_unset (Ewl_Embed *embed, void *obj) |
Clip unset a theme object. | |
void | ewl_engine_theme_object_del (Ewl_Embed *embed, void *obj) |
Del a theme object. | |
void | ewl_engine_theme_object_file_set (Ewl_Embed *embed, void *obj, char *file, char *group) |
File set a theme object. | |
void | ewl_engine_theme_object_hide (Ewl_Embed *embed, void *obj) |
Hide a theme object. | |
void | ewl_engine_theme_object_move (Ewl_Embed *embed, void *obj, int x, int y) |
Move a theme object. | |
void | ewl_engine_theme_object_resize (Ewl_Embed *embed, void *obj, int width, int height) |
Resize a theme object. | |
void | ewl_engine_theme_object_show (Ewl_Embed *embed, void *obj) |
Show a theme object. | |
void | ewl_engine_theme_thaw (Ewl_Embed *embed) |
Thaw the theme system. | |
void * | ewl_engine_theme_widget_group (Ewl_Widget *w) |
Create a grouping for theme objects. | |
void | ewl_engine_window_borderless_set (Ewl_Window *win) |
Sets the window borderless. | |
void | ewl_engine_window_destroy (Ewl_Window *win) |
Destroys the window. | |
void | ewl_engine_window_dialog_set (Ewl_Window *win) |
Sets the window as a dialog. | |
void | ewl_engine_window_geometry_get (Ewl_Window *win, int root, int *width, int *height) |
Retrieves the window geometry. | |
void | ewl_engine_window_hide (Ewl_Window *win) |
Hides the window. | |
void | ewl_engine_window_hints_set (Ewl_Window *win) |
Sets the window hints. | |
void | ewl_engine_window_leader_set (Ewl_Window *win) |
Sets a leader for the window. | |
void | ewl_engine_window_lower (Ewl_Window *win) |
Lowers the window. | |
void | ewl_engine_window_min_max_size_set (Ewl_Window *win) |
Sets the window min/max size. | |
void | ewl_engine_window_move (Ewl_Window *win) |
Moves the window. | |
void | ewl_engine_window_name_class_set (Ewl_Window *win) |
Sets the name and class of the window. | |
void | ewl_engine_window_new (Ewl_Window *win) |
Creates a new window. | |
void | ewl_engine_window_raise (Ewl_Window *win) |
Raises the window. | |
void | ewl_engine_window_resize (Ewl_Window *win) |
Resizes the window. | |
void | ewl_engine_window_show (Ewl_Window *win) |
Shows the window. | |
void | ewl_engine_window_states_set (Ewl_Window *win) |
Sets the window state values. | |
void | ewl_engine_window_title_set (Ewl_Window *win) |
Sets the title of the window. | |
void | ewl_engine_window_transient_for (Ewl_Window *win) |
Sets the window transient. | |
int | ewl_engines_init (void) |
Initialises the engine system. | |
void | ewl_engines_shutdown (void) |
Shutdown the engine system. | |
Variables | |
Ecore_Path_Group * | ewl_engines_path = NULL |
Define Documentation
#define EWL_ENGINE_DIR "engines" |
Referenced by ewl_engine_names_get(), and ewl_engine_new().
#define EWL_ENGINE_EXT ".so" |
Referenced by ewl_engine_names_get().
Enumeration Type Documentation
enum typedef enum Ewl_Engine_Hook_Type Ewl_Engine_Hook_Type |
Function Documentation
void ewl_engine_canvas_damage_add | ( | Ewl_Embed * | embed, | |
int | x, | |||
int | y, | |||
int | w, | |||
int | h | |||
) |
void ewl_engine_canvas_freeze | ( | Ewl_Embed * | embed | ) |
Freezes the canvas.
- Parameters:
-
embed,: the embed to work with
- Returns:
- Returns no value
References DCHECK_PARAM_PTR, DCHECK_TYPE, DENTER_FUNCTION, DLEAVE_FUNCTION, DLEVEL_STABLE, EWL_EMBED_TYPE, EWL_ENGINE_CANVAS_FREEZE, and EWL_ENGINE_HOOK_TYPE_CANVAS.
Referenced by ewl_embed_freeze().
void ewl_engine_canvas_output_set | ( | Ewl_Embed * | emb, | |
int | x, | |||
int | y, | |||
int | width, | |||
int | height | |||
) |
Sets up the canvas.
- Parameters:
-
emb,: The embed to work with x,: The x coord to set y,: The y coord to set width,: The width to set height,: The height to set
- Returns:
- Returns no value
References DCHECK_PARAM_PTR, DCHECK_TYPE, DENTER_FUNCTION, DLEAVE_FUNCTION, DLEVEL_STABLE, EWL_EMBED_TYPE, EWL_ENGINE_CANVAS_OUTPUT_SET, and EWL_ENGINE_HOOK_TYPE_CANVAS.
Referenced by ewl_window_cb_configure().
void ewl_engine_canvas_render | ( | Ewl_Embed * | embed | ) |
Renders the canvas.
- Parameters:
-
embed,: the embed to work with
- Returns:
- Returns no value
References DCHECK_PARAM_PTR, DCHECK_TYPE, DENTER_FUNCTION, DLEAVE_FUNCTION, DLEVEL_STABLE, EWL_EMBED_TYPE, EWL_ENGINE_CANVAS_RENDER, and EWL_ENGINE_HOOK_TYPE_CANVAS.
void ewl_engine_canvas_setup | ( | Ewl_Window * | win, | |
int | debug | |||
) |
Sets up the canvas.
- Parameters:
-
win,: the window to work with debug,: The debug setting
- Returns:
- Returns no value
References DCHECK_PARAM_PTR, DCHECK_TYPE, DENTER_FUNCTION, DLEAVE_FUNCTION, DLEVEL_STABLE, EWL_EMBED, EWL_ENGINE_CANVAS_SETUP, EWL_ENGINE_HOOK_TYPE_CANVAS, and EWL_WINDOW_TYPE.
Referenced by ewl_window_cb_realize().
void ewl_engine_canvas_thaw | ( | Ewl_Embed * | embed | ) |
Thaws the canvas.
- Parameters:
-
embed,: the embed to work with
- Returns:
- Returns no value
References DCHECK_PARAM_PTR, DCHECK_TYPE, DENTER_FUNCTION, DLEAVE_FUNCTION, DLEVEL_STABLE, EWL_EMBED_TYPE, EWL_ENGINE_CANVAS_THAW, and EWL_ENGINE_HOOK_TYPE_CANVAS.
Referenced by ewl_embed_thaw().
void ewl_engine_desktop_size_get | ( | Ewl_Embed * | embed, | |
int * | w, | |||
int * | h | |||
) |
Sets the dnd awareness.
- Parameters:
-
embed,: the embed to work with w,: a pointer where the width of the desktop will be stored h,: a pointer where the height pf the desktop will be stored
- Returns:
- Returns no value
References DCHECK_PARAM_PTR, DCHECK_TYPE, DENTER_FUNCTION, DLEAVE_FUNCTION, DLEVEL_STABLE, EWL_EMBED, EWL_EMBED_TYPE, EWL_ENGINE_HOOK_TYPE_WINDOW, and EWL_ENGINE_WINDOW_DESKTOP_SIZE_GET.
Referenced by ewl_embed_desktop_size_get().
void ewl_engine_embed_dnd_aware_set | ( | Ewl_Embed * | embed | ) |
Sets the dnd awareness.
- Parameters:
-
embed,: the embed to work with
- Returns:
- Returns no value
References Ewl_Embed::canvas_window, DCHECK_PARAM_PTR, DCHECK_TYPE, DENTER_FUNCTION, DLEAVE_FUNCTION, DLEVEL_STABLE, DRETURN, EWL_EMBED, EWL_EMBED_TYPE, EWL_ENGINE_HOOK_TYPE_WINDOW, and EWL_ENGINE_WINDOW_DND_AWARE_SET.
Referenced by ewl_embed_cb_realize(), ewl_embed_dnd_aware_set(), and ewl_window_cb_realize().
int ewl_engine_embed_dnd_drag_data_send | ( | Ewl_Embed * | embed, | |
void * | handle, | |||
void * | data, | |||
int | size | |||
) |
Sends dnd data to the drop recipient.
- Parameters:
-
embed,: the embed to work with handle,: The DND handle to work with data,: The data to send size,: The size of the data being sent
- Returns:
- Returns no value
References Ewl_Embed::canvas_window, DCHECK_PARAM_PTR_RET, DCHECK_TYPE_RET, DENTER_FUNCTION, DLEVEL_STABLE, DRETURN_INT, EWL_EMBED, EWL_EMBED_TYPE, EWL_ENGINE_HOOK_TYPE_WINDOW, and EWL_ENGINE_WINDOW_DND_DRAG_DATA_SEND.
void ewl_engine_embed_dnd_drag_drop | ( | Ewl_Embed * | embed | ) |
Completes the dnd process on an embed.
- Parameters:
-
embed,: the embed to work with
- Returns:
- Returns no value
References Ewl_Embed::canvas_window, DCHECK_PARAM_PTR, DCHECK_TYPE, DENTER_FUNCTION, DLEAVE_FUNCTION, DLEVEL_STABLE, DRETURN, EWL_EMBED, EWL_EMBED_TYPE, EWL_ENGINE_HOOK_TYPE_WINDOW, and EWL_ENGINE_WINDOW_DND_DRAG_DROP.
Referenced by ewl_dnd_drag_drop().
void ewl_engine_embed_dnd_drag_start | ( | Ewl_Embed * | embed | ) |
Starts the dnd process on an embed.
- Parameters:
-
embed,: the embed to work with
- Returns:
- Returns no value
References Ewl_Embed::canvas_window, DCHECK_PARAM_PTR, DCHECK_TYPE, DENTER_FUNCTION, DLEAVE_FUNCTION, DLEVEL_STABLE, DRETURN, EWL_EMBED, EWL_EMBED_TYPE, EWL_ENGINE_HOOK_TYPE_WINDOW, and EWL_ENGINE_WINDOW_DND_DRAG_START.
Referenced by ewl_dnd_drag_start().
void ewl_engine_embed_dnd_drag_types_set | ( | Ewl_Embed * | embed, | |
char ** | types, | |||
unsigned int | num | |||
) |
Sets the dnd types provided by this embed.
- Parameters:
-
embed,: the embed to work with types,: The dnd types to set num,: The number of types
- Returns:
- Returns no value
References Ewl_Embed::canvas_window, DCHECK_PARAM_PTR, DCHECK_TYPE, DENTER_FUNCTION, DLEAVE_FUNCTION, DLEVEL_STABLE, DRETURN, EWL_EMBED, EWL_EMBED_TYPE, EWL_ENGINE_HOOK_TYPE_WINDOW, and EWL_ENGINE_WINDOW_DND_DRAG_TYPES_SET.
Referenced by ewl_dnd_drag_start().
void ewl_engine_embed_selection_text_set | ( | Ewl_Embed * | emb, | |
const char * | txt | |||
) |
Sets the embed selection text.
- Parameters:
-
emb,: the embed to work with txt,: The text to set as the selection
- Returns:
- Returns no value
References DCHECK_PARAM_PTR, DCHECK_TYPE, DENTER_FUNCTION, DLEAVE_FUNCTION, DLEVEL_STABLE, DRETURN, EWL_EMBED, EWL_EMBED_TYPE, EWL_ENGINE_HOOK_TYPE_WINDOW, EWL_ENGINE_WINDOW_SELECTION_TEXT_SET, and REALIZED.
Referenced by ewl_embed_selection_text_set().
int ewl_engine_keyboard_grab | ( | Ewl_Window * | win | ) |
Sets the keyboard grab.
- Parameters:
-
win,: the window to work with
- Returns:
- The keyboard grab value
References DCHECK_PARAM_PTR_RET, DCHECK_TYPE_RET, DENTER_FUNCTION, DLEVEL_STABLE, DRETURN_INT, EWL_EMBED, EWL_ENGINE_HOOK_TYPE_WINDOW, EWL_ENGINE_WINDOW_KEYBOARD_GRAB, EWL_WINDOW_TYPE, REALIZED, and VISIBLE.
Referenced by ewl_window_cb_expose(), and ewl_window_keyboard_grab_set().
void ewl_engine_keyboard_ungrab | ( | Ewl_Window * | win | ) |
Sets the keyboard ungrab.
- Parameters:
-
win,: the window to work with
- Returns:
- Returns no value
References DCHECK_PARAM_PTR, DCHECK_TYPE, DENTER_FUNCTION, DLEAVE_FUNCTION, DLEVEL_STABLE, DRETURN, EWL_EMBED, EWL_ENGINE_HOOK_TYPE_WINDOW, EWL_ENGINE_WINDOW_KEYBOARD_UNGRAB, EWL_WINDOW_TYPE, REALIZED, and VISIBLE.
Referenced by ewl_window_cb_hide().
Ecore_List* ewl_engine_names_get | ( | void | ) |
Retrieves a list of available engine names.
- Returns:
- Returns a list of engine names
References DENTER_FUNCTION, DLEVEL_STABLE, DRETURN_PTR, EWL_ENGINE_DIR, EWL_ENGINE_EXT, IF_FREE_LIST, and PATH_MAX.
Referenced by ewl_print_help().
Ewl_Engine* ewl_engine_new | ( | const char * | name, | |
int * | argc, | |||
char ** | argv | |||
) |
Retrieves, or creates the given Ewl_Engine, or NULL on failure.
- Parameters:
-
name,: The name of the engine to create argc,: Arguments count argv,: Arguments
- Returns:
- Returns the Ewl_Engine or NULL on failure
References DCHECK_PARAM_PTR_RET, DENTER_FUNCTION, Ewl_Engine::dependancies, DLEVEL_STABLE, DRETURN_PTR, DWARNING, EWL_ENGINE, EWL_ENGINE_DIR, ewl_engine_new(), ewl_engines_path, FREE, PATH_MAX, and Ewl_Engine::plugin.
Referenced by ewl_embed_engine_name_set(), ewl_engine_new(), and ewl_init().
int ewl_engine_pointer_data_new | ( | Ewl_Embed * | embed, | |
unsigned int * | data, | |||
int | w, | |||
int | h | |||
) |
Creates a new pointer from ARGB data.
- Returns:
- Returns a pointer id on success, zero on failure.
References DCHECK_PARAM_PTR_RET, DCHECK_TYPE_RET, DENTER_FUNCTION, DLEVEL_STABLE, DRETURN_INT, EWL_EMBED_TYPE, EWL_ENGINE_HOOK_TYPE_POINTER, and EWL_ENGINE_POINTER_DATA_NEW.
void ewl_engine_pointer_free | ( | Ewl_Embed * | embed, | |
int | pointer | |||
) |
Free the identified pointer.
- Returns:
- Returns no value.
References DCHECK_PARAM_PTR, DCHECK_TYPE, DENTER_FUNCTION, DLEAVE_FUNCTION, DLEVEL_STABLE, EWL_EMBED_TYPE, EWL_ENGINE_HOOK_TYPE_POINTER, and EWL_ENGINE_POINTER_FREE.
int ewl_engine_pointer_get | ( | Ewl_Embed * | embed | ) |
Retrieve the currently used pointer.
- Returns:
- Returns a pointer id on success, zero on failure.
References DCHECK_PARAM_PTR_RET, DCHECK_TYPE_RET, DENTER_FUNCTION, DLEVEL_STABLE, DRETURN_INT, EWL_EMBED_TYPE, EWL_ENGINE_HOOK_TYPE_POINTER, and EWL_ENGINE_POINTER_GET.
int ewl_engine_pointer_grab | ( | Ewl_Window * | win | ) |
Sets the pointer grab.
- Parameters:
-
win,: the window to work with
- Returns:
- Returns the pointer grab value
References DCHECK_PARAM_PTR_RET, DCHECK_TYPE_RET, DENTER_FUNCTION, DLEVEL_STABLE, DRETURN_INT, EWL_EMBED, EWL_ENGINE_HOOK_TYPE_WINDOW, EWL_ENGINE_WINDOW_POINTER_GRAB, EWL_WINDOW_TYPE, REALIZED, and VISIBLE.
Referenced by ewl_window_cb_expose(), and ewl_window_pointer_grab_set().
void ewl_engine_pointer_set | ( | Ewl_Embed * | embed, | |
int | pointer | |||
) |
Change the current pointer to the one identified.
- Returns:
- Returns no value.
References Ewl_Embed::cursor, DCHECK_PARAM_PTR, DCHECK_TYPE, DENTER_FUNCTION, DLEAVE_FUNCTION, DLEVEL_STABLE, EWL_EMBED_TYPE, EWL_ENGINE_HOOK_TYPE_POINTER, and EWL_ENGINE_POINTER_SET.
Referenced by ewl_embed_mouse_cursor_set().
void ewl_engine_pointer_ungrab | ( | Ewl_Window * | win | ) |
Sets the pointer ungrab.
- Parameters:
-
win,: the window to work with
- Returns:
- Returns no value
References DCHECK_PARAM_PTR, DCHECK_TYPE, DENTER_FUNCTION, DLEAVE_FUNCTION, DLEVEL_STABLE, DRETURN, EWL_EMBED, EWL_ENGINE_HOOK_TYPE_WINDOW, EWL_ENGINE_WINDOW_POINTER_UNGRAB, EWL_WINDOW_TYPE, REALIZED, and VISIBLE.
Referenced by ewl_window_cb_hide().
char* ewl_engine_theme_data_get | ( | Ewl_Widget * | w, | |
char * | key | |||
) |
Fetch data from the theme system.
- Parameters:
-
w,: Widget used to lookup the current theme key. key,: The key to lookup
- Returns:
- Returns the theme data
References DCHECK_PARAM_PTR_RET, DCHECK_TYPE_RET, DENTER_FUNCTION, DLEVEL_STABLE, DRETURN_PTR, ewl_embed_widget_find(), EWL_ENGINE_HOOK_TYPE_THEME, EWL_ENGINE_THEME_DATA_GET, ewl_theme_path_get(), and EWL_WIDGET_TYPE.
void ewl_engine_theme_freeze | ( | Ewl_Embed * | embed | ) |
Freeze the theme system.
- Parameters:
-
embed,: Embed used to lookup the current theme engine.
- Returns:
- Returns no value
References DCHECK_PARAM_PTR, DCHECK_TYPE, DENTER_FUNCTION, DLEAVE_FUNCTION, DLEVEL_STABLE, EWL_EMBED_TYPE, EWL_ENGINE_HOOK_TYPE_THEME, and EWL_ENGINE_THEME_FREEZE.
Referenced by ewl_embed_freeze().
void* ewl_engine_theme_object_add | ( | Ewl_Embed * | embed | ) |
Add a theme object.
- Returns:
- Returns a new theme object on success, NULL on failure
References DCHECK_PARAM_PTR_RET, DCHECK_TYPE_RET, DENTER_FUNCTION, DLEVEL_STABLE, DRETURN_PTR, EWL_EMBED_TYPE, EWL_ENGINE_HOOK_TYPE_THEME, and EWL_ENGINE_THEME_OBJECT_ADD.
void ewl_engine_theme_object_clip_set | ( | Ewl_Embed * | embed, | |
void * | obj, | |||
void * | clip | |||
) |
Clip set a theme object.
- Returns:
- Returns no value.
References DCHECK_PARAM_PTR, DCHECK_TYPE, DENTER_FUNCTION, DLEAVE_FUNCTION, DLEVEL_STABLE, EWL_EMBED_TYPE, EWL_ENGINE_HOOK_TYPE_THEME, and EWL_ENGINE_THEME_OBJECT_CLIP_SET.
void ewl_engine_theme_object_clip_unset | ( | Ewl_Embed * | embed, | |
void * | obj | |||
) |
Clip unset a theme object.
- Returns:
- Returns no value.
References DCHECK_PARAM_PTR, DCHECK_TYPE, DENTER_FUNCTION, DLEAVE_FUNCTION, DLEVEL_STABLE, EWL_EMBED_TYPE, EWL_ENGINE_HOOK_TYPE_THEME, and EWL_ENGINE_THEME_OBJECT_CLIP_UNSET.
void ewl_engine_theme_object_del | ( | Ewl_Embed * | embed, | |
void * | obj | |||
) |
Del a theme object.
- Returns:
- Returns a new theme object on success, NULL on failure
References DCHECK_PARAM_PTR, DCHECK_TYPE, DENTER_FUNCTION, DLEAVE_FUNCTION, DLEVEL_STABLE, EWL_EMBED_TYPE, EWL_ENGINE_HOOK_TYPE_THEME, and EWL_ENGINE_THEME_OBJECT_DEL.
void ewl_engine_theme_object_file_set | ( | Ewl_Embed * | embed, | |
void * | obj, | |||
char * | file, | |||
char * | group | |||
) |
File set a theme object.
- Returns:
- Returns no value.
References DCHECK_PARAM_PTR, DCHECK_TYPE, DENTER_FUNCTION, DLEAVE_FUNCTION, DLEVEL_STABLE, EWL_EMBED_TYPE, EWL_ENGINE_HOOK_TYPE_THEME, and EWL_ENGINE_THEME_OBJECT_FILE_SET.
void ewl_engine_theme_object_hide | ( | Ewl_Embed * | embed, | |
void * | obj | |||
) |
Hide a theme object.
- Returns:
- Returns no value.
References DCHECK_PARAM_PTR, DCHECK_TYPE, DENTER_FUNCTION, DLEAVE_FUNCTION, DLEVEL_STABLE, EWL_EMBED_TYPE, EWL_ENGINE_HOOK_TYPE_THEME, and EWL_ENGINE_THEME_OBJECT_HIDE.
void ewl_engine_theme_object_move | ( | Ewl_Embed * | embed, | |
void * | obj, | |||
int | x, | |||
int | y | |||
) |
Move a theme object.
- Returns:
- Returns no value.
References DCHECK_PARAM_PTR, DCHECK_TYPE, DENTER_FUNCTION, DLEAVE_FUNCTION, DLEVEL_STABLE, EWL_EMBED, EWL_EMBED_TYPE, EWL_ENGINE_HOOK_TYPE_THEME, and EWL_ENGINE_THEME_OBJECT_MOVE.
void ewl_engine_theme_object_resize | ( | Ewl_Embed * | embed, | |
void * | obj, | |||
int | width, | |||
int | height | |||
) |
Resize a theme object.
- Returns:
- Returns no value.
References DCHECK_PARAM_PTR, DCHECK_TYPE, DENTER_FUNCTION, DLEAVE_FUNCTION, DLEVEL_STABLE, EWL_ENGINE_HOOK_TYPE_THEME, EWL_ENGINE_THEME_OBJECT_RESIZE, and EWL_WIDGET_TYPE.
void ewl_engine_theme_object_show | ( | Ewl_Embed * | embed, | |
void * | obj | |||
) |
Show a theme object.
- Returns:
- Returns no value.
References DCHECK_PARAM_PTR, DCHECK_TYPE, DENTER_FUNCTION, DLEAVE_FUNCTION, DLEVEL_STABLE, EWL_EMBED_TYPE, EWL_ENGINE_HOOK_TYPE_THEME, and EWL_ENGINE_THEME_OBJECT_SHOW.
void ewl_engine_theme_thaw | ( | Ewl_Embed * | embed | ) |
Thaw the theme system.
- Parameters:
-
embed,: Embed used to lookup the current theme engine.
- Returns:
- Returns no value
References DCHECK_PARAM_PTR, DCHECK_TYPE, DENTER_FUNCTION, DLEAVE_FUNCTION, DLEVEL_STABLE, EWL_EMBED_TYPE, EWL_ENGINE_HOOK_TYPE_THEME, and EWL_ENGINE_THEME_THAW.
Referenced by ewl_embed_thaw().
void* ewl_engine_theme_widget_group | ( | Ewl_Widget * | w | ) |
Create a grouping for theme objects.
- Returns:
- Returns a new object group on success, NULL on failure
References DCHECK_PARAM_PTR_RET, DCHECK_TYPE_RET, DENTER_FUNCTION, DLEVEL_STABLE, DRETURN_PTR, ewl_embed_widget_find(), EWL_ENGINE_HOOK_TYPE_THEME, EWL_ENGINE_THEME_WIDGET_GROUP, and EWL_WIDGET_TYPE.
void ewl_engine_window_borderless_set | ( | Ewl_Window * | win | ) |
Sets the window borderless.
- Parameters:
-
win,: the window to work with
- Returns:
- Returns no value
References DCHECK_PARAM_PTR, DCHECK_TYPE, DENTER_FUNCTION, DLEAVE_FUNCTION, DLEVEL_STABLE, DRETURN, EWL_EMBED, EWL_ENGINE_HOOK_TYPE_WINDOW, EWL_ENGINE_WINDOW_NAME_CLASS_SET, EWL_WINDOW_TYPE, and Ewl_Window::window.
Referenced by ewl_window_borderless_set(), ewl_window_cb_realize(), and ewl_window_cb_show().
void ewl_engine_window_destroy | ( | Ewl_Window * | win | ) |
Destroys the window.
- Parameters:
-
win,: the window to work with
- Returns:
- Returns no value
References DCHECK_PARAM_PTR, DCHECK_TYPE, DENTER_FUNCTION, DLEAVE_FUNCTION, DLEVEL_STABLE, DRETURN, EWL_EMBED, EWL_ENGINE_HOOK_TYPE_WINDOW, EWL_ENGINE_WINDOW_DESTROY, EWL_WINDOW_TYPE, and REALIZED.
Referenced by ewl_window_cb_unrealize().
void ewl_engine_window_dialog_set | ( | Ewl_Window * | win | ) |
Sets the window as a dialog.
- Parameters:
-
win,: the window to work with
- Returns:
- Returns no value
References DCHECK_PARAM_PTR, DCHECK_TYPE, DENTER_FUNCTION, DLEAVE_FUNCTION, DLEVEL_STABLE, DRETURN, EWL_EMBED, EWL_ENGINE_HOOK_TYPE_WINDOW, EWL_ENGINE_WINDOW_DIALOG_SET, EWL_WINDOW_TYPE, and Ewl_Window::window.
Referenced by ewl_window_cb_realize(), and ewl_window_dialog_set().
void ewl_engine_window_geometry_get | ( | Ewl_Window * | win, | |
int | root, | |||
int * | width, | |||
int * | height | |||
) |
Retrieves the window geometry.
- Parameters:
-
win,: the window to work with root,: The root window to get the height for width,: Where to store the width height,: Where to store the height
- Returns:
- Returns no value We dont' check win == null in case their querying after the root window
References DCHECK_PARAM_PTR, DCHECK_TYPE, DENTER_FUNCTION, DLEAVE_FUNCTION, DLEVEL_STABLE, EWL_EMBED, EWL_ENGINE_HOOK_TYPE_WINDOW, EWL_ENGINE_WINDOW_GEOMETRY_GET, and EWL_WINDOW_TYPE.
Referenced by ewl_window_cb_realize().
void ewl_engine_window_hide | ( | Ewl_Window * | win | ) |
Hides the window.
- Parameters:
-
win,: the window to work with
- Returns:
- Returns no value
References DCHECK_PARAM_PTR, DCHECK_TYPE, DENTER_FUNCTION, DLEAVE_FUNCTION, DLEVEL_STABLE, EWL_EMBED, EWL_ENGINE_HOOK_TYPE_WINDOW, EWL_ENGINE_WINDOW_HIDE, and EWL_WINDOW_TYPE.
Referenced by ewl_window_cb_hide(), and ewl_window_cb_unrealize().
void ewl_engine_window_hints_set | ( | Ewl_Window * | win | ) |
Sets the window hints.
- Parameters:
-
win,: the window to work with
- Returns:
- Returns no value
References DCHECK_PARAM_PTR, DCHECK_TYPE, DENTER_FUNCTION, DLEAVE_FUNCTION, DLEVEL_STABLE, DRETURN, EWL_EMBED, EWL_ENGINE_HOOK_TYPE_WINDOW, EWL_ENGINE_WINDOW_HINTS_SET, EWL_WINDOW_TYPE, and Ewl_Window::window.
Referenced by ewl_window_cb_realize(), ewl_window_leader_foreign_set(), ewl_window_leader_set(), and ewl_window_urgent_set().
void ewl_engine_window_leader_set | ( | Ewl_Window * | win | ) |
Sets a leader for the window.
- Parameters:
-
win,: the window to work with
- Returns:
- Returns no value
References DCHECK_PARAM_PTR, DCHECK_TYPE, DENTER_FUNCTION, DLEAVE_FUNCTION, DLEVEL_STABLE, DRETURN, EWL_EMBED, EWL_ENGINE_HOOK_TYPE_WINDOW, EWL_ENGINE_WINDOW_LEADER_SET, EWL_WINDOW_TYPE, and Ewl_Window::window.
Referenced by ewl_window_cb_realize(), ewl_window_leader_foreign_set(), and ewl_window_leader_set().
void ewl_engine_window_lower | ( | Ewl_Window * | win | ) |
Lowers the window.
- Parameters:
-
win,: the window to work with
- Returns:
- Returns no value
References DCHECK_PARAM_PTR, DCHECK_TYPE, DENTER_FUNCTION, DLEAVE_FUNCTION, DLEVEL_STABLE, DRETURN, EWL_EMBED, EWL_ENGINE_HOOK_TYPE_WINDOW, EWL_ENGINE_WINDOW_LOWER, EWL_WINDOW_TYPE, and REALIZED.
Referenced by ewl_window_lower().
void ewl_engine_window_min_max_size_set | ( | Ewl_Window * | win | ) |
Sets the window min/max size.
- Parameters:
-
win,: the window to work with
- Returns:
- Returns no value
References DCHECK_PARAM_PTR, DCHECK_TYPE, DENTER_FUNCTION, DLEAVE_FUNCTION, DLEVEL_STABLE, EWL_EMBED, EWL_ENGINE_HOOK_TYPE_WINDOW, EWL_ENGINE_WINDOW_MIN_MAX_SIZE_SET, and EWL_WINDOW_TYPE.
Referenced by ewl_window_cb_configure().
void ewl_engine_window_move | ( | Ewl_Window * | win | ) |
Moves the window.
- Parameters:
-
win,: the window to work with
- Returns:
- Returns no value
References DCHECK_PARAM_PTR, DCHECK_TYPE, DENTER_FUNCTION, DLEAVE_FUNCTION, DLEVEL_STABLE, DRETURN, EWL_EMBED, EWL_ENGINE_HOOK_TYPE_WINDOW, EWL_ENGINE_WINDOW_MOVE, EWL_WINDOW_TYPE, and REALIZED.
Referenced by ewl_window_move().
void ewl_engine_window_name_class_set | ( | Ewl_Window * | win | ) |
Sets the name and class of the window.
- Parameters:
-
win,: the window to work with
- Returns:
- Returns no value
References DCHECK_PARAM_PTR, DCHECK_TYPE, DENTER_FUNCTION, DLEAVE_FUNCTION, DLEVEL_STABLE, DRETURN, EWL_EMBED, EWL_ENGINE_HOOK_TYPE_WINDOW, EWL_ENGINE_WINDOW_NAME_CLASS_SET, EWL_WINDOW_TYPE, and Ewl_Window::window.
Referenced by ewl_window_cb_realize(), ewl_window_class_set(), and ewl_window_name_set().
void ewl_engine_window_new | ( | Ewl_Window * | win | ) |
Creates a new window.
- Parameters:
-
win,: the window to work with
- Returns:
- Returns no value
References DCHECK_PARAM_PTR, DCHECK_TYPE, DENTER_FUNCTION, DLEAVE_FUNCTION, DLEVEL_STABLE, EWL_EMBED, EWL_ENGINE_HOOK_TYPE_WINDOW, EWL_ENGINE_WINDOW_NEW, and EWL_WINDOW_TYPE.
Referenced by ewl_window_cb_realize().
void ewl_engine_window_raise | ( | Ewl_Window * | win | ) |
Raises the window.
- Parameters:
-
win,: the window to work with
- Returns:
- Returns no value
References DCHECK_PARAM_PTR, DCHECK_TYPE, DENTER_FUNCTION, DLEAVE_FUNCTION, DLEVEL_STABLE, DRETURN, EWL_EMBED, EWL_ENGINE_HOOK_TYPE_WINDOW, EWL_ENGINE_WINDOW_RAISE, EWL_WINDOW_TYPE, and REALIZED.
Referenced by ewl_window_raise().
void ewl_engine_window_resize | ( | Ewl_Window * | win | ) |
Resizes the window.
- Parameters:
-
win,: the window to work with
- Returns:
- Returns no value
References DCHECK_PARAM_PTR, DCHECK_TYPE, DENTER_FUNCTION, DLEAVE_FUNCTION, DLEVEL_STABLE, DRETURN, EWL_EMBED, EWL_ENGINE_HOOK_TYPE_WINDOW, EWL_ENGINE_WINDOW_RESIZE, EWL_WINDOW_TYPE, and REALIZED.
Referenced by ewl_window_cb_configure(), and ewl_window_cb_show().
void ewl_engine_window_show | ( | Ewl_Window * | win | ) |
Shows the window.
- Parameters:
-
win,: the window to work with
- Returns:
- Returns no value
References DCHECK_PARAM_PTR, DCHECK_TYPE, DENTER_FUNCTION, DLEAVE_FUNCTION, DLEVEL_STABLE, EWL_EMBED, EWL_ENGINE_HOOK_TYPE_WINDOW, EWL_ENGINE_WINDOW_SHOW, and EWL_WINDOW_TYPE.
Referenced by ewl_window_cb_show().
void ewl_engine_window_states_set | ( | Ewl_Window * | win | ) |
Sets the window state values.
- Parameters:
-
win,: the window to work with
- Returns:
- Returns no value
References DCHECK_PARAM_PTR, DCHECK_TYPE, DENTER_FUNCTION, DLEAVE_FUNCTION, DLEVEL_STABLE, DRETURN, EWL_EMBED, EWL_ENGINE_HOOK_TYPE_WINDOW, EWL_ENGINE_WINDOW_STATES_SET, EWL_WINDOW_TYPE, and Ewl_Window::window.
Referenced by ewl_window_attention_demand(), ewl_window_cb_realize(), ewl_window_fullscreen_set(), ewl_window_modal_set(), ewl_window_skip_pager_set(), and ewl_window_skip_taskbar_set().
void ewl_engine_window_title_set | ( | Ewl_Window * | win | ) |
Sets the title of the window.
- Parameters:
-
win,: the window to work with
- Returns:
- Returns no value
References DCHECK_PARAM_PTR, DCHECK_TYPE, DENTER_FUNCTION, DLEAVE_FUNCTION, DLEVEL_STABLE, DRETURN, EWL_EMBED, EWL_ENGINE_HOOK_TYPE_WINDOW, EWL_ENGINE_WINDOW_TITLE_SET, EWL_WINDOW_TYPE, and Ewl_Window::window.
Referenced by ewl_window_cb_realize(), and ewl_window_title_set().
void ewl_engine_window_transient_for | ( | Ewl_Window * | win | ) |
Sets the window transient.
- Parameters:
-
win,: the window to work with
- Returns:
- Returns no value
References DCHECK_PARAM_PTR, DCHECK_TYPE, DENTER_FUNCTION, DLEAVE_FUNCTION, DLEVEL_STABLE, DRETURN, EWL_EMBED, EWL_ENGINE_HOOK_TYPE_WINDOW, EWL_ENGINE_WINDOW_TRANSIENT_FOR, EWL_WINDOW_TYPE, and Ewl_Window::window.
Referenced by ewl_window_transient_for(), and ewl_window_transient_for_foreign().
int ewl_engines_init | ( | void | ) |
Initialises the engine system.
- Returns:
- Returns no value
References DENTER_FUNCTION, DLEVEL_STABLE, and DRETURN_INT.
Referenced by ewl_init().
void ewl_engines_shutdown | ( | void | ) |
Shutdown the engine system.
- Returns:
- Returns no value
References DENTER_FUNCTION, DLEAVE_FUNCTION, DLEVEL_STABLE, ewl_engines_path, and IF_FREE_HASH.
Referenced by ewl_init().
Variable Documentation
Ecore_Path_Group* ewl_engines_path = NULL |
Referenced by ewl_engine_new(), and ewl_engines_shutdown().