26 #ifndef ENGINES_KOTOR_GUI_DIALOG_H 27 #define ENGINES_KOTOR_GUI_DIALOG_H 75 void update(
int width,
int height);
87 void notifyResized(
int oldWidth,
int oldHeight,
int newWidth,
int newHeight);
105 #endif // ENGINES_KOTOR_GUI_DIALOG_H
void playDefaultAnimations(const Common::UString &tag)
void callbackKeyInput(const Events::Key &key, const Events::EventType &type)
Callback that's triggered when a key is pressed or released.
virtual void playTalkAnimations(const Common::UString &tag)=0
Common::UString _curSpeaker
A class holding an UTF-8 string.
void notifyResized(int oldWidth, int oldHeight, int newWidth, int newHeight)
void pickReply(int index)
Common::ScopedPtr< Sound::ChannelHandle > _voice
void eraseDeveloperNotes(Common::UString &str)
Some dialog entries in KotOR 2 contain developer notes in curly braces.
A simple scoped smart pointer template.
void playTalkAnimations(const Common::UString &tag)
DialogGUI(Module &module)
virtual void playDefaultAnimations(const Common::UString &tag)=0
void makeLookAtPC(const Common::UString &tag)
void callbackActive(Widget &widget)
Callback that's triggered when a widget was activated.
Common::ScopedPtr< Sound::ChannelHandle > _sound
void startConversation(const Common::UString &name, Aurora::NWScript::Object *owner=0)
virtual void makeLookAtPC(const Common::UString &tag)=0
void update(int width, int height)
Updates the gui when a resize occurs or it is created.
bool isConversationActive() const
EventType
Custom event types.
Frame for conversations/cutscenes in Star Wars: Knights of the Old Republic.
Common::ScopedPtr< Graphics::Aurora::KotORDialogFrame > _frame
Common::ScopedPtr< Aurora::DLGFile > _dlg
std::vector< uint32 > _replyIds