int main(int argc, char *argv[]) { printf("\nSamba < 3.0.20 Zuc\n"); printf("by Zuc ([email protected])\n"); int ax; if(argc==6) ax=1; else ax=0; if(argc<5 || argc>6) usage(); LSA(argv[1],argv[2],argv[3],atoi(argv[4]),ax); // end of main return 1; }
/*--------------------------------------------------------------------------*/ AGCMessageClass::AGCMessageClass(SIGNED iLeft, SIGNED iTop) : PegWindow(FF_THIN) { PegRect ChildRect; mReal.Set(iLeft, iTop, iLeft + 393, iTop + 39); InitClient(); SetColor(PCI_NORMAL, 223); RemoveStatus(PSF_MOVEABLE|PSF_SIZEABLE|PSF_ACCEPTS_FOCUS); ChildRect.Set(iLeft + 30, iTop + 10, iLeft + 374, iTop + 29); pAGCMessage = new PegPrompt(ChildRect, LSA(SID_AGCMessage), AGCMessageID, FF_NONE|AF_TRANSPARENT|TJ_CENTER); pAGCMessage->SetColor(PCI_NTEXT, RED); Add(pAGCMessage); /* WB End Construction */ Id(GENAGC_MESSAGE_ID); }
/*--------------------------------------------------------------------------*/ ServiceAudioMenuClass::ServiceAudioMenuClass(SIGNED iLeft, SIGNED iTop) : PegBitmapWindow(NULL, kAutoAdjustBitmapSize, PegBlueTransparent, FF_RAISED) { PegRect ChildRect; mReal.Set(iLeft, iTop, iLeft + 393, iTop + 213); InitClient(); RemoveStatus(PSF_MOVEABLE|PSF_SIZEABLE); ChildRect.Set(iLeft + 200, iTop + 172, iLeft + 379, iTop + 192); pThrSwNICAMBar = new TVProgressBar(ChildRect, FF_NONE|PS_SHOW_VAL, ucThrSwNICAMMin, ucThrSwNICAMMax, 0); Add(pThrSwNICAMBar); ChildRect.Set(iLeft + 200, iTop + 142, iLeft + 379, iTop + 162); pPrescNICAMBar = new TVProgressBar(ChildRect, FF_NONE|PS_SHOW_VAL, scPrescNICAMMin, scPrescNICAMMax, 0); Add(pPrescNICAMBar); ChildRect.Set(iLeft + 200, iTop + 112, iLeft + 379, iTop + 132); pPrescFMBar = new TVProgressBar(ChildRect, FF_NONE|PS_SHOW_VAL, scPrescFMMin, scPrescFMMax, 0); Add(pPrescFMBar); ChildRect.Set(iLeft + 200, iTop + 82, iLeft + 379, iTop + 102); pPrescSCARTBar = new TVProgressBar(ChildRect, FF_NONE|PS_SHOW_VAL, scPrescSCARTMin, scPrescSCARTMax, 0); Add(pPrescSCARTBar); ChildRect.Set(iLeft + 200, iTop + 52, iLeft + 379, iTop + 72); pAGCAdjBar = new TVProgressBar(ChildRect, FF_NONE|PS_SHOW_VAL, ucAGCMin, ucAGCMax, 0); Add(pAGCAdjBar); ChildRect.Set(iLeft + 10, iTop + 170, iLeft + 189, iTop + 197); pThrSwNICAMButton = new TVDecoratedButton(ChildRect, LSA(SID_ThrSwNICAMButton), &gbBullet5Bitmap, tAnimationTable, 6, RED, BLUE, ThrSwNICAMButtonID, FF_NONE|AF_ENABLED|AF_TRANSPARENT); pThrSwNICAMButton->SetColor(PCI_NORMAL, 223); pThrSwNICAMButton->SetColor(PCI_NTEXT, BLUE); Add(pThrSwNICAMButton); ChildRect.Set(iLeft + 10, iTop + 140, iLeft + 169, iTop + 167); pPrescNICAMButton = new TVDecoratedButton(ChildRect, LSA(SID_PrescNICAMButton), &gbBullet5Bitmap, tAnimationTable, 6, RED, BLUE, PrescNICAMButtonID, FF_NONE|AF_ENABLED|AF_TRANSPARENT); pPrescNICAMButton->SetColor(PCI_NORMAL, 223); pPrescNICAMButton->SetColor(PCI_NTEXT, BLUE); Add(pPrescNICAMButton); ChildRect.Set(iLeft + 10, iTop + 110, iLeft + 169, iTop + 137); pPrescFMButton = new TVDecoratedButton(ChildRect, LSA(SID_PrescFMButton), &gbBullet5Bitmap, tAnimationTable, 6, RED, BLUE, PrescFMButtonID, FF_NONE|AF_ENABLED|AF_TRANSPARENT); pPrescFMButton->SetColor(PCI_NORMAL, 223); pPrescFMButton->SetColor(PCI_NTEXT, BLUE); Add(pPrescFMButton); ChildRect.Set(iLeft + 10, iTop + 80, iLeft + 169, iTop + 107); pPrescSCARTButton = new TVDecoratedButton(ChildRect, LSA(SID_PrescSCARTButton), &gbBullet5Bitmap, tAnimationTable, 6, RED, BLUE, PrescSCARTButtonID, FF_NONE|AF_ENABLED|AF_TRANSPARENT); pPrescSCARTButton->SetColor(PCI_NORMAL, 223); pPrescSCARTButton->SetColor(PCI_NTEXT, BLUE); Add(pPrescSCARTButton); ChildRect.Set(iLeft + 10, iTop + 50, iLeft + 169, iTop + 77); pAGCAdjButton = new TVDecoratedButton(ChildRect, LSA(SID_AGCAdjButton), &gbBullet5Bitmap, tAnimationTable, 6, RED, BLUE, AGCAdjButtonID, FF_NONE|AF_ENABLED|AF_TRANSPARENT); pAGCAdjButton->SetColor(PCI_NORMAL, 223); pAGCAdjButton->SetColor(PCI_NTEXT, BLUE); Add(pAGCAdjButton); ChildRect.Set(iLeft + 10, iTop + 2, iLeft + 389, iTop + 48); pServiceAudioMenuTitle = new PegPrompt(ChildRect, LSA(SID_ServiceAudioMenuWindowTitle), ServiceAudioMenuTitleID); pServiceAudioMenuTitle->SetColor(PCI_NORMAL, BLUE); pServiceAudioMenuTitle->SetColor(PCI_NTEXT, BLUE); Add(pServiceAudioMenuTitle); /* WB End Construction */ Id(SERVICE_AUDIO_MENU_ID); /* Set font for the Title of the window */ if (gbCurrentLanguage == 1) /* language = chinese */ { pServiceAudioMenuTitle->SetFont(&A12RFont); } else if (gbCurrentLanguage == 2) /* language = korean */ { pServiceAudioMenuTitle->SetFont(&korean); } else /* default for English & French */ { pServiceAudioMenuTitle->SetFont(&Pronto_16); } /* Set font for the value written in the bars */ pThrSwNICAMBar->SetFont(&Pronto_12); pPrescNICAMBar->SetFont(&Pronto_12); pPrescFMBar->SetFont(&Pronto_12); pPrescSCARTBar->SetFont(&Pronto_12); pAGCAdjBar->SetFont(&Pronto_12); /* Remove focus from the bars */ pThrSwNICAMBar->RemoveStatus(PSF_ACCEPTS_FOCUS); pPrescNICAMBar->RemoveStatus(PSF_ACCEPTS_FOCUS); pPrescFMBar->RemoveStatus(PSF_ACCEPTS_FOCUS); pPrescSCARTBar->RemoveStatus(PSF_ACCEPTS_FOCUS); pAGCAdjBar->RemoveStatus(PSF_ACCEPTS_FOCUS); pAGCMessageWindow = NULL; }
/* ----------------------------------------------------------------------- */ void InitializeMenuBanners(void) { UCHAR SavedLanguageValue; char iLoop; SavedLanguageValue = gbCurrentLanguage; tstCVBS_SVHS_RGB[0].iStringID = Ssb_kCvbs; tstCVBS_SVHS_RGB[1].iStringID = Ssb_kSVideo; tstCVBS_SVHS_RGB[2].iStringID = Ssb_kRGB; for (iLoop = 0 ; iLoop<LANGUAGE_NUMBER ; iLoop++) { gbCurrentLanguage = iLoop; /* chose language */ tstCVBS_SVHS_RGB[0].StringToDisplay[iLoop] = LS(SID_CVBS); tstCVBS_SVHS_RGB[1].StringToDisplay[iLoop] = LS(SID_SVHS); tstCVBS_SVHS_RGB[2].StringToDisplay[iLoop] = LS(SID_RGB); } CVBS_SVHS_RGB_Table.ptstTable = tstCVBS_SVHS_RGB; CVBS_SVHS_RGB_Table.iTableSize = sizeof(tstCVBS_SVHS_RGB)/sizeof(HorizontalScrollText_t); tstCVBS_SVHS[0].iStringID = Ssb_kFrontCvbs; tstCVBS_SVHS[1].iStringID = Ssb_kSVideoonAV3; for (iLoop = 0 ; iLoop<LANGUAGE_NUMBER ; iLoop++) { gbCurrentLanguage = iLoop; /* chose language */ tstCVBS_SVHS[0].StringToDisplay[iLoop] = LS(SID_CVBS); tstCVBS_SVHS[1].StringToDisplay[iLoop] = LS(SID_SVHS); } CVBS_SVHS_Table.ptstTable = tstCVBS_SVHS; CVBS_SVHS_Table.iTableSize = sizeof(tstCVBS_SVHS)/sizeof(HorizontalScrollText_t); tstTUNER_AV2_FRONT[0].iStringID = Ssb_kTuneronAV1; tstTUNER_AV2_FRONT[1].iStringID = Ssb_kAV2onAV1; tstTUNER_AV2_FRONT[2].iStringID = Ssb_kFrontonAV1; for (iLoop = 0 ; iLoop<LANGUAGE_NUMBER ; iLoop++) { gbCurrentLanguage = iLoop; /* chose language */ tstTUNER_AV2_FRONT[0].StringToDisplay[iLoop] = LS(SID_Tuner); tstTUNER_AV2_FRONT[1].StringToDisplay[iLoop] = LS(SID_AV2); tstTUNER_AV2_FRONT[2].StringToDisplay[iLoop] = LS(SID_Front); } TUNER_AV2_FRONT_Table.ptstTable = tstTUNER_AV2_FRONT; TUNER_AV2_FRONT_Table.iTableSize = sizeof(tstTUNER_AV2_FRONT)/sizeof(HorizontalScrollText_t); tstTUNER_AV1_FRONT[0].iStringID = Ssb_kTuneronAV2; tstTUNER_AV1_FRONT[1].iStringID = Ssb_kAV1onAV2; tstTUNER_AV1_FRONT[2].iStringID = Ssb_kFrontonAV2; for (iLoop = 0 ; iLoop<LANGUAGE_NUMBER ; iLoop++) { gbCurrentLanguage = iLoop; /* chose language */ tstTUNER_AV1_FRONT[0].StringToDisplay[iLoop] = LS(SID_Tuner); tstTUNER_AV1_FRONT[1].StringToDisplay[iLoop] = LS(SID_AV1); tstTUNER_AV1_FRONT[2].StringToDisplay[iLoop] = LS(SID_Front); } TUNER_AV1_FRONT_Table.ptstTable = tstTUNER_AV1_FRONT; TUNER_AV1_FRONT_Table.iTableSize = sizeof(tstTUNER_AV1_FRONT)/sizeof(HorizontalScrollText_t); tstON_OFF[0].iStringID = Ssb_kOn; tstON_OFF[1].iStringID = Ssb_kOff; for (iLoop = 0 ; iLoop<LANGUAGE_NUMBER ; iLoop++) { gbCurrentLanguage = iLoop; /* chose language */ tstON_OFF[0].StringToDisplay[iLoop] = LS(SID_ON); tstON_OFF[1].StringToDisplay[iLoop] = LS(SID_OFF); } ON_OFF_Table.ptstTable = tstON_OFF; ON_OFF_Table.iTableSize = sizeof(tstON_OFF)/sizeof(HorizontalScrollText_t); tstCRT43_CRT169[0].iStringID = Ssb_kCrt43; tstCRT43_CRT169[1].iStringID = Ssb_kCrt169; for (iLoop = 0 ; iLoop<LANGUAGE_NUMBER ; iLoop++) { gbCurrentLanguage = iLoop; /* chose language */ tstCRT43_CRT169[0].StringToDisplay[iLoop] = LS(SID_CRT43); tstCRT43_CRT169[1].StringToDisplay[iLoop] = LS(SID_CRT169); } CRT43_CRT169_Table.ptstTable = tstCRT43_CRT169; CRT43_CRT169_Table.iTableSize = sizeof(tstCRT43_CRT169)/sizeof(HorizontalScrollText_t); tstAUTO_AABB[0].iStringID = Ssb_kAuto; tstAUTO_AABB[1].iStringID = Ssb_kAABB; for (iLoop = 0 ; iLoop<LANGUAGE_NUMBER ; iLoop++) { gbCurrentLanguage = iLoop; /* chose language */ tstAUTO_AABB[0].StringToDisplay[iLoop] = LS(SID_AUTO); tstAUTO_AABB[1].StringToDisplay[iLoop] = LS(SID_AABB); } AUTO_AABB_Table.ptstTable = tstAUTO_AABB; AUTO_AABB_Table.iTableSize = sizeof(tstAUTO_AABB)/sizeof(HorizontalScrollText_t); tstOFF_BS_WS_GS_BWS[0].iStringID = Ssb_kContrastOff; tstOFF_BS_WS_GS_BWS[1].iStringID = Ssb_kBlackStretch; tstOFF_BS_WS_GS_BWS[2].iStringID = Ssb_kWhiteStretch; tstOFF_BS_WS_GS_BWS[3].iStringID = Ssb_kGreyStretch; tstOFF_BS_WS_GS_BWS[4].iStringID = Ssb_kBWShrink; for (iLoop = 0 ; iLoop<LANGUAGE_NUMBER ; iLoop++) { gbCurrentLanguage = iLoop; /* chose language */ tstOFF_BS_WS_GS_BWS[0].StringToDisplay[iLoop] = LS(SID_OFF); tstOFF_BS_WS_GS_BWS[1].StringToDisplay[iLoop] = LS(SID_BlackStretch); tstOFF_BS_WS_GS_BWS[2].StringToDisplay[iLoop] = LS(SID_WhiteStretch); tstOFF_BS_WS_GS_BWS[3].StringToDisplay[iLoop] = LS(SID_GreyStretch); tstOFF_BS_WS_GS_BWS[4].StringToDisplay[iLoop] = LS(SID_BWShrink); } OFF_BS_WS_GS_BWS_Table.ptstTable = tstOFF_BS_WS_GS_BWS; OFF_BS_WS_GS_BWS_Table.iTableSize = sizeof(tstOFF_BS_WS_GS_BWS)/sizeof(HorizontalScrollText_t); tstPRG[0].iStringID = PR1; tstPRG[1].iStringID = PR2; tstPRG[2].iStringID = PR3; tstPRG[3].iStringID = PR4; tstPRG[4].iStringID = PR5; tstPRG[5].iStringID = PR6; tstPRG[6].iStringID = PR7; tstPRG[7].iStringID = PR8; tstPRG[8].iStringID = PR9; for (iLoop = 0 ; iLoop<LANGUAGE_NUMBER ; iLoop++) { gbCurrentLanguage = iLoop; /* chose language */ tstPRG[0].StringToDisplay[iLoop] = LS(SID_PR1); tstPRG[1].StringToDisplay[iLoop] = LS(SID_PR2); tstPRG[2].StringToDisplay[iLoop] = LS(SID_PR3); tstPRG[3].StringToDisplay[iLoop] = LS(SID_PR4); tstPRG[4].StringToDisplay[iLoop] = LS(SID_PR5); tstPRG[5].StringToDisplay[iLoop] = LS(SID_PR6); tstPRG[6].StringToDisplay[iLoop] = LS(SID_PR7); tstPRG[7].StringToDisplay[iLoop] = LS(SID_PR8); tstPRG[8].StringToDisplay[iLoop] = LS(SID_PR9); } PRG_Table.ptstTable = tstPRG; PRG_Table.iTableSize = sizeof(tstPRG)/sizeof(HorizontalScrollText_t); tstCountry[0].iStringID = Ssb_kFRANCE; tstCountry[1].iStringID = Ssb_kOthers; for (iLoop = 0 ; iLoop<LANGUAGE_NUMBER ; iLoop++) { gbCurrentLanguage = iLoop; /* chose language */ tstCountry[0].StringToDisplay[iLoop] = LS(SID_FRANCE); tstCountry[1].StringToDisplay[iLoop] = LS(SID_OTHERS); } Country_Table.ptstTable = tstCountry; Country_Table.iTableSize = sizeof(tstCountry)/sizeof(HorizontalScrollText_t); tstVideo_Std[0].iStringID = Ssb_kSECAM; tstVideo_Std[1].iStringID = Ssb_kPAL; tstVideo_Std[2].iStringID = Ssb_kAUTO; for (iLoop = 0 ; iLoop<LANGUAGE_NUMBER ; iLoop++) { gbCurrentLanguage = iLoop; /* chose language */ tstVideo_Std[0].StringToDisplay[iLoop] = LS(SID_SECAM); tstVideo_Std[1].StringToDisplay[iLoop] = LS(SID_PAL); tstVideo_Std[2].StringToDisplay[iLoop] = LS(SID_AUTO); } Video_Std_Table.ptstTable = tstVideo_Std; Video_Std_Table.iTableSize = sizeof(tstVideo_Std)/sizeof(HorizontalScrollText_t); tstRF_Std[0].iStringID = Ssb_kRFL; tstRF_Std[1].iStringID = Ssb_kRFBG; tstRF_Std[2].iStringID = Ssb_kRFDK; tstRF_Std[3].iStringID = Ssb_kRFI; for (iLoop = 0 ; iLoop<LANGUAGE_NUMBER ; iLoop++) { gbCurrentLanguage = iLoop; /* chose language */ tstRF_Std[0].StringToDisplay[iLoop] = LS(SID_LLPRIM); tstRF_Std[1].StringToDisplay[iLoop] = LS(SID_BG); tstRF_Std[2].StringToDisplay[iLoop] = LS(SID_DK); tstRF_Std[3].StringToDisplay[iLoop] = LS(SID_I); } RF_Std_Table.ptstTable = tstRF_Std; RF_Std_Table.iTableSize = sizeof(tstRF_Std)/sizeof(HorizontalScrollText_t); tstAUTO_OFF_MIN_MED_MAX[0].iStringID = Ssb_Tnr_Auto; tstAUTO_OFF_MIN_MED_MAX[1].iStringID = Ssb_Tnr_Off; tstAUTO_OFF_MIN_MED_MAX[2].iStringID = Ssb_Tnr_Min; tstAUTO_OFF_MIN_MED_MAX[3].iStringID = Ssb_Tnr_Med; tstAUTO_OFF_MIN_MED_MAX[4].iStringID = Ssb_Tnr_High; for (iLoop = 0 ; iLoop<LANGUAGE_NUMBER ; iLoop++) { gbCurrentLanguage = iLoop; /* chose language */ tstAUTO_OFF_MIN_MED_MAX[0].StringToDisplay[iLoop] = LS(SID_AUTO); tstAUTO_OFF_MIN_MED_MAX[1].StringToDisplay[iLoop] = LS(SID_OFF); tstAUTO_OFF_MIN_MED_MAX[2].StringToDisplay[iLoop] = LS(SID_MIN); tstAUTO_OFF_MIN_MED_MAX[3].StringToDisplay[iLoop] = LS(SID_MED); tstAUTO_OFF_MIN_MED_MAX[4].StringToDisplay[iLoop] = LS(SID_MAX); } AUTO_OFF_MIN_MED_MAX_Table.ptstTable = tstAUTO_OFF_MIN_MED_MAX; AUTO_OFF_MIN_MED_MAX_Table.iTableSize = sizeof(tstAUTO_OFF_MIN_MED_MAX)/sizeof(HorizontalScrollText_t); tstRC_TXT_TWB[0].iStringID = 0; tstRC_TXT_TWB[1].iStringID = 1; tstRC_TXT_TWB[2].iStringID = 2; for (iLoop = 0 ; iLoop<LANGUAGE_NUMBER ; iLoop++) { gbCurrentLanguage = iLoop; /* chose language */ tstRC_TXT_TWB[0].StringToDisplay[iLoop] = LS(SID_General); tstRC_TXT_TWB[1].StringToDisplay[iLoop] = LS(SID_TeletextOnOff); tstRC_TXT_TWB[2].StringToDisplay[iLoop] = LS(SID_Teleweb); } RC_TXT_TWB_Table.ptstTable = tstRC_TXT_TWB; RC_TXT_TWB_Table.iTableSize = sizeof(tstRC_TXT_TWB)/sizeof(HorizontalScrollText_t); tstAudioType[0].iStringID = Ssb_kSoundTypeAuto; tstAudioType[1].iStringID = Ssb_kSoundTypeMono; for (iLoop = 0 ; iLoop<LANGUAGE_NUMBER ; iLoop++) { gbCurrentLanguage = iLoop; /* chose language */ tstAudioType[0].StringToDisplay[iLoop] = LSA(SID_StatusAuto); tstAudioType[1].StringToDisplay[iLoop] = LSA(SID_StatusMono); } AudioType_Table.ptstTable = tstAudioType; AudioType_Table.iTableSize = sizeof(tstAudioType)/sizeof(HorizontalScrollText_t); tstAudioLanguage[0].iStringID = Ssb_kL1; tstAudioLanguage[1].iStringID = Ssb_kL2; tstAudioLanguage[2].iStringID = Ssb_kL1plusL2; tstAudioLanguage[3].iStringID = Ssb_kL1andL2; for (iLoop = 0 ; iLoop<LANGUAGE_NUMBER ; iLoop++) { gbCurrentLanguage = iLoop; /* chose language */ tstAudioLanguage[0].StringToDisplay[iLoop] = LSA(SID_LeftOnBoth); tstAudioLanguage[1].StringToDisplay[iLoop] = LSA(SID_RightOnBoth); tstAudioLanguage[2].StringToDisplay[iLoop] = LSA(SID_MixOnBoth); tstAudioLanguage[3].StringToDisplay[iLoop] = LSA(SID_StereoLang); } AudioLanguage_Table.ptstTable = tstAudioLanguage; AudioLanguage_Table.iTableSize = sizeof(tstAudioLanguage)/sizeof(HorizontalScrollText_t); tstSRSStereoSpEffect[0].iStringID = Ssb_kSTWideSurroundMusic; tstSRSStereoSpEffect[1].iStringID = Ssb_kSTWideSurroundMovie; tstSRSStereoSpEffect[2].iStringID = Ssb_kSRS3D; tstSRSStereoSpEffect[3].iStringID = Ssb_kSpatialEffectOff; for (iLoop = 0 ; iLoop<LANGUAGE_NUMBER ; iLoop++) { gbCurrentLanguage = iLoop; /* chose language */ tstSRSStereoSpEffect[0].StringToDisplay[iLoop] = LSA(SID_STWideMusic); tstSRSStereoSpEffect[1].StringToDisplay[iLoop] = LSA(SID_STWideMovie); tstSRSStereoSpEffect[2].StringToDisplay[iLoop] = LSA(SID_SRS3D); tstSRSStereoSpEffect[3].StringToDisplay[iLoop] = LS(SID_OFF); } SRSStereoSpEffect_Table.ptstTable = tstSRSStereoSpEffect; SRSStereoSpEffect_Table.iTableSize = sizeof(tstSRSStereoSpEffect)/sizeof(HorizontalScrollText_t); tstSRSMonoSpEffect[0].iStringID = Ssb_kSTWideSuroundSimulated; tstSRSMonoSpEffect[1].iStringID = Ssb_kSRS3DMono; tstSRSMonoSpEffect[2].iStringID = Ssb_kSpatialEffectMonoOff; for (iLoop = 0 ; iLoop<LANGUAGE_NUMBER ; iLoop++) { gbCurrentLanguage = iLoop; /* chose language */ tstSRSMonoSpEffect[0].StringToDisplay[iLoop] = LSA(SID_STWideSimulated); tstSRSMonoSpEffect[1].StringToDisplay[iLoop] = LSA(SID_SRS3DMono); tstSRSMonoSpEffect[2].StringToDisplay[iLoop] = LS(SID_OFF); } SRSMonoSpEffect_Table.ptstTable = tstSRSMonoSpEffect; SRSMonoSpEffect_Table.iTableSize = sizeof(tstSRSMonoSpEffect)/sizeof(HorizontalScrollText_t); tstSTStereoSpEffect[0].iStringID = Ssb_kSTWideSurroundMusic; tstSTStereoSpEffect[1].iStringID = Ssb_kSTWideSurroundMovie; tstSTStereoSpEffect[2].iStringID = Ssb_kSpatialEffectOff; for (iLoop = 0 ; iLoop<LANGUAGE_NUMBER ; iLoop++) { gbCurrentLanguage = iLoop; /* chose language */ tstSTStereoSpEffect[0].StringToDisplay[iLoop] = LSA(SID_STWideMusic); tstSTStereoSpEffect[1].StringToDisplay[iLoop] = LSA(SID_STWideMovie); tstSTStereoSpEffect[2].StringToDisplay[iLoop] = LS(SID_OFF); } STStereoSpEffect_Table.ptstTable = tstSTStereoSpEffect; STStereoSpEffect_Table.iTableSize = sizeof(tstSTStereoSpEffect)/sizeof(HorizontalScrollText_t); tstSTMonoSpEffect[0].iStringID = Ssb_kSTWideSuroundSimulated; tstSTMonoSpEffect[1].iStringID = Ssb_kSpatialEffectMonoOff; for (iLoop = 0 ; iLoop<LANGUAGE_NUMBER ; iLoop++) { gbCurrentLanguage = iLoop; /* chose language */ tstSTMonoSpEffect[0].StringToDisplay[iLoop] = LSA(SID_STWideSimulated); tstSTMonoSpEffect[1].StringToDisplay[iLoop] = LS(SID_OFF); } STMonoSpEffect_Table.ptstTable = tstSTMonoSpEffect; STMonoSpEffect_Table.iTableSize = sizeof(tstSTMonoSpEffect)/sizeof(HorizontalScrollText_t); tstEqSoundPreset[0].iStringID = Ssb_kSoundMovie; tstEqSoundPreset[1].iStringID = Ssb_kSoundMusic; tstEqSoundPreset[2].iStringID = Ssb_kSoundHall; tstEqSoundPreset[3].iStringID = Ssb_kSoundFlat; tstEqSoundPreset[4].iStringID = Ssb_kSoundPersonnel; for (iLoop = 0 ; iLoop<LANGUAGE_NUMBER ; iLoop++) { gbCurrentLanguage = iLoop; /* chose language */ tstEqSoundPreset[0].StringToDisplay[iLoop] = LSA(SID_PresetMovie); tstEqSoundPreset[1].StringToDisplay[iLoop] = LSA(SID_PresetMusic); tstEqSoundPreset[2].StringToDisplay[iLoop] = LSA(SID_PresetHall); tstEqSoundPreset[3].StringToDisplay[iLoop] = LSA(SID_PresetFlat); tstEqSoundPreset[4].StringToDisplay[iLoop] = LSA(SID_PresetPersonal); } EqSoundPreset_Table.ptstTable = tstEqSoundPreset; EqSoundPreset_Table.iTableSize = sizeof(tstEqSoundPreset)/sizeof(HorizontalScrollText_t); tstMin_Med_High[0].iStringID = DVSDIN_kVeryLow; tstMin_Med_High[1].iStringID = DVSDIN_kLow; tstMin_Med_High[2].iStringID = DVSDIN_kMedium; tstMin_Med_High[3].iStringID = DVSDIN_kHigh; tstMin_Med_High[4].iStringID = DVSDIN_kVeryHigh; for (iLoop = 0 ; iLoop<LANGUAGE_NUMBER ; iLoop++) { gbCurrentLanguage = iLoop; /* chose language */ tstMin_Med_High[0].StringToDisplay[iLoop] = LS(SID_Video); tstMin_Med_High[1].StringToDisplay[iLoop] = LS(SID_MIN); tstMin_Med_High[2].StringToDisplay[iLoop] = LS(SID_MED); tstMin_Med_High[3].StringToDisplay[iLoop] = LS(SID_MAX); tstMin_Med_High[4].StringToDisplay[iLoop] = LS(SID_Movie); } Ifp_Table.ptstTable = tstMin_Med_High; Ifp_Table.iTableSize = sizeof(tstMin_Med_High)/sizeof(HorizontalScrollText_t); gbCurrentLanguage = SavedLanguageValue; /* reset language to initial value */ }