Lines Matching defs:mode
66 virtual wxArrayVideoModes GetModes(const wxVideoMode& mode) const;
68 virtual bool ChangeMode(const wxVideoMode& mode);
250 wxArrayVideoModes wxDisplayImplMac::GetModes(const wxVideoMode& mode) const
268 wxASSERT_MSG(DMNewDisplayModeList(nDisplayID, NULL, NULL, &nNumModes, &pModes) == noErr, wxT("Could not create a new display mode list") );
275 sModeInfo.pMatchMode = &mode;
315 wxT("Could not create a new display mode list") );
338 else //Can't get current mode?
340 wxLogSysError(wxString::Format(wxT("Couldn't obtain current display mode!!!\ndwDMVer:%u"),
355 bool wxDisplayImplMac::ChangeMode(const wxVideoMode& mode)
361 if (mode == wxDefaultVideoMode)
367 // wxLogSysError(wxT("Could not lock display for display mode changing!"));
379 //0 & NULL for params 2 & 3 of DMSetVideoMode signal it to use defaults (current mode)
393 wxT("Could not create a new display mode list") );
400 sModeInfo.pMode = &mode;
428 wxLogSysError(wxT("Could not lock display for display mode changing!"));
432 unsigned long dwBPP = (unsigned long) mode.bpp;
440 wxLogError(wxT("Could not set the display mode"));