| 956 | } |
| 957 | |
| 958 | void TextBox::set_font_data(const std::shared_ptr<FontData>& fD) { |
| 959 | if(fontData != fD) { |
| 960 | fontData = fD; |
| 961 | needsRebuild = true; |
| 962 | } |
| 963 | } |
| 964 | |
| 965 | void TextBox::rebuild() { |
| 966 | if(needsRebuild) { |
no outgoing calls
no test coverage detected