?? videomanrenderer.cpp
字號:
#include "videomanrenderer.h"
#include <algorithm>
RendererInput::RendererInput(void)
{
videoInput = NULL;
updateTexture = false;
activated = false;
screenCoords.left = 0;
screenCoords.width= 0;
screenCoords.bottom = 0;
screenCoords.height = 0;
verticalFlip = false;
horizontalFlip = false;
}
RendererInput::~RendererInput(void)
{
}
VideoManRenderer::VideoManRenderer(void)
{
activatedInputs = 0;
visualizationMode = 0;
mainVisualizationInput = 0;
}
VideoManRenderer::~VideoManRenderer(void)
{
}
bool VideoManRenderer::supportedFormat( PIXEL_FORMAT pixelFormat )
{
return ( std::find( supportedFormats.begin(), supportedFormats.end(), pixelFormat ) != supportedFormats.end() );
}
int VideoManRenderer::getMainVisualizationInput()
{
if ( activatedInputs > 0 )
return static_cast<int>( mainVisualizationInput );
return -1;
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -