Looks like Axel did already all the changes I wanted to do.... so I'll just add a comment

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14609 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini
2005-11-01 09:42:10 +00:00
parent 1334ab4721
commit 9a80b5fa01
+4
View File
@@ -994,6 +994,10 @@ BFont::GetHeight(font_height *height) const
if (height) {
// R5's version actually contacts the server in this call. The more and more
// I work with this class, the more and more I can't wait for R2 to fix it. Yeesh.
// TODO: As we have a fHeight member, maybe we could cache the height there ?
// If the size/family/style change, we can ABUSE the fFlags member and set a bit
// there, so that if that bit is high, this method would have to contact the
// server, otherwise it'll use the cached value. Or something like that.
int32 code;
BPrivate::AppServerLink link;