71 lines
3.0 KiB
C
71 lines
3.0 KiB
C
EOAPI const Eo_Event_Description _ELM_CODE_WIDGET_EVENT_LINE_CLICKED =
|
|
EO_EVENT_DESCRIPTION("line,clicked", "");
|
|
|
|
void _elm_code_widget_code_set(Eo *obj, Elm_Code_Widget_Data *pd, Elm_Code *code);
|
|
|
|
EOAPI EO_VOID_FUNC_BODYV(elm_code_widget_code_set, EO_FUNC_CALL(code), Elm_Code *code);
|
|
|
|
Elm_Code * _elm_code_widget_code_get(Eo *obj, Elm_Code_Widget_Data *pd);
|
|
|
|
EOAPI EO_FUNC_BODY(elm_code_widget_code_get, Elm_Code *, 0);
|
|
|
|
void _elm_code_widget_font_size_set(Eo *obj, Elm_Code_Widget_Data *pd, Evas_Font_Size font_size);
|
|
|
|
EOAPI EO_VOID_FUNC_BODYV(elm_code_widget_font_size_set, EO_FUNC_CALL(font_size), Evas_Font_Size font_size);
|
|
|
|
Evas_Font_Size _elm_code_widget_font_size_get(Eo *obj, Elm_Code_Widget_Data *pd);
|
|
|
|
EOAPI EO_FUNC_BODY(elm_code_widget_font_size_get, Evas_Font_Size, 0);
|
|
|
|
void _elm_code_widget_editable_set(Eo *obj, Elm_Code_Widget_Data *pd, Eina_Bool editable);
|
|
|
|
EOAPI EO_VOID_FUNC_BODYV(elm_code_widget_editable_set, EO_FUNC_CALL(editable), Eina_Bool editable);
|
|
|
|
Eina_Bool _elm_code_widget_editable_get(Eo *obj, Elm_Code_Widget_Data *pd);
|
|
|
|
EOAPI EO_FUNC_BODY(elm_code_widget_editable_get, Eina_Bool, 0);
|
|
|
|
void _elm_code_widget_eo_base_constructor(Eo *obj, Elm_Code_Widget_Data *pd);
|
|
|
|
|
|
void _elm_code_widget_evas_object_smart_add(Eo *obj, Elm_Code_Widget_Data *pd);
|
|
|
|
|
|
Eina_Bool _elm_code_widget_elm_widget_on_focus(Eo *obj, Elm_Code_Widget_Data *pd);
|
|
|
|
|
|
void _elm_code_widget_elm_interface_scrollable_content_pos_set(Eo *obj, Elm_Code_Widget_Data *pd, Evas_Coord x, Evas_Coord y, Eina_Bool sig);
|
|
|
|
|
|
static Eo_Op_Description _elm_code_widget_op_desc[] = {
|
|
EO_OP_FUNC_OVERRIDE(eo_constructor, _elm_code_widget_eo_base_constructor),
|
|
EO_OP_FUNC_OVERRIDE(evas_obj_smart_add, _elm_code_widget_evas_object_smart_add),
|
|
EO_OP_FUNC_OVERRIDE(elm_obj_widget_on_focus, _elm_code_widget_elm_widget_on_focus),
|
|
EO_OP_FUNC_OVERRIDE(elm_interface_scrollable_content_pos_set, _elm_code_widget_elm_interface_scrollable_content_pos_set),
|
|
EO_OP_FUNC(elm_code_widget_code_set, _elm_code_widget_code_set, ""),
|
|
EO_OP_FUNC(elm_code_widget_code_get, _elm_code_widget_code_get, ""),
|
|
EO_OP_FUNC(elm_code_widget_font_size_set, _elm_code_widget_font_size_set, ""),
|
|
EO_OP_FUNC(elm_code_widget_font_size_get, _elm_code_widget_font_size_get, ""),
|
|
EO_OP_FUNC(elm_code_widget_editable_set, _elm_code_widget_editable_set, ""),
|
|
EO_OP_FUNC(elm_code_widget_editable_get, _elm_code_widget_editable_get, ""),
|
|
EO_OP_SENTINEL
|
|
};
|
|
|
|
static const Eo_Event_Description *_elm_code_widget_event_desc[] = {
|
|
ELM_CODE_WIDGET_EVENT_LINE_CLICKED,
|
|
NULL
|
|
};
|
|
|
|
static const Eo_Class_Description _elm_code_widget_class_desc = {
|
|
EO_VERSION,
|
|
"Elm_Code_Widget",
|
|
EO_CLASS_TYPE_REGULAR,
|
|
EO_CLASS_DESCRIPTION_OPS(_elm_code_widget_op_desc),
|
|
_elm_code_widget_event_desc,
|
|
sizeof(Elm_Code_Widget_Data),
|
|
_elm_code_widget_class_constructor,
|
|
NULL
|
|
};
|
|
|
|
EO_DEFINE_CLASS(elm_code_widget_class_get, &_elm_code_widget_class_desc, ELM_BOX_CLASS, ELM_INTERFACE_SCROLLABLE_MIXIN, ELM_INTERFACE_ATSPI_TEXT_INTERFACE, NULL);
|