| 205 | } |
| 206 | |
| 207 | void TextEntry::GetDimensions(float& width, float& height) |
| 208 | { |
| 209 | if (mFlexibleWidth) |
| 210 | width = MAX(30.0f, gFontFixedWidth.GetStringWidth(mString, 12) + 4); |
| 211 | else |
| 212 | width = mCharWidth * 9; |
| 213 | |
| 214 | if (mDrawLabel) |
| 215 | width += mLabelSize; |
| 216 | |
| 217 | height = 15; |
| 218 | } |
| 219 | |
| 220 | void TextEntry::OnClicked(float x, float y, bool right) |
| 221 | { |
nothing calls this directly
no test coverage detected