Ecore_Win32 is a library that wraps Windows graphic functions and integrate them nicely into the Ecore main loop. More...
Data Structures | |
struct | _Ecore_Win32_Event_Mouse_In |
Event sent when the mouse enters the window. More... | |
struct | _Ecore_Win32_Event_Mouse_Out |
Event sent when the mouse leaves the window. More... | |
struct | _Ecore_Win32_Event_Window_Focus_In |
Event sent when the window gets the focus. More... | |
struct | _Ecore_Win32_Event_Window_Focus_Out |
Event sent when the window looses the focus. More... | |
struct | _Ecore_Win32_Event_Window_Damage |
Event sent when the window is damaged. More... | |
struct | _Ecore_Win32_Event_Window_Create |
Event sent when the window is created. More... | |
struct | _Ecore_Win32_Event_Window_Destroy |
Event sent when the window is destroyed. More... | |
struct | _Ecore_Win32_Event_Window_Hide |
Event sent when the window is hidden. More... | |
struct | _Ecore_Win32_Event_Window_Show |
Event sent when the window is shown. More... | |
struct | _Ecore_Win32_Event_Window_Configure |
Event sent when the window is configured. More... | |
struct | _Ecore_Win32_Event_Window_Resize |
Event sent when the window is resized. More... | |
struct | _Ecore_Win32_Event_Window_Property |
Event sent when the window properties are changed. More... | |
struct | _Ecore_Win32_Event_Window_Delete_Request |
Event sent when the window is deleted. More... | |
struct | _Ecore_Win32_Event_Selection_Clear |
Event sent when the content of the clipboard has been removed. More... | |
struct | _Ecore_Win32_Event_Selection_Notify |
Event sent when the content of the clipboard has been added. More... | |
struct | Ecore_Win32_Monitor |
Typedefs | |
typedef struct _Ecore_Win32_Window | Ecore_Win32_Window |
typedef void | Ecore_Win32_Cursor |
Abstract type for a cursor. | |
typedef struct _Ecore_Win32_Event_Mouse_In | Ecore_Win32_Event_Mouse_In |
Event sent when the mouse enters the window. | |
typedef struct _Ecore_Win32_Event_Mouse_Out | Ecore_Win32_Event_Mouse_Out |
Event sent when the mouse leaves the window. | |
typedef struct _Ecore_Win32_Event_Window_Focus_In | Ecore_Win32_Event_Window_Focus_In |
Event sent when the window gets the focus. | |
typedef struct _Ecore_Win32_Event_Window_Focus_Out | Ecore_Win32_Event_Window_Focus_Out |
Event sent when the window looses the focus. | |
typedef struct _Ecore_Win32_Event_Window_Damage | Ecore_Win32_Event_Window_Damage |
Event sent when the window is damaged. | |
typedef struct _Ecore_Win32_Event_Window_Create | Ecore_Win32_Event_Window_Create |
Event sent when the window is created. | |
typedef struct _Ecore_Win32_Event_Window_Destroy | Ecore_Win32_Event_Window_Destroy |
Event sent when the window is destroyed. | |
typedef struct _Ecore_Win32_Event_Window_Hide | Ecore_Win32_Event_Window_Hide |
Event sent when the window is hidden. | |
typedef struct _Ecore_Win32_Event_Window_Show | Ecore_Win32_Event_Window_Show |
Event sent when the window is shown. | |
typedef struct _Ecore_Win32_Event_Window_Configure | Ecore_Win32_Event_Window_Configure |
Event sent when the window is configured. | |
typedef struct _Ecore_Win32_Event_Window_Resize | Ecore_Win32_Event_Window_Resize |
Event sent when the window is resized. | |
typedef struct _Ecore_Win32_Event_Window_Property | Ecore_Win32_Event_Window_Property |
Event sent when the window properties are changed. More... | |
typedef struct _Ecore_Win32_Event_Window_Delete_Request | Ecore_Win32_Event_Window_Delete_Request |
Event sent when the window is deleted. | |
typedef struct _Ecore_Win32_Event_Selection_Clear | Ecore_Win32_Event_Selection_Clear |
Event sent when the content of the clipboard has been removed. More... | |
typedef struct _Ecore_Win32_Event_Selection_Notify | Ecore_Win32_Event_Selection_Notify |
Event sent when the content of the clipboard has been added. More... | |
typedef int(* | Ecore_Win32_Dnd_DropTarget_Callback) (void *window, int event, int pt_x, int pt_y, void *data, int size) |
Callback type for Drop operations. More... | |
typedef struct _Ecore_Win32_Window | Ecore_Win32_Window |
Abstract type for a window. | |
Enumerations | |
enum | Ecore_Win32_Window_State { ECORE_WIN32_WINDOW_STATE_UNKNOWN , ECORE_WIN32_WINDOW_STATE_ICONIFIED , ECORE_WIN32_WINDOW_STATE_MODAL , ECORE_WIN32_WINDOW_STATE_STICKY , ECORE_WIN32_WINDOW_STATE_MAXIMIZED_VERT , ECORE_WIN32_WINDOW_STATE_MAXIMIZED_HORZ , ECORE_WIN32_WINDOW_STATE_MAXIMIZED , ECORE_WIN32_WINDOW_STATE_SHADED , ECORE_WIN32_WINDOW_STATE_HIDDEN , ECORE_WIN32_WINDOW_STATE_FULLSCREEN , ECORE_WIN32_WINDOW_STATE_ABOVE , ECORE_WIN32_WINDOW_STATE_BELOW , ECORE_WIN32_WINDOW_STATE_DEMANDS_ATTENTION } |
State of a window. More... | |
enum | Ecore_Win32_Window_Type { ECORE_WIN32_WINDOW_TYPE_DESKTOP , ECORE_WIN32_WINDOW_TYPE_DOCK , ECORE_WIN32_WINDOW_TYPE_TOOLBAR , ECORE_WIN32_WINDOW_TYPE_MENU , ECORE_WIN32_WINDOW_TYPE_UTILITY , ECORE_WIN32_WINDOW_TYPE_SPLASH , ECORE_WIN32_WINDOW_TYPE_DIALOG , ECORE_WIN32_WINDOW_TYPE_NORMAL , ECORE_WIN32_WINDOW_TYPE_UNKNOWN } |
Type of a window. More... | |
enum | Ecore_Win32_Cursor_Shape { ECORE_WIN32_CURSOR_SHAPE_APP_STARTING , ECORE_WIN32_CURSOR_SHAPE_ARROW , ECORE_WIN32_CURSOR_SHAPE_CROSS , ECORE_WIN32_CURSOR_SHAPE_HAND , ECORE_WIN32_CURSOR_SHAPE_HELP , ECORE_WIN32_CURSOR_SHAPE_I_BEAM , ECORE_WIN32_CURSOR_SHAPE_NO , ECORE_WIN32_CURSOR_SHAPE_SIZE_ALL , ECORE_WIN32_CURSOR_SHAPE_SIZE_NESW , ECORE_WIN32_CURSOR_SHAPE_SIZE_NS , ECORE_WIN32_CURSOR_SHAPE_SIZE_NWSE , ECORE_WIN32_CURSOR_SHAPE_SIZE_WE , ECORE_WIN32_CURSOR_SHAPE_UP_ARROW , ECORE_WIN32_CURSOR_SHAPE_WAIT } |
Shape of a cursor. More... | |
enum | Ecore_Win32_Cursor_X11_Shape { ECORE_WIN32_CURSOR_X11_SHAPE_X , ECORE_WIN32_CURSOR_X11_SHAPE_ARROW , ECORE_WIN32_CURSOR_X11_SHAPE_BASED_ARROW_DOWN , ECORE_WIN32_CURSOR_X11_SHAPE_UP , ECORE_WIN32_CURSOR_X11_SHAPE_BOAT , ECORE_WIN32_CURSOR_X11_SHAPE_BOGOSITY , ECORE_WIN32_CURSOR_X11_SHAPE_BOTTOM_LEFT_CORNER , ECORE_WIN32_CURSOR_X11_SHAPE_BOTTOM_RIGHT_CORNER , ECORE_WIN32_CURSOR_X11_SHAPE_BOTTOM_SIDE , ECORE_WIN32_CURSOR_X11_SHAPE_BOTTOM_TEE , ECORE_WIN32_CURSOR_X11_SHAPE_BOX_SPIRAL , ECORE_WIN32_CURSOR_X11_SHAPE_CENTER_PTR , ECORE_WIN32_CURSOR_X11_SHAPE_CIRCLE , ECORE_WIN32_CURSOR_X11_SHAPE_CLOCK , ECORE_WIN32_CURSOR_X11_SHAPE_COFFEE_MUG , ECORE_WIN32_CURSOR_X11_SHAPE_CROSS , ECORE_WIN32_CURSOR_X11_SHAPE_CROSS_REVERSE , ECORE_WIN32_CURSOR_X11_SHAPE_CROSSHAIR , ECORE_WIN32_CURSOR_X11_SHAPE_DIAMOND_CROSS , ECORE_WIN32_CURSOR_X11_SHAPE_DOT , ECORE_WIN32_CURSOR_X11_SHAPE_DOT_BOX_MASK , ECORE_WIN32_CURSOR_X11_SHAPE_DOUBLE_ARROW , ECORE_WIN32_CURSOR_X11_SHAPE_DRAFT_LARGE , ECORE_WIN32_CURSOR_X11_SHAPE_DRAFT_SMALL , ECORE_WIN32_CURSOR_X11_SHAPE_DRAPED_BOX , ECORE_WIN32_CURSOR_X11_SHAPE_EXCHANGE , ECORE_WIN32_CURSOR_X11_SHAPE_FLEUR , ECORE_WIN32_CURSOR_X11_SHAPE_GOBBLER , ECORE_WIN32_CURSOR_X11_SHAPE_GUMBY , ECORE_WIN32_CURSOR_X11_SHAPE_HAND1 , ECORE_WIN32_CURSOR_X11_SHAPE_HAND2 , ECORE_WIN32_CURSOR_X11_SHAPE_HEART , ECORE_WIN32_CURSOR_X11_SHAPE_ICON , ECORE_WIN32_CURSOR_X11_SHAPE_IRON_CROSS , ECORE_WIN32_CURSOR_X11_SHAPE_LEFT_PTR , ECORE_WIN32_CURSOR_X11_SHAPE_LEFT_SIDE , ECORE_WIN32_CURSOR_X11_SHAPE_LEFT_TEE , ECORE_WIN32_CURSOR_X11_SHAPE_LEFTBUTTON , ECORE_WIN32_CURSOR_X11_SHAPE_LL_ANGLE , ECORE_WIN32_CURSOR_X11_SHAPE_LR_ANGLE , ECORE_WIN32_CURSOR_X11_SHAPE_MAN , ECORE_WIN32_CURSOR_X11_SHAPE_MIDDLEBUTTON , ECORE_WIN32_CURSOR_X11_SHAPE_MOUSE , ECORE_WIN32_CURSOR_X11_SHAPE_PENCIL , ECORE_WIN32_CURSOR_X11_SHAPE_PIRATE , ECORE_WIN32_CURSOR_X11_SHAPE_PLUS , ECORE_WIN32_CURSOR_X11_SHAPE_QUESTION_ARROW , ECORE_WIN32_CURSOR_X11_SHAPE_RIGHT_PTR , ECORE_WIN32_CURSOR_X11_SHAPE_RIGHT_SIDE , ECORE_WIN32_CURSOR_X11_SHAPE_RIGHT_TEE , ECORE_WIN32_CURSOR_X11_SHAPE_RIGHTBUTTON , ECORE_WIN32_CURSOR_X11_SHAPE_RTL_LOGO , ECORE_WIN32_CURSOR_X11_SHAPE_SAILBOAT , ECORE_WIN32_CURSOR_X11_SHAPE_SB_DOWN_ARROW , ECORE_WIN32_CURSOR_X11_SHAPE_SB_H_DOUBLE_ARROW , ECORE_WIN32_CURSOR_X11_SHAPE_SB_LEFT_ARROW , ECORE_WIN32_CURSOR_X11_SHAPE_SB_RIGHT_ARROW , ECORE_WIN32_CURSOR_X11_SHAPE_SB_UP_ARROW , ECORE_WIN32_CURSOR_X11_SHAPE_SB_V_DOUBLE_ARROW , ECORE_WIN32_CURSOR_X11_SHAPE_SHUTTLE , ECORE_WIN32_CURSOR_X11_SHAPE_SIZING , ECORE_WIN32_CURSOR_X11_SHAPE_SPIDER , ECORE_WIN32_CURSOR_X11_SHAPE_SPRAYCAN , ECORE_WIN32_CURSOR_X11_SHAPE_STAR , ECORE_WIN32_CURSOR_X11_SHAPE_TARGET , ECORE_WIN32_CURSOR_X11_SHAPE_TCROSS , ECORE_WIN32_CURSOR_X11_SHAPE_TOP_LEFT_ARROW , ECORE_WIN32_CURSOR_X11_SHAPE_TOP_LEFT_CORNER , ECORE_WIN32_CURSOR_X11_SHAPE_TOP_RIGHT_CORNER , ECORE_WIN32_CURSOR_X11_SHAPE_TOP_SIDE , ECORE_WIN32_CURSOR_X11_SHAPE_TOP_TEE , ECORE_WIN32_CURSOR_X11_SHAPE_TREK , ECORE_WIN32_CURSOR_X11_SHAPE_UL_ANGLE , ECORE_WIN32_CURSOR_X11_SHAPE_UMBRELLA , ECORE_WIN32_CURSOR_X11_SHAPE_UR_ANGLE , ECORE_WIN32_CURSOR_X11_SHAPE_WATCH , ECORE_WIN32_CURSOR_X11_SHAPE_XTERM } |
Shape of an X11 cursor. | |
enum | Ecore_Win32_DnD_State { ECORE_WIN32_DND_EVENT_DRAG_ENTER = 1 , ECORE_WIN32_DND_EVENT_DRAG_OVER = 2 , ECORE_WIN32_DND_EVENT_DRAG_LEAVE = 3 , ECORE_WIN32_DND_EVENT_DROP = 4 } |
State of a DnD operation. More... | |
Functions | |
EAPI int | ecore_win32_init () |
Initialize the Ecore_Win32 library. More... | |
EAPI int | ecore_win32_shutdown () |
Shut down the Ecore_Win32 library. More... | |
EAPI int | ecore_win32_screen_depth_get () |
Retrieve the depth of the screen. More... | |
EAPI void | ecore_win32_double_click_time_set (double t) |
Sets the timeout for a double and triple clicks to be flagged. More... | |
EAPI double | ecore_win32_double_click_time_get (void) |
Retrieve the double and triple click flag timeout. More... | |
EAPI unsigned long | ecore_win32_current_time_get (void) |
Return the last event time. More... | |
EAPI Ecore_Win32_Window * | ecore_win32_window_new (Ecore_Win32_Window *parent, int x, int y, int width, int height) |
Creates a new window. More... | |
EAPI Ecore_Win32_Window * | ecore_win32_window_override_new (Ecore_Win32_Window *parent, int x, int y, int width, int height) |
Creates a new borderless window. More... | |
EAPI void | ecore_win32_window_free (Ecore_Win32_Window *window) |
Free the given window. More... | |
EAPI void * | ecore_win32_window_hwnd_get (Ecore_Win32_Window *window) |
Return the window HANDLE associated to the given window. More... | |
EAPI void | ecore_win32_window_move (Ecore_Win32_Window *window, int x, int y) |
Move the given window to a given position. More... | |
EAPI void | ecore_win32_window_resize (Ecore_Win32_Window *window, int width, int height) |
Resize the given window to a given size. More... | |
EAPI void | ecore_win32_window_move_resize (Ecore_Win32_Window *window, int x, int y, int width, int height) |
Move and resize the given window to a given position and size. More... | |
EAPI void | ecore_win32_window_geometry_get (Ecore_Win32_Window *window, int *x, int *y, int *width, int *height) |
Get the geometry of the given window. More... | |
EAPI void | ecore_win32_window_size_get (Ecore_Win32_Window *window, int *width, int *height) |
Get the size of the given window. More... | |
EAPI void | ecore_win32_window_size_min_set (Ecore_Win32_Window *window, int min_width, int min_height) |
Set the minimum size of the given window. More... | |
EAPI void | ecore_win32_window_size_min_get (Ecore_Win32_Window *window, int *min_width, int *min_height) |
Get the minimum size of the given window. More... | |
EAPI void | ecore_win32_window_size_max_set (Ecore_Win32_Window *window, int max_width, int max_height) |
Set the maximum size of the given window. More... | |
EAPI void | ecore_win32_window_size_max_get (Ecore_Win32_Window *window, int *max_width, int *max_height) |
Get the maximum size of the given window. More... | |
EAPI void | ecore_win32_window_size_base_set (Ecore_Win32_Window *window, int base_width, int base_height) |
Set the base size of the given window. More... | |
EAPI void | ecore_win32_window_size_base_get (Ecore_Win32_Window *window, int *base_width, int *base_height) |
Get the base size of the given window. More... | |
EAPI void | ecore_win32_window_size_step_set (Ecore_Win32_Window *window, int step_width, int step_height) |
Set the step size of the given window. More... | |
EAPI void | ecore_win32_window_size_step_get (Ecore_Win32_Window *window, int *step_width, int *step_height) |
Get the step size of the given window. More... | |
EAPI void | ecore_win32_window_show (Ecore_Win32_Window *window) |
Show the given window. More... | |
EAPI void | ecore_win32_window_hide (Ecore_Win32_Window *window) |
Hide the given window. More... | |
EAPI void | ecore_win32_window_raise (Ecore_Win32_Window *window) |
Place the given window at the top of the Z order. More... | |
EAPI void | ecore_win32_window_lower (Ecore_Win32_Window *window) |
Place the given window at the bottom of the Z order. More... | |
EAPI void | ecore_win32_window_activate (Ecore_Win32_Window *window) |
Activate the given window. More... | |
EAPI void | ecore_win32_window_title_set (Ecore_Win32_Window *window, const char *title) |
Set the title of the given window. More... | |
EAPI void | ecore_win32_window_focus (Ecore_Win32_Window *window) |
Set the focus to the given window. More... | |
EAPI void * | ecore_win32_window_focus_get (void) |
Get the current focused window. More... | |
EAPI void | ecore_win32_window_iconified_set (Ecore_Win32_Window *window, Eina_Bool on) |
Iconify or restore the given window. More... | |
EAPI void | ecore_win32_window_borderless_set (Ecore_Win32_Window *window, Eina_Bool on) |
Remove or restore the border of the given window. More... | |
EAPI void | ecore_win32_window_maximized_set (Ecore_Win32_Window *window, Eina_Bool on) |
Maximize or restore the given window. More... | |
EAPI void | ecore_win32_window_fullscreen_set (Ecore_Win32_Window *window, Eina_Bool on) |
Set the given window to fullscreen. More... | |
EAPI void | ecore_win32_window_cursor_set (Ecore_Win32_Window *window, Ecore_Win32_Cursor *cursor) |
Set the given cursor to the given window. More... | |
EAPI void | ecore_win32_window_state_set (Ecore_Win32_Window *window, Ecore_Win32_Window_State *state, unsigned int num) |
Set the state of the given window. More... | |
EAPI void | ecore_win32_window_state_get (Ecore_Win32_Window *window, Ecore_Win32_Window_State **state, unsigned int *num) |
Get the states of the given window. More... | |
EAPI void | ecore_win32_window_state_request_send (Ecore_Win32_Window *window, Ecore_Win32_Window_State state, unsigned int set) |
Apply the modification of the state to the given window. More... | |
EAPI void | ecore_win32_window_type_set (Ecore_Win32_Window *window, Ecore_Win32_Window_Type type) |
Set the type of the given window. More... | |
EAPI Ecore_Win32_Cursor * | ecore_win32_cursor_new (const void *pixels_and, const void *pixels_xor, int width, int height, int hot_x, int hot_y) |
Create a new cursor. More... | |
EAPI void | ecore_win32_cursor_free (Ecore_Win32_Cursor *cursor) |
Free the given cursor. More... | |
EAPI Ecore_Win32_Cursor * | ecore_win32_cursor_shaped_new (Ecore_Win32_Cursor_Shape shape) |
Create a cursor from a Windows ressource. More... | |
EAPI const Ecore_Win32_Cursor * | ecore_win32_cursor_x11_shaped_get (Ecore_Win32_Cursor_X11_Shape shape) |
Retrieve a X11 cursor from a X Id. More... | |
EAPI void | ecore_win32_cursor_size_get (int *width, int *height) |
Retrieve the size of a valid cursor. More... | |
EAPI void | ecore_win32_cursor_show (Eina_Bool show) |
EAPI int | ecore_win32_dnd_init () |
Initialize the Ecore_Win32 Drag and Drop module. More... | |
EAPI int | ecore_win32_dnd_shutdown () |
Shut down the Ecore_Win32 Drag and Drop module. More... | |
EAPI Eina_Bool | ecore_win32_dnd_begin (const char *data, int size) |
Begin a DnD operation. More... | |
EAPI Eina_Bool | ecore_win32_dnd_register_drop_target (Ecore_Win32_Window *window, Ecore_Win32_Dnd_DropTarget_Callback callback) |
Register a Drop operation. More... | |
EAPI void | ecore_win32_dnd_unregister_drop_target (Ecore_Win32_Window *window) |
Unregister a Drop operation. More... | |
EAPI Eina_Bool | ecore_win32_clipboard_set (const Ecore_Win32_Window *window, const void *data, size_t size, const char *mime_type) |
Set data to the clipboard. More... | |
EAPI void * | ecore_win32_clipboard_get (const Ecore_Win32_Window *window, size_t *size, const char *mime_type) |
Get data from the clipboard. More... | |
EAPI void | ecore_win32_clipboard_clear (const Ecore_Win32_Window *window) |
Cleat the clipboard. More... | |
EAPI Eina_Iterator * | ecore_win32_monitors_get (void) |
Return the coordinates, sizes DPI's of the monitors. More... | |
Variables | |
EAPI int | ECORE_WIN32_EVENT_MOUSE_IN |
Ecore_Event for the Ecore_Win32_Event_Mouse_In event. | |
EAPI int | ECORE_WIN32_EVENT_MOUSE_OUT |
Ecore_Event for the Ecore_Win32_Event_Mouse_Out event. | |
EAPI int | ECORE_WIN32_EVENT_WINDOW_FOCUS_IN |
Ecore_Event for the Ecore_Win32_Event_Window_Focus_In event. | |
EAPI int | ECORE_WIN32_EVENT_WINDOW_FOCUS_OUT |
Ecore_Event for the Ecore_Win32_Event_Window_Focus_Out event. | |
EAPI int | ECORE_WIN32_EVENT_WINDOW_DAMAGE |
Ecore_Event for the Ecore_Win32_Event_Damage event. | |
EAPI int | ECORE_WIN32_EVENT_WINDOW_CREATE |
Ecore_Event for the Ecore_Win32_Event_Create event. | |
EAPI int | ECORE_WIN32_EVENT_WINDOW_DESTROY |
Ecore_Event for the Ecore_Win32_Event_Destroy event. | |
EAPI int | ECORE_WIN32_EVENT_WINDOW_HIDE |
Ecore_Event for the Ecore_Win32_Event_Hide event. | |
EAPI int | ECORE_WIN32_EVENT_WINDOW_SHOW |
Ecore_Event for the Ecore_Win32_Event_Show event. | |
EAPI int | ECORE_WIN32_EVENT_WINDOW_CONFIGURE |
Ecore_Event for the Ecore_Win32_Event_Configure event. | |
EAPI int | ECORE_WIN32_EVENT_WINDOW_RESIZE |
Ecore_Event for the Ecore_Win32_Event_Resize event. | |
EAPI int | ECORE_WIN32_EVENT_WINDOW_PROPERTY |
Ecore_Event for the Ecore_Win32_Event_Property event. More... | |
EAPI int | ECORE_WIN32_EVENT_WINDOW_DELETE_REQUEST |
Ecore_Event for the Ecore_Win32_Event_Window_Delete_Request event. | |
EAPI int | ECORE_WIN32_EVENT_SELECTION_CLEAR |
Ecore_Event for the Ecore_Win32_Event_Selection_Clear event. More... | |
EAPI int | ECORE_WIN32_EVENT_SELECTION_NOTIFY |
Ecore_Event for the Ecore_Win32_Event_Selection_Notify event. More... | |
Ecore_Win32 is a library that wraps Windows graphic functions and integrate them nicely into the Ecore main loop.
To fill...
It is possible to also sets the icon of the application easily:
Event sent when the window properties are changed.
Event sent when the content of the clipboard has been removed.
Event sent when the content of the clipboard has been added.
Ecore_Win32_Dnd_DropTarget_Callback |
Callback type for Drop operations.
State of a window.
Type of a window.
Shape of a cursor.
EAPI int ecore_win32_init | ( | ) |
Initialize the Ecore_Win32 library.
This function sets up the Windows graphic system. It returns 0 on failure, otherwise it returns the number of times it has already been called.
When Ecore_Win32 is not used anymore, call ecore_win32_shutdown() to shut down the Ecore_Win32 library.
References ecore_event_init(), ecore_event_shutdown(), ecore_event_type_new(), ecore_win32_dnd_init(), ECORE_WIN32_EVENT_MOUSE_IN, ECORE_WIN32_EVENT_MOUSE_OUT, ECORE_WIN32_EVENT_SELECTION_CLEAR, ECORE_WIN32_EVENT_SELECTION_NOTIFY, ECORE_WIN32_EVENT_WINDOW_CONFIGURE, ECORE_WIN32_EVENT_WINDOW_CREATE, ECORE_WIN32_EVENT_WINDOW_DAMAGE, ECORE_WIN32_EVENT_WINDOW_DELETE_REQUEST, ECORE_WIN32_EVENT_WINDOW_DESTROY, ECORE_WIN32_EVENT_WINDOW_FOCUS_IN, ECORE_WIN32_EVENT_WINDOW_FOCUS_OUT, ECORE_WIN32_EVENT_WINDOW_HIDE, ECORE_WIN32_EVENT_WINDOW_PROPERTY, ECORE_WIN32_EVENT_WINDOW_RESIZE, ECORE_WIN32_EVENT_WINDOW_SHOW, eina_init(), eina_log_domain_register(), eina_log_domain_unregister(), EINA_LOG_ERR, eina_shutdown(), and ERR.
EAPI int ecore_win32_shutdown | ( | ) |
Shut down the Ecore_Win32 library.
This function shuts down the Ecore_Win32 library. It returns 0 when it has been called the same number of times than ecore_win32_init(). In that case it shuts down all the Windows graphic system.
References ecore_event_shutdown(), ecore_event_type_flush, ecore_win32_cursor_free(), ecore_win32_dnd_shutdown(), ECORE_WIN32_EVENT_MOUSE_IN, ECORE_WIN32_EVENT_MOUSE_OUT, ECORE_WIN32_EVENT_SELECTION_CLEAR, ECORE_WIN32_EVENT_SELECTION_NOTIFY, ECORE_WIN32_EVENT_WINDOW_CONFIGURE, ECORE_WIN32_EVENT_WINDOW_CREATE, ECORE_WIN32_EVENT_WINDOW_DAMAGE, ECORE_WIN32_EVENT_WINDOW_DELETE_REQUEST, ECORE_WIN32_EVENT_WINDOW_DESTROY, ECORE_WIN32_EVENT_WINDOW_FOCUS_IN, ECORE_WIN32_EVENT_WINDOW_FOCUS_OUT, ECORE_WIN32_EVENT_WINDOW_HIDE, ECORE_WIN32_EVENT_WINDOW_PROPERTY, ECORE_WIN32_EVENT_WINDOW_RESIZE, ECORE_WIN32_EVENT_WINDOW_SHOW, eina_log_domain_unregister(), eina_shutdown(), and INF.
EAPI int ecore_win32_screen_depth_get | ( | ) |
EAPI void ecore_win32_double_click_time_set | ( | double | t | ) |
Sets the timeout for a double and triple clicks to be flagged.
t | The time in seconds. |
This function sets the time t
between clicks before the double_click flag is set in a button down event. If 3 clicks occur within double this time, the triple_click flag is also set.
EAPI double ecore_win32_double_click_time_get | ( | void | ) |
Retrieve the double and triple click flag timeout.
This function returns the double clicks in seconds. If ecore_win32_double_click_time_set() has not been called, the default value is returned. See ecore_win32_double_click_time_set() for more informations.
EAPI unsigned long ecore_win32_current_time_get | ( | void | ) |
Return the last event time.
This function returns the last event time.
Ecore_Win32_Window * ecore_win32_window_new | ( | Ecore_Win32_Window * | parent, |
int | x, | ||
int | y, | ||
int | width, | ||
int | height | ||
) |
Creates a new window.
parent | The parent window. |
x | The x coordinate of the top-left corner of the window. |
y | The y coordinate of the top-left corner of the window. |
width | The width of the window. |
height | The height of the window. |
This function creates a new window which parent is parent
. width
and height
are the size of the window content (the client part), without the border and title bar. x
and y
are the system coordinates of the top left cerner of the window (that is, of the title bar). This function returns a newly created window on success, and NULL
on failure.
References INF.
Ecore_Win32_Window * ecore_win32_window_override_new | ( | Ecore_Win32_Window * | parent, |
int | x, | ||
int | y, | ||
int | width, | ||
int | height | ||
) |
Creates a new borderless window.
parent | The parent window. |
x | The x coordinate of the top-left corner of the window. |
y | The y coordinate of the top-left corner of the window. |
width | The width of the window. |
height | The height of the window. |
This function is the same than ecore_win32_window_override_new() but the returned window is borderless.
References INF.
void ecore_win32_window_free | ( | Ecore_Win32_Window * | window | ) |
Free the given window.
window | The window to free. |
This function frees window
. If window
is NULL
, this function does nothing.
References INF.
void * ecore_win32_window_hwnd_get | ( | Ecore_Win32_Window * | window | ) |
Return the window HANDLE associated to the given window.
window | The window to retrieve the HANDLE from. |
This function returns the window HANDLE associated to window
. If window
is NULL
, this function returns NULL
.
void ecore_win32_window_move | ( | Ecore_Win32_Window * | window, |
int | x, | ||
int | y | ||
) |
Move the given window to a given position.
window | The window to move. |
x | The x coordinate of the destination position. |
y | The y coordinate of the destination position. |
This function moves window
to the new position of coordinates x
and y
. If window
is NULL
, or if it is fullscreen, or on error, this function does nothing.
void ecore_win32_window_resize | ( | Ecore_Win32_Window * | window, |
int | width, | ||
int | height | ||
) |
void ecore_win32_window_move_resize | ( | Ecore_Win32_Window * | window, |
int | x, | ||
int | y, | ||
int | width, | ||
int | height | ||
) |
Move and resize the given window to a given position and size.
window | The window to move and resize. |
x | The x coordinate of the destination position. |
y | The x coordinate of the destination position. |
width | The new width. |
height | The new height. |
This function resizes window
to the new position of coordinates x
and y
and the new width
and height
. If window
is NULL
, or if it is fullscreen, or on error, this function does nothing.
void ecore_win32_window_geometry_get | ( | Ecore_Win32_Window * | window, |
int * | x, | ||
int * | y, | ||
int * | width, | ||
int * | height | ||
) |
Get the geometry of the given window.
window | The window to retrieve the geometry from. |
x | The x coordinate of the position. |
y | The x coordinate of the position. |
width | The width. |
height | The height. |
This function retrieves the position and size of window
. x
, y
, width
and height
can be buffers that will be filled with the corresponding values. If one of them is NULL
, nothing will be done for that parameter. If window
is NULL
, and if the buffers are not NULL
, they will be filled with respectively 0, 0, the size of the screen and the height of the screen.
void ecore_win32_window_size_get | ( | Ecore_Win32_Window * | window, |
int * | width, | ||
int * | height | ||
) |
Get the size of the given window.
window | The window to retrieve the size from. |
width | The width. |
height | The height. |
This function retrieves the size of window
. width
and height
can be buffers that will be filled with the corresponding values. If one of them is NULL
, nothing will be done for that parameter. If window
is NULL
, and if the buffers are not NULL
, they will be filled with respectively the size of the screen and the height of the screen.
void ecore_win32_window_size_min_set | ( | Ecore_Win32_Window * | window, |
int | min_width, | ||
int | min_height | ||
) |
Set the minimum size of the given window.
window | The window. |
min_width | The minimal width. |
min_height | The minimal height. |
This function sets the minimum size of window
to min_width
and *p min_height. If window
is NULL
, this functions does nothing.
References INF.
void ecore_win32_window_size_min_get | ( | Ecore_Win32_Window * | window, |
int * | min_width, | ||
int * | min_height | ||
) |
Get the minimum size of the given window.
window | The window. |
min_width | The minimal width. |
min_height | The minimal height. |
This function fills the minimum size of window
in the buffers min_width
and *p min_height. They both can be NULL
. If window
is NULL
, this functions does nothing.
References INF.
void ecore_win32_window_size_max_set | ( | Ecore_Win32_Window * | window, |
int | max_width, | ||
int | max_height | ||
) |
Set the maximum size of the given window.
window | The window. |
max_width | The maximal width. |
max_height | The maximal height. |
This function sets the maximum size of window
to max_width
and *p max_height. If window
is NULL
, this functions does nothing.
References INF.
void ecore_win32_window_size_max_get | ( | Ecore_Win32_Window * | window, |
int * | max_width, | ||
int * | max_height | ||
) |
Get the maximum size of the given window.
window | The window. |
max_width | The maximal width. |
max_height | The maximal height. |
This function fills the maximum size of window
in the buffers max_width
and *p max_height. They both can be NULL
. If window
is NULL
, this functions does nothing.
References INF.
void ecore_win32_window_size_base_set | ( | Ecore_Win32_Window * | window, |
int | base_width, | ||
int | base_height | ||
) |
Set the base size of the given window.
window | The window. |
base_width | The base width. |
base_height | The base height. |
This function sets the base size of window
to base_width
and *p base_height. If window
is NULL
, this functions does nothing.
References INF.
void ecore_win32_window_size_base_get | ( | Ecore_Win32_Window * | window, |
int * | base_width, | ||
int * | base_height | ||
) |
Get the base size of the given window.
window | The window. |
base_width | The base width. |
base_height | The bas height. |
This function fills the base size of window
in the buffers base_width
and *p base_height. They both can be NULL
. If window
is NULL
, this functions does nothing.
References INF.
void ecore_win32_window_size_step_set | ( | Ecore_Win32_Window * | window, |
int | step_width, | ||
int | step_height | ||
) |
Set the step size of the given window.
window | The window. |
step_width | The step width. |
step_height | The step height. |
This function sets the step size of window
to step_width
and *p step_height. If window
is NULL
, this functions does nothing.
References INF.
void ecore_win32_window_size_step_get | ( | Ecore_Win32_Window * | window, |
int * | step_width, | ||
int * | step_height | ||
) |
Get the step size of the given window.
window | The window. |
step_width | The step width. |
step_height | The bas height. |
This function fills the step size of window
in the buffers step_width
and *p step_height. They both can be NULL
. If window
is NULL
, this functions does nothing.
References INF.
void ecore_win32_window_show | ( | Ecore_Win32_Window * | window | ) |
void ecore_win32_window_hide | ( | Ecore_Win32_Window * | window | ) |
Hide the given window.
window | The window to show. |
This function hides window
. If window
is NULL
, or on error, this function does nothing.
References INF.
void ecore_win32_window_raise | ( | Ecore_Win32_Window * | window | ) |
void ecore_win32_window_lower | ( | Ecore_Win32_Window * | window | ) |
void ecore_win32_window_activate | ( | Ecore_Win32_Window * | window | ) |
Activate the given window.
window | The window to activate. |
This functions activates the windows window
. If window
is NULL
, this function does nothing. Otherwise, the window is activated. So if is minimized or maximized, the window is restored to its original position and size.
References EINA_FALSE, and INF.
void ecore_win32_window_title_set | ( | Ecore_Win32_Window * | window, |
const char * | title | ||
) |
void ecore_win32_window_focus | ( | Ecore_Win32_Window * | window | ) |
void * ecore_win32_window_focus_get | ( | void | ) |
Get the current focused window.
This function returns the window that has focus. If the calling thread's message queue does not have an associated window with the keyboard focus, the return value is NULL
.
NULL
, another thread's queue may be associated with a window that has the keyboard focus.void ecore_win32_window_iconified_set | ( | Ecore_Win32_Window * | window, |
Eina_Bool | on | ||
) |
Iconify or restore the given window.
window | The window. |
on | EINA_TRUE to iconify the window, EINA_FALSE to restore it. |
This function iconifies or restores window
. If on
is set to EINA_TRUE
, the window will be iconified, if it is set to EINA_FALSE
, it will be restored. If window
is NULL
or if the state does not change (like iconifying the window while it is already iconified), this function does nothing.
References INF.
Referenced by ecore_win32_window_state_request_send().
void ecore_win32_window_borderless_set | ( | Ecore_Win32_Window * | window, |
Eina_Bool | on | ||
) |
Remove or restore the border of the given window.
window | The window. |
on | EINA_TRUE to remove the border, EINA_FALSE to restore it. |
This function removes or restores the border of window
. If on
is set to EINA_TRUE
, the window will have no border, if it is set to EINA_FALSE
, it will have a border. If window
is NULL
or if the state does not change (like setting to borderless while the window has no border), this function does nothing.
void ecore_win32_window_maximized_set | ( | Ecore_Win32_Window * | window, |
Eina_Bool | on | ||
) |
Maximize or restore the given window.
window | The window. |
on | EINA_TRUE for maximized window, EINA_FALSE to restore it. |
This function maximizes window
if on
is set to EINA_TRUE
, or restores the window if it is set to EINA_FALSE
. If window
is NULL
or if the state does not change (like setting to fullscreenmaximized the window is already maximized), this function does nothing.
References INF.
void ecore_win32_window_fullscreen_set | ( | Ecore_Win32_Window * | window, |
Eina_Bool | on | ||
) |
Set the given window to fullscreen.
window | The window. |
on | EINA_TRUE for fullscreen mode, EINA_FALSE for windowed mode. |
This function sets window
to fullscreen or windowed mode. If on
is set to EINA_TRUE
, the window will be fullscreen, if it is set to EINA_FALSE
, it will be windowed. If window
is NULL
or if the state does not change (like setting to fullscreen while the window is already fullscreen), this function does nothing.
Referenced by ecore_win32_window_state_request_send().
void ecore_win32_window_cursor_set | ( | Ecore_Win32_Window * | window, |
Ecore_Win32_Cursor * | cursor | ||
) |
Set the given cursor to the given window.
window | The window to modify the cursor. |
cursor | The new cursor. |
This function sets cursor
to window
. cursor
must have been obtained by ecore_win32_cursor_new() or ecore_win32_cursor_shaped_new() or ecore_win32_cursor_x11_shaped_new(). If window
or cursor
is NULL
, the function does nothing.
References INF.
void ecore_win32_window_state_set | ( | Ecore_Win32_Window * | window, |
Ecore_Win32_Window_State * | state, | ||
unsigned int | num | ||
) |
Set the state of the given window.
window | The window to modify the state. |
state | An array of the new states. |
num | The number of states in the array. |
This function sets the state of window
. state
is an array of states of size num
. If window
or state
are NULL
, or if num
is less or equal than 0, the function does nothing.
References ECORE_WIN32_WINDOW_STATE_ABOVE, ECORE_WIN32_WINDOW_STATE_BELOW, ECORE_WIN32_WINDOW_STATE_DEMANDS_ATTENTION, ECORE_WIN32_WINDOW_STATE_FULLSCREEN, ECORE_WIN32_WINDOW_STATE_HIDDEN, ECORE_WIN32_WINDOW_STATE_ICONIFIED, ECORE_WIN32_WINDOW_STATE_MAXIMIZED, ECORE_WIN32_WINDOW_STATE_MAXIMIZED_HORZ, ECORE_WIN32_WINDOW_STATE_MAXIMIZED_VERT, ECORE_WIN32_WINDOW_STATE_MODAL, ECORE_WIN32_WINDOW_STATE_SHADED, ECORE_WIN32_WINDOW_STATE_STICKY, ECORE_WIN32_WINDOW_STATE_UNKNOWN, and INF.
void ecore_win32_window_state_get | ( | Ecore_Win32_Window * | window, |
Ecore_Win32_Window_State ** | state, | ||
unsigned int * | num | ||
) |
Get the states of the given window.
window | The window to retrieve the state from. |
state | A pointer to an array of the states. |
num | A pointer to the number of states in the array. |
This function gets the states of window
. state
is a pointer to an array of states of size num
. If window
is NULL
, state
and num
must not be NULL
and point to respectively NULL
and 0.
References ECORE_WIN32_WINDOW_STATE_ABOVE, ECORE_WIN32_WINDOW_STATE_BELOW, ECORE_WIN32_WINDOW_STATE_DEMANDS_ATTENTION, ECORE_WIN32_WINDOW_STATE_FULLSCREEN, ECORE_WIN32_WINDOW_STATE_HIDDEN, ECORE_WIN32_WINDOW_STATE_ICONIFIED, ECORE_WIN32_WINDOW_STATE_MAXIMIZED, ECORE_WIN32_WINDOW_STATE_MAXIMIZED_HORZ, ECORE_WIN32_WINDOW_STATE_MAXIMIZED_VERT, ECORE_WIN32_WINDOW_STATE_MODAL, ECORE_WIN32_WINDOW_STATE_SHADED, ECORE_WIN32_WINDOW_STATE_STICKY, and INF.
void ecore_win32_window_state_request_send | ( | Ecore_Win32_Window * | window, |
Ecore_Win32_Window_State | state, | ||
unsigned int | set | ||
) |
Apply the modification of the state to the given window.
window | The window. |
state | The state to apply changes. |
set | The value of the state change. |
This function applies the modification of the state state
of window
. set
is used only for ECORE_WIN32_WINDOW_STATE_ICONIFIED and ECORE_WIN32_WINDOW_STATE_FULLSCREEN. If window
is NULL
, the function does nothing.
References ecore_win32_window_fullscreen_set(), ecore_win32_window_iconified_set(), ECORE_WIN32_WINDOW_STATE_ABOVE, ECORE_WIN32_WINDOW_STATE_BELOW, ECORE_WIN32_WINDOW_STATE_DEMANDS_ATTENTION, ECORE_WIN32_WINDOW_STATE_FULLSCREEN, ECORE_WIN32_WINDOW_STATE_HIDDEN, ECORE_WIN32_WINDOW_STATE_ICONIFIED, ECORE_WIN32_WINDOW_STATE_MAXIMIZED, ECORE_WIN32_WINDOW_STATE_MAXIMIZED_HORZ, ECORE_WIN32_WINDOW_STATE_MAXIMIZED_VERT, ECORE_WIN32_WINDOW_STATE_MODAL, ECORE_WIN32_WINDOW_STATE_SHADED, ECORE_WIN32_WINDOW_STATE_STICKY, ECORE_WIN32_WINDOW_STATE_UNKNOWN, ERR, and INF.
void ecore_win32_window_type_set | ( | Ecore_Win32_Window * | window, |
Ecore_Win32_Window_Type | type | ||
) |
Set the type of the given window.
window | The window to modify the type. |
type | The nwindow types. |
This function sets the type of window
to type
. If window
is NULL
, the function does nothing.
References ECORE_WIN32_WINDOW_TYPE_DESKTOP, ECORE_WIN32_WINDOW_TYPE_DIALOG, ECORE_WIN32_WINDOW_TYPE_DOCK, ECORE_WIN32_WINDOW_TYPE_MENU, ECORE_WIN32_WINDOW_TYPE_NORMAL, ECORE_WIN32_WINDOW_TYPE_SPLASH, ECORE_WIN32_WINDOW_TYPE_TOOLBAR, ECORE_WIN32_WINDOW_TYPE_UNKNOWN, ECORE_WIN32_WINDOW_TYPE_UTILITY, and INF.
Ecore_Win32_Cursor * ecore_win32_cursor_new | ( | const void * | pixels_and, |
const void * | pixels_xor, | ||
int | width, | ||
int | height, | ||
int | hot_x, | ||
int | hot_y | ||
) |
Create a new cursor.
pixels_and | The array of bytes containing the bit values for the AND mask of the cursor. |
pixels_xor | The array of bytes containing the bit values for the XOR mask of the cursor. |
width | The width of the cursor. |
height | The height of the cursor. |
hot_x | The horizontal position of the cursor's hot spot. |
hot_y | The vertical position of the cursor's hot spot. |
This function creates a new cursor of size width
and height
. They must be valid size. To determine the valid size of a cursor, use ecore_win32_cursor_size_get(). pixels_and
is an array of bytes (unsigned char) containing the bits of the cursor that will be visible. pixels_xor
is similar but will allow the cursor to have a shape. Here is the truth table for the masks:
AND mask | XOR mask | Display |
0 | 0 | Black |
0 | 1 | White |
1 | 0 | Screen |
1 | 1 | Reverse screen |
hot_x
and hot_y
are the position of the hot spot of the cursor. If pixels_and
or pixels_xor
are NULL
, the function returns NULL. If width
or height
does not match the valid size of a cursor, the function returns NULL
. On success, the function creates a user-defined cursor, otherwise it returns NULL
.
Once the cursor is not used anymore, use ecore_win32_cursor_free() to free the ressources.
Example of use:
References INF.
void ecore_win32_cursor_free | ( | Ecore_Win32_Cursor * | cursor | ) |
Free the given cursor.
cursor | The cursor to free. |
This function free cursor
. cursor
must have been obtained with ecore_win32_cursor_new() or ecore_win32_cursor_x11_shaped_new().
References INF.
Referenced by ecore_win32_shutdown().
Ecore_Win32_Cursor * ecore_win32_cursor_shaped_new | ( | Ecore_Win32_Cursor_Shape | shape | ) |
Create a cursor from a Windows ressource.
shape | The pre-defined shape of the cursor. |
This function returns a pre-defined cursor with a specified shape
. This cursor does not need to be freed, as it is loaded from an existing resource. On error NULL
is returned.
References ECORE_WIN32_CURSOR_SHAPE_APP_STARTING, ECORE_WIN32_CURSOR_SHAPE_ARROW, ECORE_WIN32_CURSOR_SHAPE_CROSS, ECORE_WIN32_CURSOR_SHAPE_HAND, ECORE_WIN32_CURSOR_SHAPE_HELP, ECORE_WIN32_CURSOR_SHAPE_I_BEAM, ECORE_WIN32_CURSOR_SHAPE_NO, ECORE_WIN32_CURSOR_SHAPE_SIZE_ALL, ECORE_WIN32_CURSOR_SHAPE_SIZE_NESW, ECORE_WIN32_CURSOR_SHAPE_SIZE_NS, ECORE_WIN32_CURSOR_SHAPE_SIZE_NWSE, ECORE_WIN32_CURSOR_SHAPE_SIZE_WE, ECORE_WIN32_CURSOR_SHAPE_UP_ARROW, ECORE_WIN32_CURSOR_SHAPE_WAIT, and INF.
const Ecore_Win32_Cursor * ecore_win32_cursor_x11_shaped_get | ( | Ecore_Win32_Cursor_X11_Shape | shape | ) |
Retrieve a X11 cursor from a X Id.
[in] | shape | The defined X11 shape of the cursor. |
This function returns a defined cursor with a specified X11 shape
. Do not use ecore_win32_cursor_free() to free the ressources as it is created once the libray is initialized and detroyed when it is shut down.
References INF.
void ecore_win32_cursor_size_get | ( | int * | width, |
int * | height | ||
) |
Retrieve the size of a valid cursor.
width | The width of a valid cursor. |
height | The height of a valid cursor. |
This function returns the size of a cursor that must be passed to ecore_win32_cursor_new(). width
and height
are buffers that will be filled with the correct size. They can be NULL
.
References INF.
int ecore_win32_dnd_init | ( | ) |
Initialize the Ecore_Win32 Drag and Drop module.
This function initialize the Drag and Drop module. It returns 0 on failure, otherwise it returns the number of times it has already been called.
When the Drag and Drop module is not used anymore, call ecore_win32_dnd_shutdown() to shut down the module.
References EINA_LOG_ERR.
Referenced by ecore_win32_init().
int ecore_win32_dnd_shutdown | ( | ) |
Shut down the Ecore_Win32 Drag and Drop module.
This function shuts down the Drag and Drop module. It returns 0 when it has been called the same number of times than ecore_win32_dnd_init(). In that case it shut down the module.
Referenced by ecore_win32_shutdown().
Eina_Bool ecore_win32_dnd_begin | ( | const char * | data, |
int | size | ||
) |
Begin a DnD operation.
data | The name pf the Drag operation. |
size | The size of the name. |
EINA_TRUE
on success, EINA_FALSE
otherwise.This function start a Drag operation with the name data
. If data
is NULL
, EINA_FALSE
is returned. if size
is less than 0
, it is set to the length (as strlen()) of data
. On success the function returns EINA_TRUE
, otherwise it returns EINA_FALSE
.
References EINA_FALSE, and EINA_TRUE.
Eina_Bool ecore_win32_dnd_register_drop_target | ( | Ecore_Win32_Window * | window, |
Ecore_Win32_Dnd_DropTarget_Callback | callback | ||
) |
Register a Drop operation.
window | The destination of the Drop operation. |
callback | The callback called when the Drop operation finishes. |
EINA_TRUE
on success, EINA_FALSE
otherwise.This function register a Drop operation on window
. Once the Drop operation finishes, callback
is called. If window
is NULL
, the function returns EINA_FALSE
. On success, it returns EINA_TRUE
, otherwise it returns EINA_FALSE
.
References EINA_FALSE, and EINA_TRUE.
void ecore_win32_dnd_unregister_drop_target | ( | Ecore_Win32_Window * | window | ) |
Unregister a Drop operation.
window | The destination of the Drop operation. |
This function unregister a Drop operation on window
. If window
is NULL
, the function does nothing.
EAPI Eina_Bool ecore_win32_clipboard_set | ( | const Ecore_Win32_Window * | window, |
const void * | data, | ||
size_t | size, | ||
const char * | mime_type | ||
) |
Set data to the clipboard.
[in] | window | The window that owns the clipboard. |
[in] | data | The data to set. |
[in] | size | The size of the data. |
[in] | mime_type | The mime type describing the data in the clipboard. |
This function sets data
of size size
in the clipboard owned by window
. This function returns EINA_TRUE on success, and EINA_FALSE otherwise. If window
or data
are NULL
, or size
is less than or equal to 0, this function returns EINA_FALSE.
References EINA_FALSE, eina_str_has_prefix(), EINA_TRUE, ERR, evil_utf8_to_utf16(), and INF.
EAPI void * ecore_win32_clipboard_get | ( | const Ecore_Win32_Window * | window, |
size_t * | size, | ||
const char * | mime_type | ||
) |
Get data from the clipboard.
[in] | window | The window that owns the clipboard. |
[out] | size | The size of the data. |
[in] | mime_type | The mime type describing the data in the clipboard. |
This function gets data of size size
from the clipboard owned by window
. size
must be a valid buffer.
References eina_str_has_prefix(), ERR, evil_utf16_to_utf8(), and INF.
EAPI void ecore_win32_clipboard_clear | ( | const Ecore_Win32_Window * | window | ) |
Cleat the clipboard.
[in] | window | The window that owns the clipboard. |
This function clears the clipboard owned by window
. This function returns EINA_TRUE on success, and EINA_FALSE otherwise. If window
is NULL
, this function returns EINA_FALSE.
References INF.
EAPI Eina_Iterator * ecore_win32_monitors_get | ( | void | ) |
Return the coordinates, sizes DPI's of the monitors.
This function returns the coordinates, sizes and DPI's of the monitors as an iterator of a list of Ecore_Win32_Monitor.
References eina_list_iterator_new().
|
extern |
Ecore_Event for the Ecore_Win32_Event_Property event.
Referenced by ecore_win32_init(), and ecore_win32_shutdown().
|
extern |
Ecore_Event for the Ecore_Win32_Event_Selection_Clear event.
Referenced by ecore_win32_init(), and ecore_win32_shutdown().
|
extern |
Ecore_Event for the Ecore_Win32_Event_Selection_Notify event.
Referenced by ecore_win32_init(), and ecore_win32_shutdown().