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 authored and Ethan Lee committed 2021-03-21 02:53:25 -04:00
1 parent 30719b87db
commit 334302c800
2 files changed
-3

No files matched your search

-2
View File
@@ -4,8 +4,6 @@
textboxclass::textboxclass(void)
{
x = 0;
y = 0;
w = 0;
h = 0;
lw = 0;
-1
View File
@@ -33,7 +33,6 @@ public:
//Fundamentals
std::vector<std::string> line;
int xp, yp, lw, w, h;
int x,y;
int r,g,b;
int tr,tg,tb;
SDL_Rect textrect;