More work.

This commit is contained in:
Pietro Gagliardi 2015-09-14 20:41:49 -04:00
parent 882dec1ad4
commit 0db611abd8
2 changed files with 3 additions and 1 deletions

View File

@ -3,7 +3,7 @@
#include "area.h"
#include <math.h>
// #qo LIBS: user32 kernel32 gdi32 msimg32
// #qo LIBS: user32 kernel32 usp10 gdi32 msimg32
struct handler {
uiAreaHandler ah;

View File

@ -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;