#ifndef _EFL_UI_WIDGET_EO_LEGACY_H_
#define _EFL_UI_WIDGET_EO_LEGACY_H_

#ifndef _EFL_UI_WIDGET_EO_CLASS_TYPE
#define _EFL_UI_WIDGET_EO_CLASS_TYPE

typedef Eo Efl_Ui_Widget;

#endif

#ifndef _EFL_UI_WIDGET_EO_TYPES
#define _EFL_UI_WIDGET_EO_TYPES

#ifdef EFL_BETA_API_SUPPORT
/** Function pointer for on show region hook
 *
 * @ingroup Efl_Ui
 */
typedef void (*Efl_Ui_Scrollable_On_Show_Region)(void *data, Efl_Canvas_Object *obj, Eina_Rect region);
#endif /* EFL_BETA_API_SUPPORT */

/** All relevant fields needed for the current state of focus registration
 *
 * @since 1.22
 *
 * @ingroup Efl_Ui
 */
typedef struct _Efl_Ui_Widget_Focus_State
{
  Efl_Ui_Focus_Manager *manager; /**< The manager where the widget is registered
                                  * in */
  Efl_Ui_Focus_Object *parent; /**< The parent the widget is using as logical
                                * parent */
  Eina_Bool logical; /**< @c true if this is registered as logical currently */
} Efl_Ui_Widget_Focus_State;


#endif

#endif
