Add flipme attribute to textboxclass

Instead of calculating the y-position of the text box when it's created,
we will store a flag that says whether or not the text box should be
flipped in Flip Mode (and thus stay right-side-up), and when it comes
time to draw the text box, we will check Flip Mode and calculate the
position then.
This commit is contained in:
Misa authored and Ethan Lee committed 2021-03-21 02:53:25 -04:00
1 parent 2ac13815e4
commit 1a9f2d9342
3 files changed
+22 -11

No files matched your search

+2
View File
@@ -21,6 +21,8 @@ textboxclass::textboxclass(void)
tg = 0;
tb = 0;
max = 0;
flipme = false;
}
void textboxclass::centerx(void)