mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-03 20:19:40 +00:00
List -> ListBox
This commit is contained in:
parent
560e702973
commit
d1508f5a59
12 changed files with 16 additions and 16 deletions
|
@ -100,7 +100,7 @@ void BirthDialog::onBackClicked(MyGUI::Widget* _sender)
|
||||||
eventBack();
|
eventBack();
|
||||||
}
|
}
|
||||||
|
|
||||||
void BirthDialog::onSelectBirth(MyGUI::List* _sender, size_t _index)
|
void BirthDialog::onSelectBirth(MyGUI::ListBox* _sender, size_t _index)
|
||||||
{
|
{
|
||||||
if (_index == MyGUI::ITEM_NONE)
|
if (_index == MyGUI::ITEM_NONE)
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -40,7 +40,7 @@ namespace MWGui
|
||||||
EventHandle_Void eventBack;
|
EventHandle_Void eventBack;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void onSelectBirth(MyGUI::List* _sender, size_t _index);
|
void onSelectBirth(MyGUI::ListBox* _sender, size_t _index);
|
||||||
|
|
||||||
void onOkClicked(MyGUI::Widget* _sender);
|
void onOkClicked(MyGUI::Widget* _sender);
|
||||||
void onBackClicked(MyGUI::Widget* _sender);
|
void onBackClicked(MyGUI::Widget* _sender);
|
||||||
|
@ -49,7 +49,7 @@ namespace MWGui
|
||||||
void updateBirths();
|
void updateBirths();
|
||||||
void updateSpells();
|
void updateSpells();
|
||||||
|
|
||||||
MyGUI::ListPtr birthList;
|
MyGUI::ListBox* birthList;
|
||||||
MyGUI::WidgetPtr spellArea;
|
MyGUI::WidgetPtr spellArea;
|
||||||
MyGUI::ImageBox* birthImage;
|
MyGUI::ImageBox* birthImage;
|
||||||
std::vector<MyGUI::WidgetPtr> spellItems;
|
std::vector<MyGUI::WidgetPtr> spellItems;
|
||||||
|
|
|
@ -177,7 +177,7 @@ void PickClassDialog::onBackClicked(MyGUI::Widget* _sender)
|
||||||
eventBack();
|
eventBack();
|
||||||
}
|
}
|
||||||
|
|
||||||
void PickClassDialog::onSelectClass(MyGUI::List* _sender, size_t _index)
|
void PickClassDialog::onSelectClass(MyGUI::ListBox* _sender, size_t _index)
|
||||||
{
|
{
|
||||||
if (_index == MyGUI::ITEM_NONE)
|
if (_index == MyGUI::ITEM_NONE)
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -116,7 +116,7 @@ namespace MWGui
|
||||||
EventHandle_Void eventBack;
|
EventHandle_Void eventBack;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void onSelectClass(MyGUI::List* _sender, size_t _index);
|
void onSelectClass(MyGUI::ListBox* _sender, size_t _index);
|
||||||
|
|
||||||
void onOkClicked(MyGUI::Widget* _sender);
|
void onOkClicked(MyGUI::Widget* _sender);
|
||||||
void onBackClicked(MyGUI::Widget* _sender);
|
void onBackClicked(MyGUI::Widget* _sender);
|
||||||
|
@ -126,7 +126,7 @@ namespace MWGui
|
||||||
void updateStats();
|
void updateStats();
|
||||||
|
|
||||||
MyGUI::ImageBox* classImage;
|
MyGUI::ImageBox* classImage;
|
||||||
MyGUI::ListPtr classList;
|
MyGUI::ListBox* classList;
|
||||||
MyGUI::TextBox* specializationName;
|
MyGUI::TextBox* specializationName;
|
||||||
Widgets::MWAttributePtr favoriteAttribute[2];
|
Widgets::MWAttributePtr favoriteAttribute[2];
|
||||||
Widgets::MWSkillPtr majorSkill[5];
|
Widgets::MWSkillPtr majorSkill[5];
|
||||||
|
|
|
@ -106,7 +106,7 @@ void DialogueWindow::onByeClicked(MyGUI::Widget* _sender)
|
||||||
mEnvironment.mDialogueManager->goodbyeSelected();
|
mEnvironment.mDialogueManager->goodbyeSelected();
|
||||||
}
|
}
|
||||||
|
|
||||||
void DialogueWindow::onSelectTopic(MyGUI::List* _sender, size_t _index)
|
void DialogueWindow::onSelectTopic(MyGUI::ListBox* _sender, size_t _index)
|
||||||
{
|
{
|
||||||
if (_index == MyGUI::ITEM_NONE)
|
if (_index == MyGUI::ITEM_NONE)
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -49,7 +49,7 @@ namespace MWGui
|
||||||
void askQuestion(std::string question);
|
void askQuestion(std::string question);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void onSelectTopic(MyGUI::List* _sender, size_t _index);
|
void onSelectTopic(MyGUI::ListBox* _sender, size_t _index);
|
||||||
void onByeClicked(MyGUI::Widget* _sender);
|
void onByeClicked(MyGUI::Widget* _sender);
|
||||||
void onHistoryClicked(MyGUI::Widget* _sender);
|
void onHistoryClicked(MyGUI::Widget* _sender);
|
||||||
|
|
||||||
|
@ -61,7 +61,7 @@ namespace MWGui
|
||||||
std::string parseText(std::string text);
|
std::string parseText(std::string text);
|
||||||
|
|
||||||
DialogueHistory* history;
|
DialogueHistory* history;
|
||||||
MyGUI::ListPtr topicsList;
|
MyGUI::ListBox* topicsList;
|
||||||
MyGUI::ProgressPtr pDispositionBar;
|
MyGUI::ProgressPtr pDispositionBar;
|
||||||
MyGUI::EditPtr pDispositionText;
|
MyGUI::EditPtr pDispositionText;
|
||||||
std::map<std::string,std::string> pTopicsText;// this map links keyword and "real" text.
|
std::map<std::string,std::string> pTopicsText;// this map links keyword and "real" text.
|
||||||
|
|
|
@ -192,7 +192,7 @@ void RaceDialog::onSelectNextHair(MyGUI::Widget*)
|
||||||
hairIndex = wrap(hairIndex - 1, hairCount);
|
hairIndex = wrap(hairIndex - 1, hairCount);
|
||||||
}
|
}
|
||||||
|
|
||||||
void RaceDialog::onSelectRace(MyGUI::List* _sender, size_t _index)
|
void RaceDialog::onSelectRace(MyGUI::ListBox* _sender, size_t _index)
|
||||||
{
|
{
|
||||||
if (_index == MyGUI::ITEM_NONE)
|
if (_index == MyGUI::ITEM_NONE)
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -65,7 +65,7 @@ namespace MWGui
|
||||||
void onSelectPreviousHair(MyGUI::Widget* _sender);
|
void onSelectPreviousHair(MyGUI::Widget* _sender);
|
||||||
void onSelectNextHair(MyGUI::Widget* _sender);
|
void onSelectNextHair(MyGUI::Widget* _sender);
|
||||||
|
|
||||||
void onSelectRace(MyGUI::List* _sender, size_t _index);
|
void onSelectRace(MyGUI::ListBox* _sender, size_t _index);
|
||||||
|
|
||||||
void onOkClicked(MyGUI::Widget* _sender);
|
void onOkClicked(MyGUI::Widget* _sender);
|
||||||
void onBackClicked(MyGUI::Widget* _sender);
|
void onBackClicked(MyGUI::Widget* _sender);
|
||||||
|
@ -76,7 +76,7 @@ namespace MWGui
|
||||||
void updateSpellPowers();
|
void updateSpellPowers();
|
||||||
|
|
||||||
MyGUI::CanvasPtr appearanceBox;
|
MyGUI::CanvasPtr appearanceBox;
|
||||||
MyGUI::ListPtr raceList;
|
MyGUI::ListBox* raceList;
|
||||||
MyGUI::ScrollBar* headRotate;
|
MyGUI::ScrollBar* headRotate;
|
||||||
|
|
||||||
MyGUI::WidgetPtr skillList;
|
MyGUI::WidgetPtr skillList;
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<MyGUI type="Layout">
|
<MyGUI type="Layout">
|
||||||
<Widget type="Window" skin="MW_Dialog" layer="Windows" position="0 0 485 375" name="_Main">
|
<Widget type="Window" skin="MW_Dialog" layer="Windows" position="0 0 485 375" name="_Main">
|
||||||
<!-- Birthsign list -->
|
<!-- Birthsign list -->
|
||||||
<Widget type="List" skin="MW_List" position="8 13 196 137" name="BirthsignList" />
|
<Widget type="ListBox" skin="MW_List" position="8 13 196 137" name="BirthsignList" />
|
||||||
|
|
||||||
<!-- Birthsign image -->
|
<!-- Birthsign image -->
|
||||||
<Widget type="Widget" skin="MW_Box" position="206 13 263 137" align="ALIGN_LEFT ALIGN_TOP">
|
<Widget type="Widget" skin="MW_Box" position="206 13 263 137" align="ALIGN_LEFT ALIGN_TOP">
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<MyGUI type="Layout">
|
<MyGUI type="Layout">
|
||||||
<Widget type="Window" skin="MW_Dialog" layer="Windows" position="0 0 491 302" name="_Main">
|
<Widget type="Window" skin="MW_Dialog" layer="Windows" position="0 0 491 302" name="_Main">
|
||||||
<!-- Class list -->
|
<!-- Class list -->
|
||||||
<Widget type="List" skin="MW_List" position="14 13 181 131" name="ClassList" />
|
<Widget type="ListBox" skin="MW_List" position="14 13 181 131" name="ClassList" />
|
||||||
|
|
||||||
<!-- Class image -->
|
<!-- Class image -->
|
||||||
<Widget type="Widget" skin="MW_Box" position="212 9 265 138" align="ALIGN_LEFT ALIGN_TOP">
|
<Widget type="Widget" skin="MW_Box" position="212 9 265 138" align="ALIGN_LEFT ALIGN_TOP">
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
<Property key="Caption" value="Race"/>
|
<Property key="Caption" value="Race"/>
|
||||||
<Property key="Widget_AlignText" value="ALIGN_LEFT ALIGN_TOP"/>
|
<Property key="Widget_AlignText" value="ALIGN_LEFT ALIGN_TOP"/>
|
||||||
</Widget>
|
</Widget>
|
||||||
<Widget type="List" skin="MW_List" position="264 39 132 161" name="RaceList">
|
<Widget type="ListBox" skin="MW_List" position="264 39 132 161" name="RaceList">
|
||||||
</Widget>
|
</Widget>
|
||||||
|
|
||||||
<!-- Spell powers -->
|
<!-- Spell powers -->
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
<Widget type="EditBox" skin="MW_DispositionEdit" position_real = "0.25 0 0.5 1" name = "DispositionText"/>
|
<Widget type="EditBox" skin="MW_DispositionEdit" position_real = "0.25 0 0.5 1" name = "DispositionText"/>
|
||||||
</Widget>
|
</Widget>
|
||||||
<!-- The list of topics -->
|
<!-- The list of topics -->
|
||||||
<Widget type="List" skin="MW_List" position="432 62 132 318" name="TopicsList">
|
<Widget type="ListBox" skin="MW_List" position="432 62 132 318" name="TopicsList">
|
||||||
</Widget>
|
</Widget>
|
||||||
|
|
||||||
<!-- The Goodbye button -->
|
<!-- The Goodbye button -->
|
||||||
|
|
Loading…
Reference in a new issue