Remove unused x/y textboxclass attributes

These unused variables distract from properly analyzing the code when
you read it, since the xp/yp attributes of textboxclass already exist,
too.
This commit is contained in:
Misa
2021-03-19 19:45:28 -07:00
committed by Ethan Lee
parent 30719b87db
commit 334302c800
2 changed files with 0 additions and 3 deletions

View File

@@ -4,8 +4,6 @@
textboxclass::textboxclass(void) textboxclass::textboxclass(void)
{ {
x = 0;
y = 0;
w = 0; w = 0;
h = 0; h = 0;
lw = 0; lw = 0;

View File

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