mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-30 01:48:15 +03:00
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:
@@ -43,6 +43,8 @@ public:
|
||||
|
||||
int max;
|
||||
|
||||
/* Whether to flip text box y-position in Flip Mode. */
|
||||
bool flipme;
|
||||
};
|
||||
|
||||
#endif /* TEXTBOX_H */
|
||||
|
||||
Reference in New Issue
Block a user