lib/ewl_engines.h File Reference

Go to the source code of this file.
Define Documentation
#define EWL_ENGINE | ( | engine | ) | ((Ewl_Engine *)engine) |
Referenced by ewl_engine_new().
Typedef Documentation
typedef struct Ewl_Engine Ewl_Engine |
typedef void(* Ewl_Engine_Cb_Canvas_Damage_Add)(Ewl_Embed *embed, int x, int y, int w, int h) |
typedef void(* Ewl_Engine_Cb_Canvas_Freeze)(Ewl_Embed *embed) |
typedef void(* Ewl_Engine_Cb_Canvas_Output_Set)(Ewl_Embed *emb, int x, int y, int width, int height) |
typedef void(* Ewl_Engine_Cb_Canvas_Render)(Ewl_Embed *embed) |
typedef void(* Ewl_Engine_Cb_Canvas_Setup)(Ewl_Window *win, int debug) |
Setup the render canvas
typedef void(* Ewl_Engine_Cb_Canvas_Thaw)(Ewl_Embed *embed) |
typedef int(* Ewl_Engine_Cb_Keyboard_Grab)(Ewl_Window *win) |
Set the keyboard grab
typedef void(* Ewl_Engine_Cb_Keyboard_Ungrab)(Ewl_Window *win) |
Set the keyboard ungrab
typedef int(* Ewl_Engine_Cb_Pointer_Data_New)(Ewl_Embed *embed, unsigned int *data, int w, int h) |
typedef void(* Ewl_Engine_Cb_Pointer_Free)(Ewl_Embed *embed, int pointer) |
typedef int(* Ewl_Engine_Cb_Pointer_Get)(Ewl_Embed *embed) |
typedef int(* Ewl_Engine_Cb_Pointer_Grab)(Ewl_Window *win) |
Set the pointer grab
typedef void(* Ewl_Engine_Cb_Pointer_Set)(Ewl_Embed *embed, int pointer) |
typedef void(* Ewl_Engine_Cb_Pointer_Ungrab)(Ewl_Window *win) |
Set the pointer ungrab
typedef void*(* Ewl_Engine_Cb_Theme_Clip_Add)(Ewl_Embed *embed) |
typedef void*(* Ewl_Engine_Cb_Theme_Clip_Clipees_Get)(void *clip) |
typedef void(* Ewl_Engine_Cb_Theme_Clip_Color_Set)(void *clip, int r, int g, int b, int a) |
typedef void(* Ewl_Engine_Cb_Theme_Clip_Del)(void *clip) |
typedef char*(* Ewl_Engine_Cb_Theme_Data_Get)(const char *path, char *key) |
typedef void(* Ewl_Engine_Cb_Theme_Freeze)() |
typedef void*(* Ewl_Engine_Cb_Theme_Object_Add)(Ewl_Embed *embed) |
typedef void*(* Ewl_Engine_Cb_Theme_Object_Clip_Set)(void *obj, void *clip) |
typedef void*(* Ewl_Engine_Cb_Theme_Object_Clip_Unset)(void *obj) |
typedef void(* Ewl_Engine_Cb_Theme_Object_Color_Class_Set)(char *name, int r, int g, int b, int r2, int g2, int b2, int r3, int g3, int b3) |
typedef void(* Ewl_Engine_Cb_Theme_Object_Del)(void *obj) |
typedef void(* Ewl_Engine_Cb_Theme_Object_File_Set)(void *obj, char *path, char *group) |
typedef void*(* Ewl_Engine_Cb_Theme_Object_Hide)(void *obj) |
typedef void(* Ewl_Engine_Cb_Theme_Object_Layer_Update)(Ewl_Widget *w) |
typedef void*(* Ewl_Engine_Cb_Theme_Object_Load_Error)(void *obj) |
typedef void(* Ewl_Engine_Cb_Theme_Object_Max_Size_Get)(void *obj, int *w, int *h) |
typedef void(* Ewl_Engine_Cb_Theme_Object_Min_Size_Get)(void *obj, int *w, int *h) |
typedef void(* Ewl_Engine_Cb_Theme_Object_Move)(void *obj, int x, int y) |
typedef void(* Ewl_Engine_Cb_Theme_Object_Part_Text_Set)(void *obj, char *part, char *text) |
typedef void(* Ewl_Engine_Cb_Theme_Object_Resize)(void *obj, int w, int h) |
typedef void*(* Ewl_Engine_Cb_Theme_Object_Show)(void *obj) |
typedef void(* Ewl_Engine_Cb_Theme_Object_Signal_Send)(void *obj, char *state, char *source) |
typedef void(* Ewl_Engine_Cb_Theme_Object_Stack_Add)(Ewl_Widget *w) |
typedef void(* Ewl_Engine_Cb_Theme_Thaw)() |
typedef void*(* Ewl_Engine_Cb_Theme_Widget_Group)(Ewl_Widget *w) |
typedef void(* Ewl_Engine_Cb_Window_Borderless_Set)(Ewl_Window *win) |
Set the borderless state of the window
typedef void(* Ewl_Engine_Cb_Window_Desktop_Size_Get)(Ewl_Embed *embed, int *w, int *h) |
Get the desktop size
typedef void(* Ewl_Engine_Cb_Window_Destroy)(Ewl_Window *win) |
Destroy the window
typedef void(* Ewl_Engine_Cb_Window_Dialog_Set)(Ewl_Window *win) |
Set the dialog setting of the window
typedef void(* Ewl_Engine_Cb_Window_Dnd_Aware_Set)(Ewl_Embed *embed) |
Set the embed dnd aware
typedef int(* Ewl_Engine_Cb_Window_Dnd_Drag_Data_Send)(Ewl_Embed *embed, void *handle, void *data, int size) |
Send the drag data
typedef void(* Ewl_Engine_Cb_Window_Dnd_Drag_Drop)(Ewl_Embed *embed) |
End the drag process with a drop event
typedef void(* Ewl_Engine_Cb_Window_Dnd_Drag_Start)(Ewl_Embed *embed) |
Start the drag process
typedef void(* Ewl_Engine_Cb_Window_Dnd_Drag_Types_Set)(Ewl_Embed *embed, char **types, unsigned int num) |
Set the drag types
typedef void(* Ewl_Engine_Cb_Window_Geometry_Get)(Ewl_Window *win, int *width, int *height) |
Get the window geometry
typedef void(* Ewl_Engine_Cb_Window_Hide)(Ewl_Window *win) |
Hide the window
typedef void(* Ewl_Engine_Cb_Window_Hints_Set)(Ewl_Window *win) |
Set the window hints
typedef void(* Ewl_Engine_Cb_Window_Leader_Set)(Ewl_Window *win) |
Set the window's leader
typedef void(* Ewl_Engine_Cb_Window_Lower)(Ewl_Window *win) |
Lower the window
typedef void(* Ewl_Engine_Cb_Window_Min_Max_Size_Set)(Ewl_Window *win) |
Set the min and max sizes
typedef void(* Ewl_Engine_Cb_Window_Move)(Ewl_Window *win) |
Move the window to the given location
typedef void(* Ewl_Engine_Cb_Window_Name_Class_Set)(Ewl_Window *win) |
Set the window name/class
typedef void(* Ewl_Engine_Cb_Window_New)(Ewl_Window *win) |
Internal engine hook typedefs, you only need these if you're writing an engine. Create the window
typedef void(* Ewl_Engine_Cb_Window_Raise)(Ewl_Window *win) |
Raise the window
typedef void(* Ewl_Engine_Cb_Window_Resize)(Ewl_Window *win) |
Resize the window
typedef void(* Ewl_Engine_Cb_Window_Selection_Text_Set)(Ewl_Embed *emb, const char *txt) |
Set the selection text
typedef void(* Ewl_Engine_Cb_Window_Show)(Ewl_Window *win) |
Show the window
typedef void(* Ewl_Engine_Cb_Window_States_Set)(Ewl_Window *win) |
Set the window states
typedef void(* Ewl_Engine_Cb_Window_Title_Set)(Ewl_Window *win) |
Set the window title
typedef void(* Ewl_Engine_Cb_Window_Transient_For)(Ewl_Window *win) |
Set the window transient
typedef struct Ewl_Engine_Info Ewl_Engine_Info |
Enumeration Type Documentation
enum typedef enum Ewl_Engine_Canvas_Hooks Ewl_Engine_Canvas_Hooks |
enum typedef enum Ewl_Engine_Pointer_Hooks Ewl_Engine_Pointer_Hooks |
enum typedef enum Ewl_Engine_Theme_Hooks Ewl_Engine_Theme_Hooks |
- Enumerator:
enum typedef enum Ewl_Engine_Window_Hooks Ewl_Engine_Window_Hooks |
- Enumerator:
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().
void ewl_engine_engine_shutdown | ( | Ewl_Window * | win | ) |
void ewl_engine_event_handlers_init | ( | void | ) |
void ewl_engine_event_handlers_shutdown | ( | void | ) |
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_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_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 |
Referenced by ewl_engine_new(), and ewl_engines_shutdown().