pcedit fix title of edit spells dialogs
This commit is contained in:
@@ -70,7 +70,7 @@
|
||||
<led name='spell62' state='off' top='272' left='268'/>
|
||||
<button name='done' type='done' top='310' left='422'/>
|
||||
<button name='left' type='left' def-key='left' top='310' left='12'/>
|
||||
<button name='right' type='right' def-key='right' top='309' left='79'/>
|
||||
<text name='who' size='large' top='15' left='53' width='83' height='16'>Spells For:</text>
|
||||
<text framed='true' top='15' left='146' width='186' height='16'/>
|
||||
<button name='right' type='right' def-key='right' top='310' left='79'/>
|
||||
<text name='title' size='large' top='15' left='53' width='83' height='16'>{{type}} Spells For:</text>
|
||||
<text name='who' framed='true' top='15' left='166' width='186' height='16'/>
|
||||
</dialog>
|
||||
|
@@ -62,6 +62,7 @@ static void put_pc_spells(cDialog& me, short store_trait_mode) {
|
||||
else cur.setState(led_off);
|
||||
}
|
||||
|
||||
me["title"].replaceText("{{type}}", store_trait_mode == 0 ? "Mage" : "Priest");
|
||||
me["who"].setText(univ.party[which_pc_displayed].name.c_str());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user