forked from enlightenment/efl
Ecore: rename ecore_win32_focus_set() to ecore_win32_focus() and add ecore_wince_focus()
SVN revision: 69513
This commit is contained in:
parent
2e3ed73101
commit
99f995ad5f
|
@ -579,3 +579,9 @@
|
||||||
|
|
||||||
* Fix ecore_x_randr_modes_info_get to not cut off the trailing '\0'
|
* Fix ecore_x_randr_modes_info_get to not cut off the trailing '\0'
|
||||||
anymore
|
anymore
|
||||||
|
|
||||||
|
2012-03-20 Vincent Torri
|
||||||
|
|
||||||
|
* Change ecore_win32_window_focus_set() to ecore_win32_window_focus()
|
||||||
|
to match ecore_x API.
|
||||||
|
* Add ecore_wince_window_focus_set()
|
||||||
|
|
|
@ -37,6 +37,10 @@ Additions:
|
||||||
- ecore_imf_context_input_panel_return_key_disabled_get()
|
- ecore_imf_context_input_panel_return_key_disabled_get()
|
||||||
- ecore_imf_context_input_panel_caps_lock_mode_set()
|
- ecore_imf_context_input_panel_caps_lock_mode_set()
|
||||||
- ecore_imf_context_input_panel_caps_lock_mode_get()
|
- ecore_imf_context_input_panel_caps_lock_mode_get()
|
||||||
|
* ecore_win32:
|
||||||
|
- ecore_win32_focus()
|
||||||
|
* ecore_wince:
|
||||||
|
- ecore_wince_focus()
|
||||||
|
|
||||||
Fixes:
|
Fixes:
|
||||||
* ecore_thread:
|
* ecore_thread:
|
||||||
|
@ -62,6 +66,10 @@ Deprecations:
|
||||||
* ecore_x:
|
* ecore_x:
|
||||||
- ecore_x_randr_crtc_current_get()
|
- ecore_x_randr_crtc_current_get()
|
||||||
|
|
||||||
|
Removal:
|
||||||
|
* ecore_win32:
|
||||||
|
- ecore_win32_focus_set()
|
||||||
|
|
||||||
Ecore 1.1.0
|
Ecore 1.1.0
|
||||||
|
|
||||||
Changes since Ecore 1.0.0:
|
Changes since Ecore 1.0.0:
|
||||||
|
|
|
@ -460,7 +460,7 @@ EAPI void ecore_win32_window_lower(Ecore_Win32_Window *window);
|
||||||
EAPI void ecore_win32_window_title_set(Ecore_Win32_Window *window,
|
EAPI void ecore_win32_window_title_set(Ecore_Win32_Window *window,
|
||||||
const char *title);
|
const char *title);
|
||||||
|
|
||||||
EAPI void ecore_win32_window_focus_set(Ecore_Win32_Window *window);
|
EAPI void ecore_win32_window_focus(Ecore_Win32_Window *window);
|
||||||
|
|
||||||
EAPI void ecore_win32_window_iconified_set(Ecore_Win32_Window *window,
|
EAPI void ecore_win32_window_iconified_set(Ecore_Win32_Window *window,
|
||||||
Eina_Bool on);
|
Eina_Bool on);
|
||||||
|
|
|
@ -877,7 +877,7 @@ ecore_win32_window_title_set(Ecore_Win32_Window *window,
|
||||||
* @c NULL, this function does nothing.
|
* @c NULL, this function does nothing.
|
||||||
*/
|
*/
|
||||||
EAPI void
|
EAPI void
|
||||||
ecore_win32_window_focus_set(Ecore_Win32_Window *window)
|
ecore_win32_window_focus(Ecore_Win32_Window *window)
|
||||||
{
|
{
|
||||||
if (!window) return;
|
if (!window) return;
|
||||||
|
|
||||||
|
|
|
@ -280,6 +280,8 @@ EAPI void ecore_wince_window_hide(Ecore_WinCE_Window *window);
|
||||||
EAPI void ecore_wince_window_title_set(Ecore_WinCE_Window *window,
|
EAPI void ecore_wince_window_title_set(Ecore_WinCE_Window *window,
|
||||||
const char *title);
|
const char *title);
|
||||||
|
|
||||||
|
EAPI void ecore_wince_window_focus(Ecore_WinCE_Window *window);
|
||||||
|
|
||||||
EAPI void ecore_wince_window_backend_set(Ecore_WinCE_Window *window, int backend);
|
EAPI void ecore_wince_window_backend_set(Ecore_WinCE_Window *window, int backend);
|
||||||
|
|
||||||
EAPI void ecore_wince_window_suspend_cb_set(Ecore_WinCE_Window *window, int (*suspend_cb)(int));
|
EAPI void ecore_wince_window_suspend_cb_set(Ecore_WinCE_Window *window, int (*suspend_cb)(int));
|
||||||
|
|
|
@ -446,6 +446,27 @@ ecore_wince_window_title_set(Ecore_WinCE_Window *window,
|
||||||
free(wtitle);
|
free(wtitle);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Set the focus to the given window.
|
||||||
|
*
|
||||||
|
* @param window The window to give focus to.
|
||||||
|
*
|
||||||
|
* This function gives the focus to @p window. If @p window is
|
||||||
|
* @c NULL, this function does nothing.
|
||||||
|
*/
|
||||||
|
EAPI void
|
||||||
|
ecore_wince_window_focus(Ecore_WinCE_Window *window)
|
||||||
|
{
|
||||||
|
if (!window) return;
|
||||||
|
|
||||||
|
INF("focusing window");
|
||||||
|
|
||||||
|
if (!SetFocus(window->window))
|
||||||
|
{
|
||||||
|
ERR("SetFocus() failed");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Set the graphic backend used for the given window.
|
* @brief Set the graphic backend used for the given window.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue