diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-09 12:43:50 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-09 12:43:50 +0300 |
commit | d189d362ba4b1b7c7963e925638eb5f12baba882 (patch) | |
tree | 140f7e1092a532bc89abace4d7fb659510055b29 /src/gui/windows/npcdialog.cpp | |
parent | e153ea49f7442a82651e4e35f2be59c459ad32cb (diff) | |
download | manaplus-d189d362ba4b1b7c7963e925638eb5f12baba882.tar.gz manaplus-d189d362ba4b1b7c7963e925638eb5f12baba882.tar.bz2 manaplus-d189d362ba4b1b7c7963e925638eb5f12baba882.tar.xz manaplus-d189d362ba4b1b7c7963e925638eb5f12baba882.zip |
allow set different skin for browserboxes.
Diffstat (limited to 'src/gui/windows/npcdialog.cpp')
-rw-r--r-- | src/gui/windows/npcdialog.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/windows/npcdialog.cpp b/src/gui/windows/npcdialog.cpp index f4cecbb88..4f3d851c2 100644 --- a/src/gui/windows/npcdialog.cpp +++ b/src/gui/windows/npcdialog.cpp @@ -84,7 +84,8 @@ NpcDialog::NpcDialog(const int npcId) : mNpcId(npcId), mDefaultInt(0), mDefaultString(), - mTextBox(new BrowserBox(this, BrowserBox::AUTO_WRAP, true)), + mTextBox(new BrowserBox(this, BrowserBox::AUTO_WRAP, true, + "browserbox.xml")), mScrollArea(new ScrollArea(mTextBox, getOptionBool("showtextbackground"), "npc_textbackground.xml")), mText(), |