| 646 | } |
| 647 | |
| 648 | text* window::writeText(const char* inputText, int x, int y, float size, int r, int g, int b, int a){ |
| 649 | text* newText = new text(inputText, x, y, size, r, g, b, a); |
| 650 | listOfText.push_back(newText); |
| 651 | return newText; |
| 652 | } |
| 653 | |
| 654 | int window::deleteText(text* toRemove){ |
| 655 | auto it = find(listOfText.begin(), listOfText.end(), toRemove); |
no outgoing calls
no test coverage detected