mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 23:47:42 +00:00
boo lambda-API refactor
This commit is contained in:
@@ -10,8 +10,12 @@ namespace specter
|
||||
ScrollView::ScrollView(ViewResources& res, View& parentView, Style style)
|
||||
: View(res, parentView), m_style(style), m_sideButtonBind(*this, rootView().viewManager())
|
||||
{
|
||||
m_vertsBinding.initSolid(res, 4, m_viewVertBlockBuf);
|
||||
commitResources(res);
|
||||
commitResources(res, [&](boo::IGraphicsDataFactory::Context& ctx) -> bool
|
||||
{
|
||||
buildResources(ctx, res);
|
||||
m_vertsBinding.initSolid(ctx, res, 4, m_viewVertBlockBuf);
|
||||
return true;
|
||||
});
|
||||
|
||||
if (style == Style::SideButtons)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user