#include <txtscroll.h>
Collaboration diagram for TextScroller:
Public Member Functions | |
TextScroller (const char *archive, int index, Font *fnt, Shape *shp) | |
~TextScroller () | |
bool | run (Game_window *gwin) |
int | show_line (Game_window *gwin, int left, int right, int y, int index) |
int | get_count () |
Private Attributes | |
Font * | font |
Shape * | shapes |
std::vector< std::string > * | text |
Definition at line 30 of file txtscroll.h.
Definition at line 49 of file txtscroll.cc.
References font, len, U7object::retrieve(), shapes, and text.
Here is the call graph for this function:
TextScroller::~TextScroller | ( | ) |
bool TextScroller::run | ( | Game_window * | gwin | ) |
Definition at line 169 of file txtscroll.cc.
References Palette::apply(), c_fade_out_time, Game_window::clear_screen(), Palette::fade_out(), Game_window::get_height(), Game_window::get_pal(), Game_window::get_width(), gwin, Game_window::show(), show_line(), and text.
Here is the call graph for this function:
int TextScroller::show_line | ( | Game_window * | gwin, | |
int | left, | |||
int | right, | |||
int | y, | |||
int | index | |||
) |
Definition at line 84 of file txtscroll.cc.
References Font::draw_text(), font, Ucscript::frame, Shape::get_frame(), Image_window8::get_ib8(), Shape_manager::get_instance(), Font::get_text_height(), Font::get_text_width(), Game_window::get_win(), gwin, Shape_manager::paint_shape(), and shapes.
Referenced by BG_Game::end_game(), and run().
Here is the call graph for this function:
int TextScroller::get_count | ( | ) |
Font* TextScroller::font [private] |
Shape* TextScroller::shapes [private] |
std::vector<std::string>* TextScroller::text [private] |
Definition at line 34 of file txtscroll.h.
Referenced by get_count(), run(), TextScroller(), and ~TextScroller().