| 140 | } |
| 141 | |
| 142 | int CDisplayXLib::Close() |
| 143 | { |
| 144 | int nRet = 0; |
| 145 | if(m_pDisplay) |
| 146 | { |
| 147 | XCloseDisplay(m_pDisplay); |
| 148 | m_pDisplay = NULL; |
| 149 | } |
| 150 | |
| 151 | m_RootWindow = 0; |
| 152 | |
| 153 | if(m_pImage) |
| 154 | { |
| 155 | DestroyImage(m_pImage); |
| 156 | m_pImage = NULL; |
| 157 | } |
| 158 | |
| 159 | return nRet; |
| 160 | } |
| 161 | |
| 162 | int CDisplayXLib::GetScreenCount() |
| 163 | { |
nothing calls this directly
no outgoing calls
no test coverage detected