Update pixel width of the text. */
| 296 | |
| 297 | /** Update pixel width of the text. */ |
| 298 | void Textbuf::UpdateWidth() |
| 299 | { |
| 300 | this->pixels = GetStringBoundingBox(this->buf, FS_NORMAL).width; |
| 301 | } |
| 302 | |
| 303 | /** Update pixel position of the caret. */ |
| 304 | void Textbuf::UpdateCaretPosition() |
no test coverage detected