Changeset 9569 for OpenSceneGraph/trunk/src/osgWidget/Input.cpp
- Timestamp:
- 01/28/09 12:59:06 (4 years ago)
- Files:
-
- 1 modified
-
OpenSceneGraph/trunk/src/osgWidget/Input.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgWidget/Input.cpp
r9450 r9569 176 176 osgText::Font* font = const_cast<osgText::Font*>(_text->getFont()); 177 177 osgText::Font::Glyph* glyph = font->getGlyph(fr, *i); 178 unsigned int d = abs( glyph->getHorizontalBearing().y());178 unsigned int d = abs((int)glyph->getHorizontalBearing().y()); 179 179 180 180 if(d > descent) descent = d;
