Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
CXRandR Class Reference

#include <XRandR.h>

Public Member Functions

 CXRandR (bool query=false)
 
bool Query (bool force=false, bool ignoreoff=true)
 
bool Query (bool force, int screennum, bool ignoreoff=true)
 
std::vector< XOutputGetModes (void)
 
XMode GetCurrentMode (const std::string &outputName)
 
XMode GetPreferredMode (const std::string &outputName)
 
XOutputGetOutput (const std::string &outputName)
 
bool SetMode (XOutput output, XMode mode)
 
void LoadCustomModeLinesToAllOutputs (void)
 
void SaveState ()
 
void SetNumScreens (unsigned int num)
 
bool IsOutputConnected (const std::string &name)
 
bool TurnOffOutput (const std::string &name)
 
bool TurnOnOutput (const std::string &name)
 
int GetCrtc (int x, int y, float &hz)
 

Constructor & Destructor Documentation

◆ CXRandR()

CXRandR::CXRandR ( bool  query = false)
explicit

Member Function Documentation

◆ GetCrtc()

int CXRandR::GetCrtc ( int  x,
int  y,
float &  hz 
)

◆ GetCurrentMode()

XMode CXRandR::GetCurrentMode ( const std::string &  outputName)

◆ GetModes()

std::vector< XOutput > CXRandR::GetModes ( void  )

◆ GetOutput()

XOutput * CXRandR::GetOutput ( const std::string &  outputName)

◆ GetPreferredMode()

XMode CXRandR::GetPreferredMode ( const std::string &  outputName)

◆ IsOutputConnected()

bool CXRandR::IsOutputConnected ( const std::string &  name)

◆ LoadCustomModeLinesToAllOutputs()

void CXRandR::LoadCustomModeLinesToAllOutputs ( void  )
Todo:
ERROR

◆ Query() [1/2]

bool CXRandR::Query ( bool  force,
int  screennum,
bool  ignoreoff = true 
)
Todo:
ERROR

◆ Query() [2/2]

bool CXRandR::Query ( bool  force = false,
bool  ignoreoff = true 
)

◆ SaveState()

void CXRandR::SaveState ( )

◆ SetMode()

bool CXRandR::SetMode ( XOutput  output,
XMode  mode 
)

◆ SetNumScreens()

void CXRandR::SetNumScreens ( unsigned int  num)

◆ TurnOffOutput()

bool CXRandR::TurnOffOutput ( const std::string &  name)

◆ TurnOnOutput()

bool CXRandR::TurnOnOutput ( const std::string &  name)

The documentation for this class was generated from the following files: