More TODOs.

This commit is contained in:
Pietro Gagliardi 2016-11-11 01:21:28 -05:00
parent 6b33c62b84
commit 287d59b5c5
2 changed files with 4 additions and 0 deletions

View File

@ -1,3 +1,5 @@
- make sure the last line of text layouts include leading
- documentation notes:
- static binaries do not link system libraries, meaning apps still depend on shared GTK+, etc.
- ui*Buttons are NOT compatible with uiButton functions

View File

@ -445,6 +445,8 @@ uiDrawTextLayout *uiDrawNewTextLayout(const char *str, uiDrawTextFont *defaultFo
layout = uiNew(uiDrawTextLayout);
// TODO docs say we need to use a different set of key callbacks
// TODO see if the font attribute key callbacks need to be the same
attr = newAttrList();
// this will retain defaultFont->f; no need to worry
CFDictionaryAddValue(attr, kCTFontAttributeName, defaultFont->f);