X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Fui%2Fedit_field.h;h=a1e5a992d7d0617087625e0c3070e54f5824eee5;hb=ff2b2171c5df76e980480ac8195942c828278684;hp=a51a3eda3c26fad6085ece979211eb6724027634;hpb=611509e7ccc8dda6b5c173eb8155d34536ea8263;p=nothing.git diff --git a/src/ui/edit_field.h b/src/ui/edit_field.h index a51a3eda..a1e5a992 100644 --- a/src/ui/edit_field.h +++ b/src/ui/edit_field.h @@ -13,9 +13,13 @@ Edit_field *create_edit_field(Vec font_size, Color font_color); void destroy_edit_field(Edit_field *edit_field); -int edit_field_render(const Edit_field *edit_field, - Camera *camera, - Point screen_position); +int edit_field_render_screen(const Edit_field *edit_field, + Camera *camera, + Point screen_position); + +int edit_field_render_world(const Edit_field *edit_field, + Camera *camera, + Point world_position); int edit_field_event(Edit_field *edit_field, const SDL_Event *event); @@ -23,5 +27,8 @@ const char *edit_field_as_text(const Edit_field *edit_field); void edit_field_replace(Edit_field *edit_field, const char *text); void edit_field_clean(Edit_field *edit_field); +void edit_field_restyle(Edit_field *edit_field, + Vec font_size, + Color font_color); #endif // EDIT_FIELD_H_