| 481 | } |
| 482 | |
| 483 | text* window::writeText(const char* inputText, int x, int y, float size, int r, int g, int b, int a){ |
| 484 | text* newText = new text(inputText, x, y, size, r, g, b, a); |
| 485 | listOfText.push_back(newText); |
| 486 | return newText; |
| 487 | } |
| 488 | |
| 489 | int window::deleteText(text* toRemove){ |
| 490 | auto it = find(listOfText.begin(), listOfText.end(), toRemove); |
nothing calls this directly
no outgoing calls
no test coverage detected