#ifndef TEXTBOX_H #define TEXTBOX_H #include #include #include class textboxclass { public: textboxclass(void); void centerx(void); void centery(void); void adjust(void); void initcol(int rr, int gg, int bb); void setcol(int rr, int gg, int bb); void update(void); void remove(void); void removefast(void); void resize(void); void addline(std::string t); public: //Fundamentals std::vector line; int xp, yp, lw, w, h; int r,g,b; int tr,tg,tb; int timer; float tl; float prev_tl; int tm; int max; /* Whether to flip text box y-position in Flip Mode. */ bool flipme; }; #endif /* TEXTBOX_H */