TextScroller Class Reference

#include <txtscroll.h>

Collaboration diagram for TextScroller:

Collaboration graph
[legend]
List of all members.

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

Fontfont
Shapeshapes
std::vector< std::string > * text

Detailed Description

Definition at line 30 of file txtscroll.h.


Constructor & Destructor Documentation

TextScroller::TextScroller ( const char *  archive,
int  index,
Font fnt,
Shape shp 
)

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 (  ) 

Definition at line 79 of file txtscroll.cc.

References text.


Member Function Documentation

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 (  ) 

Definition at line 241 of file txtscroll.cc.

References text.

Referenced by BG_Game::end_game().


Member Data Documentation

Font* TextScroller::font [private]

Definition at line 32 of file txtscroll.h.

Referenced by show_line(), and TextScroller().

Shape* TextScroller::shapes [private]

Definition at line 33 of file txtscroll.h.

Referenced by show_line(), and TextScroller().

std::vector<std::string>* TextScroller::text [private]

Definition at line 34 of file txtscroll.h.

Referenced by get_count(), run(), TextScroller(), and ~TextScroller().


The documentation for this class was generated from the following files:
Generated on Mon Jul 9 15:04:23 2007 for ExultEngine by  doxygen 1.5.1