34 #ifndef POEMREADERNODE_H
35 #define POEMREADERNODE_H
44 #include <QtCore/QTimer>
45 #include <QtCore/QTime>
48 #if (OGRE_PLATFORM == OGRE_PLATFORM_WIN32)
52 namespace PoemReaderNode {
53 using namespace Frapper;
85 void createPoemsData();
97 void renderWords(QGraphicsScene *scene, QString word, qreal size,
int &posx,
int &posy,
int &gWordHeight);
102 bool wordAccepted(QString word);
107 QString removeWildCards(QString word);
112 void replyFromCharacter(QString word);
127 void reloadXmlFile();
132 bool findWord(QString str);
133 bool obtainWord(QString word);
134 void createWordsTable(QString word);
135 void setPoemSelected(QString name);
145 void reduceWordsCloud();
147 void notifySelection();
149 void updatePoemSelected();
151 void triggerPoemLines();
153 void updateFadingOutTimer();
155 void updateFadingInTimer();
160 void readGrammar(QString grammar);
164 void emitGrammar(QString grammar);