| 146 | } |
| 147 | |
| 148 | void EditText::checkVertexSize() |
| 149 | { |
| 150 | // reallocate if we need more vertices (extra vertices for selection * 2 and cursor) |
| 151 | size_t need = (mUtf32Caption.size() * (mShadow ? 3 : 2) + 2) * VertexQuad::VertexCount; |
| 152 | if (mCountVertex < need) |
| 153 | { |
| 154 | mCountVertex = need + SIMPLETEXT_COUNT_VERTEX; |
| 155 | if (nullptr != mRenderItem) |
| 156 | mRenderItem->reallockDrawItem(this, mCountVertex); |
| 157 | } |
| 158 | } |
| 159 | |
| 160 | unsigned int EditText::getMixedNativeAlpha(float secondAlpha) const |
| 161 | { |
nothing calls this directly
no test coverage detected