Update X11Wrapper.cpp

Former-commit-id: f644a24c77db18feb34526aa937f12700865f5be
This commit is contained in:
Paulchen-Panther 2016-01-21 16:41:37 +01:00
parent a53f65f3a0
commit 66609a03a0

View File

@ -29,6 +29,11 @@ void X11Wrapper::stop()
_timer.stop(); _timer.stop();
} }
bool X11Wrapper::displayInit()
{
return _grabber.Setup();
}
void X11Wrapper::capture() void X11Wrapper::capture()
{ {
const Image<ColorRgb> & screenshot = _grabber.grab(); const Image<ColorRgb> & screenshot = _grabber.grab();