Add cairo interface.
This commit is contained in:
parent
a03eb9599f
commit
9bcc0ae88e
63 changed files with 1247 additions and 450 deletions
22
src/windows/ui_interfaces/x11/XcbWindow.cpp
Normal file
22
src/windows/ui_interfaces/x11/XcbWindow.cpp
Normal file
|
@ -0,0 +1,22 @@
|
|||
#include "XcbWindow.h"
|
||||
|
||||
XcbWindow::XcbWindow(int hwnd)
|
||||
: mHandle(hwnd)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
std::unique_ptr<XcbWindow> XcbWindow::Create(int hwnd)
|
||||
{
|
||||
return std::make_unique<XcbWindow>(hwnd);
|
||||
}
|
||||
|
||||
int XcbWindow::GetHandle() const
|
||||
{
|
||||
return mHandle;
|
||||
}
|
||||
|
||||
unsigned XcbWindow::GetGraphicsContext() const
|
||||
{
|
||||
return mGraphicsContext;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue