35 #include "../api_gui.h"
36 #include "../gui_component.h"
38 class CL_TextEdit_Impl;
71 bool is_read_only()
const;
76 bool is_lowercase()
const;
81 bool is_uppercase()
const;
86 int get_max_length()
const;
96 int get_line_count()
const;
111 int get_selection_start()
const;
116 int get_selection_length()
const;
121 int get_cursor_pos()
const;
126 int get_cursor_line_number()
const;
134 int get_total_height();
141 void set_select_all_on_focus_gain(
bool enable);
149 void set_read_only(
bool enable =
true);
154 void set_lowercase(
bool enable =
true);
159 void set_uppercase(
bool enable =
true);
164 void set_max_length(
int length);
180 void set_selection(
int pos,
int length);
183 void clear_selection();
188 void set_cursor_pos(
int pos);
191 void delete_selected_text();
197 void set_cursor_drawing_enabled(
bool enable);
229 CL_SharedPtr<CL_TextEdit_Impl> impl;