Lines Matching refs:scene
43 scene::Label* CreateInputBox(u32 id, u16 x, const wchar_t* pText) in CreateInputBox()
46 scene::Label* pLabel = new scene::Label(id, x, 8, BOX_SIZE, 36, pText); in CreateInputBox()
50 pLabel->SetTextAlign(scene::TEXT_ALIGN_CENTER); in CreateInputBox()
51 pLabel->SetBorderColor(scene::CONTROL_STATE_DEFAULT, borderColor); in CreateInputBox()
57 scene::Label* CreateHyphen(u16 x) in CreateHyphen()
60 … scene::Label* pLabel = new scene::Label(scene::CONTROL_ID_UNUSED, x, 12, HYPHEN_SIZE, 30, L"-"); in CreateHyphen()
62 pLabel->SetTextAlign(scene::TEXT_ALIGN_CENTER); in CreateHyphen()
69 namespace scene namespace
107 scene::AddYesNoButtons(&m_controlManager, CONTROL_ID_OK, CONTROL_ID_CANCEL, L"OK", L"Cancel"); in Initialize()
109 m_controlManager.Add(new scene::Button(CONTROL_ID_BACK, 258, 58, 60, 30, backIcon)); in Initialize()
110 m_controlManager.Add(new scene::Button(CONTROL_ID_CLEAR, 2, 58, 60, 30, L"CLR")); in Initialize()
111 m_controlManager.Add(new scene::Button(1, 66, 58, 60, 30, L"1")); in Initialize()
112 m_controlManager.Add(new scene::Button(2, 130, 58, 60, 30, L"2")); in Initialize()
113 m_controlManager.Add(new scene::Button(3, 194, 58, 60, 30, L"3")); in Initialize()
114 m_controlManager.Add(new scene::Button(4, 66, 92, 60, 30, L"4")); in Initialize()
115 m_controlManager.Add(new scene::Button(5, 130, 92, 60, 30, L"5")); in Initialize()
116 m_controlManager.Add(new scene::Button(6, 194, 92, 60, 30, L"6")); in Initialize()
117 m_controlManager.Add(new scene::Button(7, 66, 126, 60, 30, L"7")); in Initialize()
118 m_controlManager.Add(new scene::Button(8, 130, 126, 60, 30, L"8")); in Initialize()
119 m_controlManager.Add(new scene::Button(9, 194, 126, 60, 30, L"9")); in Initialize()
120 m_controlManager.Add(new scene::Button(0, 130, 160, 60, 30, L"0")); in Initialize()
198 m_cursor = scene::wstrlen(pInitial); in Reset()
205 m_controlManager.FindBy(CONTROL_ID_OK)->SetState(scene::CONTROL_STATE_DEFAULT); in Reset()
210 m_controlManager.FindBy(CONTROL_ID_OK)->SetState(scene::CONTROL_STATE_DISABLED); in Reset()
234 return scene::wtoi(m_pInput); in GetInputInteger()
238 void TenKey::MyControlEventCallback(scene::ControlEvent event, scene::ControlBase* pControl, s16 x,… in MyControlEventCallback()
243 if (event == scene::CONTROL_EVENT_TOUCH) in MyControlEventCallback()
278 … pTenKey->m_controlManager.FindBy(CONTROL_ID_OK)->SetState(scene::CONTROL_STATE_DISABLED); in MyControlEventCallback()
307 … pTenKey->m_controlManager.FindBy(CONTROL_ID_OK)->SetState(scene::CONTROL_STATE_DEFAULT); in MyControlEventCallback()