diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-08-03 22:11:36 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-08-04 23:57:02 +0300 |
commit | 10c8e7da87de2219fad19fd899e97257164e4830 (patch) | |
tree | 57ec3359cdd8cbb24b88e4f13a05d210326151ab /src/gui/npcdialog.cpp | |
parent | 0647852f65598ef9cb9ebff6dfb508e8b1a98c1c (diff) | |
download | manaverse-10c8e7da87de2219fad19fd899e97257164e4830.tar.gz manaverse-10c8e7da87de2219fad19fd899e97257164e4830.tar.bz2 manaverse-10c8e7da87de2219fad19fd899e97257164e4830.tar.xz manaverse-10c8e7da87de2219fad19fd899e97257164e4830.zip |
Extend background theming.
Diffstat (limited to 'src/gui/npcdialog.cpp')
-rw-r--r-- | src/gui/npcdialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/npcdialog.cpp b/src/gui/npcdialog.cpp index 240b53890..3c6262d03 100644 --- a/src/gui/npcdialog.cpp +++ b/src/gui/npcdialog.cpp @@ -101,7 +101,7 @@ NpcDialog::NpcDialog(int npcId) : mTextBox->setFont(gui->getNpcFont()); mScrollArea = new ScrollArea(mTextBox, - getOptionBool("showtextbackground")); + getOptionBool("showtextbackground"), "npc_textbackground.xml"); mScrollArea->setHorizontalScrollPolicy(gcn::ScrollArea::SHOW_NEVER); mScrollArea->setVerticalScrollPolicy(gcn::ScrollArea::SHOW_ALWAYS); @@ -120,7 +120,7 @@ NpcDialog::NpcDialog(int npcId) : setContentSize(260, 175); mListScrollArea = new ScrollArea(mItemList, - getOptionBool("showlistbackground")); + getOptionBool("showlistbackground"), "npc_listbackground.xml"); mListScrollArea->setHorizontalScrollPolicy(gcn::ScrollArea::SHOW_NEVER); mItemList->setVisible(true); |