improve text_editor

improve user experience
This commit is contained in:
Jinhao
2017-03-30 03:08:36 +08:00
parent 5917b1eb36
commit 17153b991f
4 changed files with 271 additions and 434 deletions

View File

@@ -55,7 +55,7 @@ namespace skeletons
bool scroll(bool forwards, bool horz);
bool turn_page(bool forwards, bool horz);
void disp_area(const rectangle& da, const point& skew_horz, const point& skew_vert, const size& extra_px, bool try_update = true);
void disp_area(const rectangle& da, const point& skew_horz_bar, const point& skew_vert_bar, const size& extra_px, bool try_update = true);
void content_size(const size& sz, bool try_update = true);
const size& content_size() const;

File diff suppressed because it is too large Load Diff