forked from enlightenment/efl
Revert "elm_conform.c: Added "virtualkeypad,size,changed" smart callback."
This reverts commit cbd7446f0bf413ad821ac40703d2a2ca728758ef. Conflicts: ChangeLog NEWS Please be more considerable to add this feature. The function itself is not logical and we don't think it's proper for the conformant yet.
This commit is contained in:
parent
5a94164c38
commit
5cef1e1ea0
|
@ -1728,10 +1728,6 @@
|
||||||
|
|
||||||
* image: Add support for "clicked" callback on Return/space/KP_Enter key press.
|
* image: Add support for "clicked" callback on Return/space/KP_Enter key press.
|
||||||
|
|
||||||
2013-10-30 Daniel Juyung Seo (SeoZ)
|
|
||||||
|
|
||||||
* conform: Added "virtualkeypad,size,changed" callback on virtualkeypad min size change.
|
|
||||||
|
|
||||||
2013-10-30 Shilpa Onkar Singh
|
2013-10-30 Shilpa Onkar Singh
|
||||||
|
|
||||||
* slider: Added elm_slider_step_get(), elm_slider_step_set().
|
* slider: Added elm_slider_step_get(), elm_slider_step_set().
|
||||||
|
|
|
@ -99,7 +99,6 @@ Additions:
|
||||||
* Add elm_fileselector_hidden_visible_set/get() to show or hide hidden files/directories.
|
* Add elm_fileselector_hidden_visible_set/get() to show or hide hidden files/directories.
|
||||||
* Add signals "spinner,drag,start" and "spinner,drag,stop" to the spinner widget.
|
* Add signals "spinner,drag,start" and "spinner,drag,stop" to the spinner widget.
|
||||||
* Add support for "clicked" callback on Return/space/KP_Enter key press for image.
|
* Add support for "clicked" callback on Return/space/KP_Enter key press for image.
|
||||||
* Add "virtualkeypad,size,changed" callback on virtualkeypad min size change for conformant.
|
|
||||||
* Add elm_slider_step_get(), elm_slider_step_set() for slider.
|
* Add elm_slider_step_get(), elm_slider_step_set() for slider.
|
||||||
* Add support elm_popup_move() for popup.
|
* Add support elm_popup_move() for popup.
|
||||||
* Add multi select mode for genlist/gengrid.
|
* Add multi select mode for genlist/gengrid.
|
||||||
|
|
|
@ -36,14 +36,12 @@ static const char SOFTKEY_PART[] = "elm.swallow.softkey";
|
||||||
|
|
||||||
static const char SIG_VIRTUALKEYPAD_STATE_ON[] = "virtualkeypad,state,on";
|
static const char SIG_VIRTUALKEYPAD_STATE_ON[] = "virtualkeypad,state,on";
|
||||||
static const char SIG_VIRTUALKEYPAD_STATE_OFF[] = "virtualkeypad,state,off";
|
static const char SIG_VIRTUALKEYPAD_STATE_OFF[] = "virtualkeypad,state,off";
|
||||||
static const char SIG_VIRTUALKEYPAD_SIZE_CHANGED[] = "virtualkeypad,size,changed";
|
|
||||||
static const char SIG_CLIPBOARD_STATE_ON[] = "clipboard,state,on";
|
static const char SIG_CLIPBOARD_STATE_ON[] = "clipboard,state,on";
|
||||||
static const char SIG_CLIPBOARD_STATE_OFF[] = "clipboard,state,off";
|
static const char SIG_CLIPBOARD_STATE_OFF[] = "clipboard,state,off";
|
||||||
|
|
||||||
static const Evas_Smart_Cb_Description _smart_callbacks[] = {
|
static const Evas_Smart_Cb_Description _smart_callbacks[] = {
|
||||||
{SIG_VIRTUALKEYPAD_STATE_ON, ""},
|
{SIG_VIRTUALKEYPAD_STATE_ON, ""},
|
||||||
{SIG_VIRTUALKEYPAD_STATE_OFF, ""},
|
{SIG_VIRTUALKEYPAD_STATE_OFF, ""},
|
||||||
{SIG_VIRTUALKEYPAD_SIZE_CHANGED, ""},
|
|
||||||
{SIG_CLIPBOARD_STATE_ON, ""},
|
{SIG_CLIPBOARD_STATE_ON, ""},
|
||||||
{SIG_CLIPBOARD_STATE_OFF, ""},
|
{SIG_CLIPBOARD_STATE_OFF, ""},
|
||||||
{NULL, NULL}
|
{NULL, NULL}
|
||||||
|
@ -168,8 +166,6 @@ _conformant_part_sizing_eval(Evas_Object *obj,
|
||||||
|
|
||||||
if (part_type & ELM_CONFORMANT_VIRTUAL_KEYPAD_PART)
|
if (part_type & ELM_CONFORMANT_VIRTUAL_KEYPAD_PART)
|
||||||
{
|
{
|
||||||
Evas_Coord_Rectangle rect;
|
|
||||||
|
|
||||||
#ifdef HAVE_ELEMENTARY_X
|
#ifdef HAVE_ELEMENTARY_X
|
||||||
if ((!_conformant_part_geometry_get_from_env
|
if ((!_conformant_part_geometry_get_from_env
|
||||||
("ILLUME_KBD", &sx, &sy, &sw, &sh)) && (xwin))
|
("ILLUME_KBD", &sx, &sy, &sw, &sh)) && (xwin))
|
||||||
|
@ -193,9 +189,6 @@ _conformant_part_sizing_eval(Evas_Object *obj,
|
||||||
DBG("[KEYPAD]: size(%d,%d, %dx%d).", sx, sy, sw, sh);
|
DBG("[KEYPAD]: size(%d,%d, %dx%d).", sx, sy, sw, sh);
|
||||||
_conformant_part_size_hints_set
|
_conformant_part_size_hints_set
|
||||||
(obj, sd->virtualkeypad, sx, sy, sw, sh);
|
(obj, sd->virtualkeypad, sx, sy, sw, sh);
|
||||||
|
|
||||||
rect.x = sx; rect.y = sy; rect.w = sw; rect.h = sh;
|
|
||||||
evas_object_smart_callback_call(obj, SIG_VIRTUALKEYPAD_SIZE_CHANGED, (void *)&rect);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (part_type & ELM_CONFORMANT_SOFTKEY_PART)
|
if (part_type & ELM_CONFORMANT_SOFTKEY_PART)
|
||||||
|
|
|
@ -28,9 +28,6 @@
|
||||||
* (@since 1.8)
|
* (@since 1.8)
|
||||||
* @li "virtualkeypad,state,off": if virtualkeypad state is switched to "off".
|
* @li "virtualkeypad,state,off": if virtualkeypad state is switched to "off".
|
||||||
* (@since 1.8)
|
* (@since 1.8)
|
||||||
* @li "virtualkeypad,size,changed": this is called when virtualkeypad size is
|
|
||||||
* changed. @c event_info parameter is the virtualkeypad size in
|
|
||||||
* Evas_Coord_Rectangle structure. (@since 1.8)
|
|
||||||
* @li "clipboard,state,on": if clipboard state is switched to "on".
|
* @li "clipboard,state,on": if clipboard state is switched to "on".
|
||||||
* (@since 1.8)
|
* (@since 1.8)
|
||||||
* @li "clipboard,state,off": if clipboard state is switched to "off".
|
* @li "clipboard,state,off": if clipboard state is switched to "off".
|
||||||
|
|
Loading…
Reference in New Issue