- Code: Select all
public void SetAsWindowless( cef_window_handle_t CefWindowInfo::parent, bool transparent );
but I get this error:
- Code: Select all
[ 43%] Building CXX object CMakeFiles/supertuxkart.dir/src/stk_cef/stk_cef.cpp.o
/home/qwerty/STK/newgui/libcefguitest/stk-code/src/stk_cef/stk_cef.cpp: In member function ‘void WebPage::Open(std::__cxx11::string)’:
/home/qwerty/STK/newgui/libcefguitest/stk-code/src/stk_cef/stk_cef.cpp:355:52: error: no matching function for call to ‘CefWindowInfo::SetAsWindowless(long unsigned int&, bool)’
window_info.SetAsWindowless(windowHandle, false);
^
In file included from /home/qwerty/STK/newgui/libcefguitest/stk-code/lib/cef3/include/cef_base.h:46:0,
from /home/qwerty/STK/newgui/libcefguitest/stk-code/lib/cef3/include/cef_app.h:41,
from /home/qwerty/STK/newgui/libcefguitest/stk-code/src/stk_cef/stk_cef.cpp:23:
/home/qwerty/STK/newgui/libcefguitest/stk-code/lib/cef3/include/internal/cef_linux.h:121:8: note: candidate: void CefWindowInfo::SetAsWindowless(long unsigned int)
void SetAsWindowless(CefWindowHandle parent) {
^~~~~~~~~~~~~~~
/home/qwerty/STK/newgui/libcefguitest/stk-code/lib/cef3/include/internal/cef_linux.h:121:8: note: candidate expects 1 argument, 2 provided