Lines Matching refs:box
423 CComboBox *box = (CComboBox *)GetDlgItem(IDC_AA_TEXT_COLORS_COMBO); in SaveDisplayConfig() local
424 int sel = box->GetCurSel(); in SaveDisplayConfig()
425 mpProject->mHeader.palette_mode_aa_text_colors = box->GetItemData(sel); in SaveDisplayConfig()
587 CComboBox* box = (CComboBox*)GetDlgItem(IDC_ROTATION_ANGLE_COMBO); in SaveDisplayConfig() local
588 if (box) in SaveDisplayConfig()
590 int sel = box->GetCurSel(); in SaveDisplayConfig()
591 mpProject->mDisplays[display_index].rotation_angle = box->GetItemData(sel); in SaveDisplayConfig()
1316 CComboBox *box = (CComboBox *)GetDlgItem(IDC_AA_TEXT_COLORS_COMBO); in InitAATextColorsCombobox() local
1318 if (!box->GetCount()) in InitAATextColorsCombobox()
1320 box->InsertString(0, _T("16")); in InitAATextColorsCombobox()
1321 box->SetItemData(0, 16); in InitAATextColorsCombobox()
1323 box->InsertString(1, _T("8")); in InitAATextColorsCombobox()
1324 box->SetItemData(1, 8); in InitAATextColorsCombobox()
1329 box->SelectString(0, text); in InitAATextColorsCombobox()
1335 CComboBox* box = (CComboBox*)GetDlgItem(IDC_ROTATION_ANGLE_COMBO); in EnableDisableFlipRotation() local
1337 if (box) in EnableDisableFlipRotation()
1341 if (box->GetCount() < 4) in EnableDisableFlipRotation()
1343 box->InsertString(3, _T("FLIP")); in EnableDisableFlipRotation()
1344 box->SetItemData(3, GX_SCREEN_ROTATION_FLIP); in EnableDisableFlipRotation()
1349 if (box->GetCount() > 3) in EnableDisableFlipRotation()
1351 box->DeleteString(3); in EnableDisableFlipRotation()
1352 box->SetCurSel(0); in EnableDisableFlipRotation()
1364 CComboBox* box = (CComboBox*)GetDlgItem(IDC_ROTATION_ANGLE_COMBO); in InitRotationAnglesCombobox() local
1366 if (box) in InitRotationAnglesCombobox()
1368 if (!box->GetCount()) in InitRotationAnglesCombobox()
1370 box->InsertString(0, ProjectConfigDlg::FindScreenRotationName(GX_SCREEN_ROTATION_NONE)); in InitRotationAnglesCombobox()
1371 box->SetItemData(0, 0); in InitRotationAnglesCombobox()
1373 box->InsertString(1, ProjectConfigDlg::FindScreenRotationName(GX_SCREEN_ROTATION_CW)); in InitRotationAnglesCombobox()
1374 box->SetItemData(1, GX_SCREEN_ROTATION_CW); in InitRotationAnglesCombobox()
1376 box->InsertString(2, ProjectConfigDlg::FindScreenRotationName(GX_SCREEN_ROTATION_CCW)); in InitRotationAnglesCombobox()
1377 box->SetItemData(2, GX_SCREEN_ROTATION_CCW); in InitRotationAnglesCombobox()
1382 if (box->GetCount() < 4) in InitRotationAnglesCombobox()
1384 … box->InsertString(3, ProjectConfigDlg::FindScreenRotationName(GX_SCREEN_ROTATION_FLIP)); in InitRotationAnglesCombobox()
1385 box->SetItemData(3, GX_SCREEN_ROTATION_FLIP); in InitRotationAnglesCombobox()
1390 if (box->GetCount() > 3) in InitRotationAnglesCombobox()
1392 box->DeleteString(3); in InitRotationAnglesCombobox()
1403 box->SetCurSel(1); in InitRotationAnglesCombobox()
1407 box->SetCurSel(2); in InitRotationAnglesCombobox()
1411 box->SetCurSel(3); in InitRotationAnglesCombobox()
1415 box->SetCurSel(0); in InitRotationAnglesCombobox()