forked from enlightenment/efl
widget: Remove highlight_in_theme from EO
Removes EO APIs: - highlight_in_theme - access_highlight_in_theme Ref T5363
This commit is contained in:
parent
fcae72b0e3
commit
8a20251795
|
@ -1856,9 +1856,13 @@ _elm_widget_highlight_ignore_get(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *sd)
|
||||||
return sd->highlight_ignore;
|
return sd->highlight_ignore;
|
||||||
}
|
}
|
||||||
|
|
||||||
EOLIAN static void
|
/** @internal */
|
||||||
_elm_widget_highlight_in_theme_set(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *sd, Eina_Bool highlight)
|
EAPI void
|
||||||
|
elm_widget_highlight_in_theme_set(Eo *obj, Eina_Bool highlight)
|
||||||
{
|
{
|
||||||
|
Elm_Widget_Smart_Data *sd = efl_data_scope_safe_get(obj, MY_CLASS);
|
||||||
|
if (!sd) return;
|
||||||
|
|
||||||
sd->highlight_in_theme = !!highlight;
|
sd->highlight_in_theme = !!highlight;
|
||||||
/* FIXME: if focused, it should switch from one mode to the other */
|
/* FIXME: if focused, it should switch from one mode to the other */
|
||||||
}
|
}
|
||||||
|
@ -1875,21 +1879,33 @@ _elm_widget_highlight_in_theme_update(Eo *obj)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
EOLIAN static Eina_Bool
|
/** @internal */
|
||||||
_elm_widget_highlight_in_theme_get(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *sd)
|
EAPI Eina_Bool
|
||||||
|
elm_widget_highlight_in_theme_get(const Eo *obj)
|
||||||
{
|
{
|
||||||
|
Elm_Widget_Smart_Data *sd = efl_data_scope_safe_get(obj, MY_CLASS);
|
||||||
|
if (!sd) return EINA_FALSE;
|
||||||
|
|
||||||
return sd->highlight_in_theme;
|
return sd->highlight_in_theme;
|
||||||
}
|
}
|
||||||
|
|
||||||
EOLIAN static void
|
/** @internal */
|
||||||
_elm_widget_access_highlight_in_theme_set(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *sd, Eina_Bool highlight)
|
EAPI void
|
||||||
|
elm_widget_access_highlight_in_theme_set(Eo *obj, Eina_Bool highlight)
|
||||||
{
|
{
|
||||||
|
Elm_Widget_Smart_Data *sd = efl_data_scope_safe_get(obj, MY_CLASS);
|
||||||
|
if (!sd) return;
|
||||||
|
|
||||||
sd->access_highlight_in_theme = !!highlight;
|
sd->access_highlight_in_theme = !!highlight;
|
||||||
}
|
}
|
||||||
|
|
||||||
EOLIAN static Eina_Bool
|
/** @internal */
|
||||||
_elm_widget_access_highlight_in_theme_get(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *sd)
|
EAPI Eina_Bool
|
||||||
|
elm_widget_access_highlight_in_theme_get(const Eo *obj)
|
||||||
{
|
{
|
||||||
|
Elm_Widget_Smart_Data *sd = efl_data_scope_safe_get(obj, MY_CLASS);
|
||||||
|
if (!sd) return EINA_FALSE;
|
||||||
|
|
||||||
return sd->access_highlight_in_theme;
|
return sd->access_highlight_in_theme;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -273,12 +273,6 @@ abstract Elm.Widget (Efl.Canvas.Group, Elm.Interface.Atspi_Accessible,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@property highlight_in_theme {
|
|
||||||
[[Highlight in theme property]]
|
|
||||||
values {
|
|
||||||
highlight: bool; [[$true if widget gets hightlight, $false otherwise]]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@property access_info {
|
@property access_info {
|
||||||
[[Accessibility information]]
|
[[Accessibility information]]
|
||||||
values {
|
values {
|
||||||
|
@ -291,12 +285,6 @@ abstract Elm.Widget (Efl.Canvas.Group, Elm.Interface.Atspi_Accessible,
|
||||||
lock: bool; [[$true if drag is locked on X axis, $false otherwise]]
|
lock: bool; [[$true if drag is locked on X axis, $false otherwise]]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@property access_highlight_in_theme {
|
|
||||||
[[Accessibility highlight in theme]]
|
|
||||||
values {
|
|
||||||
highlight: bool; [[$true if highlighted, $false otherwise]]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@property focus_region_show_mode {
|
@property focus_region_show_mode {
|
||||||
[[Control the focus_region_show mode.]]
|
[[Control the focus_region_show mode.]]
|
||||||
values {
|
values {
|
||||||
|
|
Loading…
Reference in New Issue