Start aligning Dx and OpenGl approaches.

This commit is contained in:
jmsgrogan 2023-01-05 08:46:01 +00:00
parent d1ec8b4f68
commit d99a36f24f
22 changed files with 899 additions and 366 deletions

View file

@ -116,6 +116,11 @@ void Window::show()
}
}
DrawingContext* Window::getDrawingContent() const
{
return mDrawingContext.get();
}
void Window::doPaint(mt::Screen* screen)
{
if (mPlatformWindow)

View file

@ -98,6 +98,8 @@ public:
return mParent;
}
DrawingContext* getDrawingContent() const;
private:
WidgetPtr mWidget {nullptr};
std::string mTitle;