Main Page | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

FishDialog Class Reference

Inheritance diagram for FishDialog:

Inheritance graph
[legend]
Collaboration diagram for FishDialog:

Collaboration graph
[legend]

Detailed Description

Wavy dialog.

Definition at line 11 of file FishDialog.h.

Public Member Functions

 FishDialog (const std::string &lang, const std::string &soundfile, const std::string &subtitle, const std::string &fontname)
 Prepare new wavy dialoge.
virtual void runSubtitle (const StringTool::t_args &args) const
 Subtitles are optional, dialog can have only sound.


Constructor & Destructor Documentation

FishDialog::FishDialog const std::string &  lang,
const std::string &  soundfile,
const std::string &  subtitle,
const std::string &  fontname
 

Prepare new wavy dialoge.

Parameters:
lang lang
soundfile a wav file
subtitle subtitle
fontname name of selected font

Definition at line 21 of file FishDialog.cpp.

00024 : Dialog(lang, soundfile, subtitle), m_fontname(fontname)
00025 {
00026     /* empty */
00027 }


Member Function Documentation

void FishDialog::runSubtitle const StringTool::t_args args  )  const [virtual]
 

Subtitles are optional, dialog can have only sound.

Reimplemented from Dialog.

Definition at line 33 of file FishDialog.cpp.

00034 {
00035     if (!m_fontname.empty()) {
00036         std::string subtitle = getFormatedSubtitle(args);
00037         if (!subtitle.empty()) {
00038             SubTitleAgent::agent()->newSubtitle(subtitle, m_fontname);
00039         }
00040     }
00041 }


The documentation for this class was generated from the following files:
Generated on Wed Jun 1 09:55:08 2005 for Fish Fillets - Next Generation by  doxygen 1.4.2