get Ink pen data like pressure, buttons

This commit is contained in:
2017-04-12 00:44:26 +01:00
parent a82c76ce41
commit d230bc7a99
4 changed files with 68 additions and 15 deletions

View File

@@ -221,6 +221,10 @@ void ui::Canvas::resize(int width, int height)
m_tmp.create(width, height);
m_tex.create(width, height);
m_tex2.create(width, height);
for (auto& l : m_layers)
{
l.m_rtt.create(width, height);
}
}
bool ui::Canvas::create(int width, int height)
{