forked from enlightenment/efl
elm_image: Remove EAPI sizing_eval
This is an internal API, should not be exposed as EAPI. Doing this before the 1.18.x announcement. @fix
This commit is contained in:
parent
f8684635e4
commit
c6bb29c4e4
|
@ -38,7 +38,6 @@ static const Evas_Smart_Cb_Description _smart_callbacks[] = {
|
||||||
|
|
||||||
static Eina_Bool _key_action_activate(Evas_Object *obj, const char *params);
|
static Eina_Bool _key_action_activate(Evas_Object *obj, const char *params);
|
||||||
static Eina_Bool _efl_ui_image_smart_internal_file_set(Eo *obj, Efl_Ui_Image_Data *sd, const char *file, const Eina_File *f, const char *key);
|
static Eina_Bool _efl_ui_image_smart_internal_file_set(Eo *obj, Efl_Ui_Image_Data *sd, const char *file, const Eina_File *f, const char *key);
|
||||||
static void _efl_ui_image_sizing_eval(Eo *obj);
|
|
||||||
|
|
||||||
static const Elm_Action key_actions[] = {
|
static const Elm_Action key_actions[] = {
|
||||||
{"activate", _key_action_activate},
|
{"activate", _key_action_activate},
|
||||||
|
@ -777,8 +776,8 @@ _efl_ui_image_internal_scale_set(Evas_Object *obj, Efl_Ui_Image_Data *sd, double
|
||||||
_efl_ui_image_internal_sizing_eval(obj, sd);
|
_efl_ui_image_internal_sizing_eval(obj, sd);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
void
|
||||||
_efl_ui_image_sizing_eval(Eo *obj)
|
_efl_ui_image_sizing_eval(Evas_Object *obj)
|
||||||
{
|
{
|
||||||
Evas_Coord minw = -1, minh = -1, maxw = -1, maxh = -1;
|
Evas_Coord minw = -1, minh = -1, maxw = -1, maxh = -1;
|
||||||
int w = 0, h = 0;
|
int w = 0, h = 0;
|
||||||
|
@ -1967,13 +1966,6 @@ elm_image_scale_up_get(const Evas_Object *obj)
|
||||||
return sd->scale_up;
|
return sd->scale_up;
|
||||||
}
|
}
|
||||||
|
|
||||||
EAPI void
|
|
||||||
elm_image_sizing_eval(Evas_Object *obj)
|
|
||||||
{
|
|
||||||
EFL_UI_IMAGE_CHECK(obj);
|
|
||||||
_efl_ui_image_sizing_eval(obj);
|
|
||||||
}
|
|
||||||
|
|
||||||
EAPI void
|
EAPI void
|
||||||
elm_image_no_scale_set(Evas_Object *obj, Eina_Bool no_scale)
|
elm_image_no_scale_set(Evas_Object *obj, Eina_Bool no_scale)
|
||||||
{
|
{
|
||||||
|
|
|
@ -441,7 +441,7 @@ _internal_elm_icon_standard_set(Evas_Object *obj,
|
||||||
if (ret)
|
if (ret)
|
||||||
{
|
{
|
||||||
eina_stringshare_replace(&sd->stdicon, name);
|
eina_stringshare_replace(&sd->stdicon, name);
|
||||||
elm_image_sizing_eval(obj);
|
_elm_image_sizing_eval(obj);
|
||||||
return EINA_TRUE;
|
return EINA_TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -522,14 +522,6 @@ EAPI void elm_image_resize_up_set(Evas_Object *obj, Eina_Bool resize_up);
|
||||||
*/
|
*/
|
||||||
EAPI Eina_Bool elm_image_resize_up_get(const Evas_Object *obj);
|
EAPI Eina_Bool elm_image_resize_up_get(const Evas_Object *obj);
|
||||||
|
|
||||||
/** Re-evaluate the object's final geometry.
|
|
||||||
*
|
|
||||||
* @since 1.7
|
|
||||||
*
|
|
||||||
* @ingroup Elm_Image
|
|
||||||
*/
|
|
||||||
EAPI void elm_image_sizing_eval(Evas_Object *obj);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Control if the object is (up/down) resizable.
|
* @brief Control if the object is (up/down) resizable.
|
||||||
*
|
*
|
||||||
|
|
|
@ -544,6 +544,7 @@ void *_elm_icon_signal_callback_del(Evas_Object *obj,
|
||||||
const char *emission,
|
const char *emission,
|
||||||
const char *source,
|
const char *source,
|
||||||
Edje_Signal_Cb func_cb);
|
Edje_Signal_Cb func_cb);
|
||||||
|
void _elm_image_sizing_eval(Evas_Object *obj);
|
||||||
/* end of DEPRECATED */
|
/* end of DEPRECATED */
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue