Followed Marcus' suggestion and made fHeight mutable - not nice, but cleaner
than casting away the const. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14614 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -262,7 +262,7 @@ friend void _font_control_(BFont*, int32, void*);
|
||||
uint8 fEncoding;
|
||||
uint16 fFace;
|
||||
uint32 fFlags;
|
||||
font_height fHeight;
|
||||
mutable font_height fHeight;
|
||||
uint32 _reserved[3];
|
||||
|
||||
void SetPacket(void *packet) const;
|
||||
@@ -355,4 +355,4 @@ bool unicode_block::operator!=(const unicode_block &block) const {
|
||||
return ((fData[0] != block.fData[0]) || (fData[1] != block.fData[1]));
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif /* _FONT_H_ */
|
||||
|
||||
Reference in New Issue
Block a user