Changeset 14273 for trunk/WebCore/rendering/RenderText.h
- Timestamp:
- 05/09/06 21:59:57 (3 years ago)
- Files:
-
- 1 modified
-
trunk/WebCore/rendering/RenderText.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/rendering/RenderText.h
r14013 r14273 79 79 virtual VisiblePosition positionForCoordinates(int x, int y); 80 80 81 unsigned intlength() const { return str->length(); }82 const QChar* text() const { return str->unicode(); }83 unsigned intstringLength() const { return str->length(); } // non virtual implementation of length()81 virtual unsigned length() const { return str->length(); } 82 const UChar* text() const { return str->characters(); } 83 unsigned stringLength() const { return str->length(); } // non virtual implementation of length() 84 84 virtual void position(InlineBox* box, int from, int len, bool reverse, bool override); 85 85 86 virtual unsigned int width(unsigned int from, unsigned int len, const Font *f, int xpos) const;87 virtual unsigned int width(unsigned int from, unsigned intlen, int xpos, bool firstLine = false) const;86 virtual unsigned width(unsigned from, unsigned len, const Font*, int xpos) const; 87 virtual unsigned width(unsigned from, unsigned len, int xpos, bool firstLine = false) const; 88 88 virtual int width() const; 89 89 virtual int height() const; … … 105 105 int& minW, int& maxW, bool& stripFrontSpaces); 106 106 107 bool containsOnlyWhitespace(unsigned int from, unsigned intlen) const;107 bool containsOnlyWhitespace(unsigned from, unsigned len) const; 108 108 109 109 // returns the minimum x position of all runs relative to the parent.