summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_code_widget_eo.legacy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/elm_code_widget_eo.legacy.c')
-rw-r--r--src/lib/elementary/elm_code_widget_eo.legacy.c270
1 files changed, 270 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_code_widget_eo.legacy.c b/src/lib/elementary/elm_code_widget_eo.legacy.c
new file mode 100644
index 0000000..cc91160
--- /dev/null
+++ b/src/lib/elementary/elm_code_widget_eo.legacy.c
@@ -0,0 +1,270 @@
1
2EAPI void
3elm_code_widget_code_set(Elm_Code_Widget *obj, Elm_Code *code)
4{
5 efl_ui_code_widget_code_set(obj, code);
6}
7
8EAPI Elm_Code *
9elm_code_widget_code_get(const Elm_Code_Widget *obj)
10{
11 return efl_ui_code_widget_code_get(obj);
12}
13
14EAPI void
15elm_code_widget_font_set(Elm_Code_Widget *obj, const char *name, int size)
16{
17 efl_ui_code_widget_font_set(obj, name, size);
18}
19
20EAPI void
21elm_code_widget_font_get(const Elm_Code_Widget *obj, const char **name, int *size)
22{
23 efl_ui_code_widget_font_get(obj, name, size);
24}
25
26EAPI unsigned int
27elm_code_widget_columns_get(const Elm_Code_Widget *obj)
28{
29 return efl_ui_code_widget_columns_get(obj);
30}
31
32EAPI void
33elm_code_widget_gravity_set(Elm_Code_Widget *obj, double x, double y)
34{
35 efl_ui_code_widget_gravity_set(obj, x, y);
36}
37
38EAPI void
39elm_code_widget_gravity_get(const Elm_Code_Widget *obj, double *x, double *y)
40{
41 efl_ui_code_widget_gravity_get(obj, x, y);
42}
43
44EAPI void
45elm_code_widget_policy_set(Elm_Code_Widget *obj, Elm_Scroller_Policy policy_h, Elm_Scroller_Policy policy_v)
46{
47 efl_ui_code_widget_policy_set(obj, (Elm_Code_Widget_Scroller_Policy)policy_h, (Elm_Code_Widget_Scroller_Policy)policy_v);
48}
49
50EAPI void
51elm_code_widget_policy_get(const Elm_Code_Widget *obj, Elm_Scroller_Policy *policy_h, Elm_Scroller_Policy *policy_v)
52{
53 efl_ui_code_widget_policy_get(obj, (Elm_Code_Widget_Scroller_Policy*)policy_h, (Elm_Code_Widget_Scroller_Policy*)policy_v);
54}
55
56EAPI void
57elm_code_widget_tabstop_set(Elm_Code_Widget *obj, unsigned int tabstop)
58{
59 efl_ui_code_widget_tabstop_set(obj, tabstop);
60}
61
62EAPI unsigned int
63elm_code_widget_tabstop_get(const Elm_Code_Widget *obj)
64{
65 return efl_ui_code_widget_tabstop_get(obj);
66}
67
68EAPI void
69elm_code_widget_editable_set(Elm_Code_Widget *obj, Eina_Bool editable)
70{
71 efl_ui_code_widget_editable_set(obj, editable);
72}
73
74EAPI Eina_Bool
75elm_code_widget_editable_get(const Elm_Code_Widget *obj)
76{
77 return efl_ui_code_widget_editable_get(obj);
78}
79
80EAPI void
81elm_code_widget_line_numbers_set(Elm_Code_Widget *obj, Eina_Bool line_numbers)
82{
83 efl_ui_code_widget_line_numbers_set(obj, line_numbers);
84}
85
86EAPI Eina_Bool
87elm_code_widget_line_numbers_get(const Elm_Code_Widget *obj)
88{
89 return efl_ui_code_widget_line_numbers_get(obj);
90}
91
92EAPI void
93elm_code_widget_line_width_marker_set(Elm_Code_Widget *obj, unsigned int line_width_marker)
94{
95 efl_ui_code_widget_line_width_marker_set(obj, line_width_marker);
96}
97
98EAPI unsigned int
99elm_code_widget_line_width_marker_get(const Elm_Code_Widget *obj)
100{
101 return efl_ui_code_widget_line_width_marker_get(obj);
102}
103
104EAPI void
105elm_code_widget_show_whitespace_set(Elm_Code_Widget *obj, Eina_Bool show_whitespace)
106{
107 efl_ui_code_widget_show_whitespace_set(obj, show_whitespace);
108}
109
110EAPI Eina_Bool
111elm_code_widget_show_whitespace_get(const Elm_Code_Widget *obj)
112{
113 return efl_ui_code_widget_show_whitespace_get(obj);
114}
115
116EAPI void
117elm_code_widget_alpha_set(Elm_Code_Widget *obj, int alpha)
118{
119 efl_ui_code_widget_alpha_set(obj, alpha);
120}
121
122EAPI int
123elm_code_widget_alpha_get(const Elm_Code_Widget *obj)
124{
125 return efl_ui_code_widget_alpha_get(obj);
126}
127
128EAPI void
129elm_code_widget_syntax_enabled_set(Elm_Code_Widget *obj, Eina_Bool syntax_enabled)
130{
131 efl_ui_code_widget_syntax_enabled_set(obj, syntax_enabled);
132}
133
134EAPI Eina_Bool
135elm_code_widget_syntax_enabled_get(const Elm_Code_Widget *obj)
136{
137 return efl_ui_code_widget_syntax_enabled_get(obj);
138}
139
140EAPI void
141elm_code_widget_tab_inserts_spaces_set(Elm_Code_Widget *obj, Eina_Bool tab_inserts_spaces)
142{
143 efl_ui_code_widget_tab_inserts_spaces_set(obj, tab_inserts_spaces);
144}
145
146EAPI Eina_Bool
147elm_code_widget_tab_inserts_spaces_get(const Elm_Code_Widget *obj)
148{
149 return efl_ui_code_widget_tab_inserts_spaces_get(obj);
150}
151
152EAPI void
153elm_code_widget_cursor_position_set(Elm_Code_Widget *obj, unsigned int row, unsigned int col)
154{
155 efl_ui_code_widget_cursor_position_set(obj, row, col);
156}
157
158EAPI void
159elm_code_widget_cursor_position_get(const Elm_Code_Widget *obj, unsigned int *row, unsigned int *col)
160{
161 efl_ui_code_widget_cursor_position_get(obj, row, col);
162}
163
164EAPI void
165elm_code_widget_theme_refresh(Elm_Code_Widget *obj)
166{
167 efl_ui_code_widget_theme_refresh(obj);
168}
169
170EAPI void
171elm_code_widget_line_refresh(Elm_Code_Widget *obj, Elm_Code_Line *line)
172{
173 efl_ui_code_widget_line_refresh(obj, line);
174}
175
176EAPI Eina_Bool
177elm_code_widget_line_visible_get(Elm_Code_Widget *obj, Elm_Code_Line *line)
178{
179 return efl_ui_code_widget_line_visible_get(obj, line);
180}
181
182EAPI unsigned int
183elm_code_widget_lines_visible_get(Elm_Code_Widget *obj)
184{
185 return efl_ui_code_widget_lines_visible_get(obj);
186}
187
188EAPI Eina_Bool
189elm_code_widget_position_at_coordinates_get(Elm_Code_Widget *obj, int x, int y, unsigned int *row, int *col)
190{
191 return efl_ui_code_widget_position_at_coordinates_get(obj, x, y, row, col);
192}
193
194EAPI Eina_Bool
195elm_code_widget_geometry_for_position_get(Elm_Code_Widget *obj, unsigned int row, int col, int *x, int *y, int *w, int *h)
196{
197 return efl_ui_code_widget_geometry_for_position_get(obj, row, col, x, y, w, h);
198}
199
200EAPI int
201elm_code_widget_text_left_gutter_width_get(Elm_Code_Widget *obj)
202{
203 return efl_ui_code_widget_text_left_gutter_width_get(obj);
204}
205
206EAPI char *
207elm_code_widget_text_between_positions_get(Elm_Code_Widget *obj, unsigned int start_line, unsigned int start_col, unsigned int end_line, unsigned int end_col)
208{
209 return efl_ui_code_widget_text_between_positions_get(obj, start_line, start_col, end_line, end_col);
210}
211
212EAPI void
213elm_code_widget_text_at_cursor_insert(Elm_Code_Widget *obj, const char *text)
214{
215 efl_ui_code_widget_text_at_cursor_insert(obj, text);
216}
217
218EAPI unsigned int
219elm_code_widget_line_text_column_width_to_position(Elm_Code_Widget *obj, Elm_Code_Line *line, unsigned int position)
220{
221 return efl_ui_code_widget_line_text_column_width_to_position(obj, line, position);
222}
223
224EAPI unsigned int
225elm_code_widget_line_text_column_width_get(Elm_Code_Widget *obj, Elm_Code_Line *line)
226{
227 return efl_ui_code_widget_line_text_column_width_get(obj, line);
228}
229
230EAPI unsigned int
231elm_code_widget_line_text_position_for_column_get(Elm_Code_Widget *obj, Elm_Code_Line *line, unsigned int column)
232{
233 return efl_ui_code_widget_line_text_position_for_column_get(obj, line, column);
234}
235
236EAPI unsigned int
237elm_code_widget_text_tabwidth_at_column_get(Elm_Code_Widget *obj, unsigned int column)
238{
239 return efl_ui_code_widget_text_tabwidth_at_column_get(obj, column);
240}
241
242EAPI void
243elm_code_widget_line_status_toggle(Elm_Code_Widget *obj, Elm_Code_Line *line)
244{
245 efl_ui_code_widget_line_status_toggle(obj, line);
246}
247
248EAPI void
249elm_code_widget_undo(Elm_Code_Widget *obj)
250{
251 efl_ui_code_widget_undo(obj);
252}
253
254EAPI Eina_Bool
255elm_code_widget_can_undo_get(Elm_Code_Widget *obj)
256{
257 return efl_ui_code_widget_can_undo_get(obj);
258}
259
260EAPI void
261elm_code_widget_redo(Elm_Code_Widget *obj)
262{
263 efl_ui_code_widget_redo(obj);
264}
265
266EAPI Eina_Bool
267elm_code_widget_can_redo_get(Elm_Code_Widget *obj)
268{
269 return efl_ui_code_widget_can_redo_get(obj);
270}