diff --git a/winarea/main.c b/winarea/main.c index f22d3d79..548fa3bc 100644 --- a/winarea/main.c +++ b/winarea/main.c @@ -3,7 +3,7 @@ #include "area.h" #include -// #qo LIBS: user32 kernel32 gdi32 msimg32 +// #qo LIBS: user32 kernel32 usp10 gdi32 msimg32 struct handler { uiAreaHandler ah; diff --git a/winarea/ui.h b/winarea/ui.h index edede726..1850f474 100644 --- a/winarea/ui.h +++ b/winarea/ui.h @@ -152,12 +152,14 @@ void uiDrawText(uiDrawContext *, const char *, uiDrawFont *, intmax_t, intmax_t) void uiDrawTextBlock(uiDrawContext *, const char *, uiDrawFont *, intmax_t, intmax_t, uiDrawTextBlockParams *); void uiDrawTextExtents(uiDrawContext *, const char *, uiDrawFont *, intmax_t *, intmax_t *); intmax_t uiDrawTextExtentsBlockHeight(uiDrawContext *, const char *, uiDrawFont *, uiDrawTextBlockParams *); +// TODO width for number of lines //TODOvoid uiDrawContextFontMetrics(uiDrawContext *, uiDrawFont *, uiDrawFontMetrics *); // TODO draw text, single line, control font // TODO draw text, wrapped to width, control font // TODO get text extents, single line, control font // TODO get text height for width, control font +// TODO width for number of lines, control font // TODO get font metrics, control font typedef enum uiModifiers uiModifiers;