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:
@@ -994,6 +994,10 @@ BFont::GetHeight(font_height *height) const
|
|||||||
if (height) {
|
if (height) {
|
||||||
// R5's version actually contacts the server in this call. The more and more
|
// 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.
|
// 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;
|
int32 code;
|
||||||
BPrivate::AppServerLink link;
|
BPrivate::AppServerLink link;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user