MCPcopy Create free account
hub / github.com/KangLin/RabbitRemoteControl / Height

Method Height

Service/ScreenXLib.cpp:100–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98}
99
100int CScreenXLib::Height()
101{
102 int h = 0;
103 Display* dsp = NULL;
104 dsp = XOpenDisplay(NULL);/* Connect to a local display */
105 if(NULL == dsp)
106 {
107 qCritical(LogScreen) << "Cannot connect to local display";
108 return 0;
109 }
110 h = DisplayHeight(dsp, DefaultScreen(dsp));
111 XCloseDisplay(dsp);
112 return h;
113}
114
115int CScreenXLib::VirtualTop()
116{

Callers 5

OnInitMethod · 0.45
slotConnectedMethod · 0.45
authSuccessMethod · 0.45
slotConnectedMethod · 0.45
authSuccessMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected