void CubeMap::SetCubeMapFile(TCHAR *file) { cubeMapFile = TSTR(file); initPS = true; UpdateButtonText(); cubemap_param_blk.ParamOption(pb_cubemapfile, p_init_file, file); }
void RenderBobbyRAmmo() { HVOBJECT hPixHandle; WebPageTileBackground(BOBBYR_NUM_HORIZONTAL_TILES, BOBBYR_NUM_VERTICAL_TILES, BOBBYR_BACKGROUND_WIDTH, BOBBYR_BACKGROUND_HEIGHT, guiAmmoBackground); //Display title at top of page DisplayBobbyRBrTitle(); // GunForm GetVideoObject(&hPixHandle, guiAmmoGrid); BltVideoObject(FRAME_BUFFER, hPixHandle, 0, BOBBYR_GRIDLOC_X, BOBBYR_GRIDLOC_Y, VO_BLT_SRCTRANSPARENCY,NULL); DisplayItemInfo(IC_AMMO); UpdateButtonText(guiCurrentLaptopMode); MarkButtonsDirty( ); RenderWWWProgramTitleBar( ); InvalidateRegion(LAPTOP_SCREEN_UL_X,LAPTOP_SCREEN_WEB_UL_Y,LAPTOP_SCREEN_LR_X,LAPTOP_SCREEN_WEB_LR_Y); }
void RenderBobbyRMisc() { HVOBJECT hPixHandle; WebPageTileBackground(BOBBYR_NUM_HORIZONTAL_TILES, BOBBYR_NUM_VERTICAL_TILES, BOBBYR_BACKGROUND_WIDTH, BOBBYR_BACKGROUND_HEIGHT, guiMiscBackground); //Display title at top of page //DisplayBobbyRBrTitle(); // GunForm GetVideoObject(&hPixHandle, guiMiscGrid); BltVideoObject(FRAME_BUFFER, hPixHandle, 0, BOBBYR_GRIDLOC_X, BOBBYR_GRIDLOC_Y, VO_BLT_SRCTRANSPARENCY,NULL); DisplayItemInfo(IC_BOBBY_MISC, guiCurrentMiscFilterMode, guiCurrentMiscSubFilterMode); UpdateButtonText(guiCurrentLaptopMode); UpdateMiscFilterButtons(); MarkButtonsDirty( ); RenderWWWProgramTitleBar( ); InvalidateRegion(LAPTOP_SCREEN_UL_X,LAPTOP_SCREEN_WEB_UL_Y,LAPTOP_SCREEN_LR_X,LAPTOP_SCREEN_WEB_LR_Y); //Moa removed below. See comment above LAPTOP_SCREEN_UL_X in laptop.h // fReDrawScreenFlag = TRUE; //fPausedReDrawScreenFlag = TRUE; }
ParamDlg * CubeMap::CreateEffectDlg(HWND hWnd, IMtlParams * imp) { ParamDlg * dlg = CubeMapDesc.CreateParamDlgs(hWnd, imp, this); UpdateButtonText(); return dlg; }