31 #ifndef __IFocusCache__ 32 #define __IFocusCache__ 35 #include "IPMUnknown.h" 38 #include "TextAttrID.h" 53 PMFontData() : fNumAxes(0), fIncorrectFace(0), fFamilyUID(kInvalidUID), fAxes(nil)
66 {
if (fName != other.fName || fNumAxes != other.fNumAxes)
69 return (std::memcmp(fAxes, other.fAxes, fNumAxes *
sizeof(Fixed)) == 0);
77 bool16 fIncorrectFace;
90 enum { kDefaultIID = IID_IFOCUSCACHE };
166 virtual const Fixed*
GetNthMMAxes(int32 nthFont, int32 *numaxes)
const = 0;
184 virtual void Inserted(TextIndex where, int32 howmuch) = 0;
188 virtual void Deleted(TextIndex where, int32 howmuch) = 0;
195 virtual void FocusWasMoved(
const ITextModel * model, TextIndex start, TextIndex end, bool16 excludeCacheEnd = kTrue) = 0;