More work.
This commit is contained in:
parent
882dec1ad4
commit
0db611abd8
|
@ -3,7 +3,7 @@
|
||||||
#include "area.h"
|
#include "area.h"
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
// #qo LIBS: user32 kernel32 gdi32 msimg32
|
// #qo LIBS: user32 kernel32 usp10 gdi32 msimg32
|
||||||
|
|
||||||
struct handler {
|
struct handler {
|
||||||
uiAreaHandler ah;
|
uiAreaHandler ah;
|
||||||
|
|
|
@ -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 uiDrawTextBlock(uiDrawContext *, const char *, uiDrawFont *, intmax_t, intmax_t, uiDrawTextBlockParams *);
|
||||||
void uiDrawTextExtents(uiDrawContext *, const char *, uiDrawFont *, intmax_t *, intmax_t *);
|
void uiDrawTextExtents(uiDrawContext *, const char *, uiDrawFont *, intmax_t *, intmax_t *);
|
||||||
intmax_t uiDrawTextExtentsBlockHeight(uiDrawContext *, const char *, uiDrawFont *, uiDrawTextBlockParams *);
|
intmax_t uiDrawTextExtentsBlockHeight(uiDrawContext *, const char *, uiDrawFont *, uiDrawTextBlockParams *);
|
||||||
|
// TODO width for number of lines
|
||||||
//TODOvoid uiDrawContextFontMetrics(uiDrawContext *, uiDrawFont *, uiDrawFontMetrics *);
|
//TODOvoid uiDrawContextFontMetrics(uiDrawContext *, uiDrawFont *, uiDrawFontMetrics *);
|
||||||
|
|
||||||
// TODO draw text, single line, control font
|
// TODO draw text, single line, control font
|
||||||
// TODO draw text, wrapped to width, control font
|
// TODO draw text, wrapped to width, control font
|
||||||
// TODO get text extents, single line, control font
|
// TODO get text extents, single line, control font
|
||||||
// TODO get text height for width, control font
|
// TODO get text height for width, control font
|
||||||
|
// TODO width for number of lines, control font
|
||||||
// TODO get font metrics, control font
|
// TODO get font metrics, control font
|
||||||
|
|
||||||
typedef enum uiModifiers uiModifiers;
|
typedef enum uiModifiers uiModifiers;
|
||||||
|
|
Loading…
Reference in New Issue