summaryrefslogtreecommitdiff
path: root/src/gui/npcdialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/npcdialog.h')
-rw-r--r--src/gui/npcdialog.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/gui/npcdialog.h b/src/gui/npcdialog.h
index c4a567c06..35015f3ce 100644
--- a/src/gui/npcdialog.h
+++ b/src/gui/npcdialog.h
@@ -33,10 +33,12 @@
#include <string>
#include <vector>
-class TextBox;
+class BrowserBox;
+class ItemLinkHandler;
+class IntTextField;
class ListBox;
+class TextBox;
class TextField;
-class IntTextField;
class Button;
/**
@@ -67,7 +69,7 @@ class NpcDialog : public Window, public gcn::ActionListener,
*
* @param string The new text.
*/
- void setText(const std::string &string);
+// void setText(const std::string &string);
/**
* Adds the text to the text shows in the dialog. Also adds a newline
@@ -190,7 +192,8 @@ class NpcDialog : public Window, public gcn::ActionListener,
// Used for the main input area
gcn::ScrollArea *mScrollArea;
- TextBox *mTextBox;
+ BrowserBox *mTextBox;
+ //TextBox *mTextBox;
std::string mText;
std::string mNewText;
@@ -198,6 +201,7 @@ class NpcDialog : public Window, public gcn::ActionListener,
ListBox *mItemList;
gcn::ScrollArea *mListScrollArea;
std::vector<std::string> mItems;
+ ItemLinkHandler *mItemLinkHandler;
// Used for string and integer input
TextField *mTextField;