1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 04:57:44 +00:00

LibGUI: Refactor out common code

This is prepping for a future commit.
This commit is contained in:
thislooksfun 2021-10-28 02:04:33 -05:00 committed by Andreas Kling
parent 713b6badb0
commit aea9ba3b42
2 changed files with 23 additions and 11 deletions

View file

@ -279,6 +279,8 @@ private:
Yes
};
void try_show_autocomplete(UserRequestedAutocomplete);
void try_update_autocomplete(Function<void()> callback = {});
void force_update_autocomplete(Function<void()> callback = {});
void hide_autocomplete_if_needed();
int icon_size() const { return 16; }