popup: refine the input panel

This commit is contained in:
2026-08-14 20:54:09 +09:00
parent 3576c4ea68
commit f222b4d573
7 changed files with 399 additions and 76 deletions

3
fn.h
View File

@@ -30,6 +30,8 @@ void dictlookup(Dictreq*, Dictres*);
void drawthread(void*);
void popupposition(Caret*, int, int, int, int, int, int, int*, int*);
int pagemarker(char*, int, int, int, int);
void popuplayout(Drawcmd*, int, Popup*);
void popupdraw(u32int*, Drawcmd*, Popup*);
void imthread(void*);
Emit transmap(Im*, Rune);
Emit transko(Im*, Rune);
@@ -50,3 +52,4 @@ int textinit(void);
int textwidth(Str*);
void textdraw(u32int*, int, int, int, int, Str*);
void textdrawfit(u32int*, int, int, int, int, int, Str*);
void textdrawfitcolor(u32int*, int, int, int, int, int, u32int, Str*);