Refactor text box contents to not use a separate length-tracker

This removes the variable numlines from each text box object, in favor
of using line.size().
This commit is contained in:
Misa
2020-04-03 17:41:01 -07:00
committed by Ethan Lee
parent 2ec1080b3d
commit 09c9a6b862
3 changed files with 14 additions and 27 deletions

View File

@@ -36,7 +36,7 @@ public:
public:
//Fundamentals
std::vector<std::string> line;
int xp, yp, lw, w, h, numlines;
int xp, yp, lw, w, h;
int x,y;
int r,g,b;
int tr,tg,tb;