This commit is contained in:
Paul 2001-07-10 19:30:44 +00:00
parent 35ed0fed9a
commit 9053dea42b

View file

@ -113,14 +113,14 @@ void CSaveScene::init()
tb->init(m_wantToSaveFrame); tb->init(m_wantToSaveFrame);
tb->setObjectXYWH(0,0,WANT_TO_SAVE__FRAME_W,40); tb->setObjectXYWH(0,0,WANT_TO_SAVE__FRAME_W,40);
tb->setText(STR__SAVE__DO_YOU_WANT_TO_SAVE); tb->setText(STR__SAVE__DO_YOU_WANT_TO_SAVE);
CGUIFactory::createValueButtonFrame(m_wantToSaveFrame,
0,50,WANT_TO_SAVE__FRAME_W,20,
STR__YES,
&m_userResponse,USERRESPONSE__YES);
CGUIFactory::createValueButtonFrame(m_wantToSaveFrame, CGUIFactory::createValueButtonFrame(m_wantToSaveFrame,
0,70,WANT_TO_SAVE__FRAME_W,20, 0,70,WANT_TO_SAVE__FRAME_W,20,
STR__NO, STR__NO,
&m_userResponse,USERRESPONSE__NO); &m_userResponse,USERRESPONSE__NO);
CGUIFactory::createValueButtonFrame(m_wantToSaveFrame,
0,50,WANT_TO_SAVE__FRAME_W,20,
STR__YES,
&m_userResponse,USERRESPONSE__YES);
m_blankFrame=new ("saveframe") CGUIGroupFrame(); m_blankFrame=new ("saveframe") CGUIGroupFrame();
m_blankFrame->init(NULL); m_blankFrame->init(NULL);
@ -150,14 +150,14 @@ void CSaveScene::init()
m_yesNoResponseTextBox->init(m_yesNoResponseFrame); m_yesNoResponseTextBox->init(m_yesNoResponseFrame);
m_yesNoResponseTextBox->setObjectXYWH(0,0,NORMAL__FRAME_W,80); m_yesNoResponseTextBox->setObjectXYWH(0,0,NORMAL__FRAME_W,80);
m_yesNoResponseTextBox->setText(STR__BLANK); m_yesNoResponseTextBox->setText(STR__BLANK);
CGUIFactory::createValueButtonFrame(m_yesNoResponseFrame,
0,NORMAL__FRAME_H-50,WANT_TO_SAVE__FRAME_W,20,
STR__YES,
&m_userResponse,USERRESPONSE__YES);
CGUIFactory::createValueButtonFrame(m_yesNoResponseFrame, CGUIFactory::createValueButtonFrame(m_yesNoResponseFrame,
0,NORMAL__FRAME_H-30,WANT_TO_SAVE__FRAME_W,20, 0,NORMAL__FRAME_H-30,WANT_TO_SAVE__FRAME_W,20,
STR__NO, STR__NO,
&m_userResponse,USERRESPONSE__NO); &m_userResponse,USERRESPONSE__NO);
CGUIFactory::createValueButtonFrame(m_yesNoResponseFrame,
0,NORMAL__FRAME_H-50,WANT_TO_SAVE__FRAME_W,20,
STR__YES,
&m_userResponse,USERRESPONSE__YES);
CFader::setFadingIn(); CFader::setFadingIn();