add logo, shutdown LogRemote on exit
This commit is contained in:
@@ -567,6 +567,16 @@ void App::initLayout()
|
||||
if (auto* toolbar = layout[main_id]->find<Node>("toolbar"))
|
||||
toolbar->m_flood_events = true;
|
||||
|
||||
NodeImage* n = new NodeImage;
|
||||
n->m_path = "data/ui/p-black.png";
|
||||
n->m_tex_id = const_hash("data/ui/p-black.png");
|
||||
n->create();
|
||||
n->SetPositioning(YGPositionTypeAbsolute);
|
||||
//n->SetPosition(100, 100);
|
||||
YGNodeStyleSetPosition(n->y_node, YGEdgeBottom, 10);
|
||||
YGNodeStyleSetPosition(n->y_node, YGEdgeLeft, 10);
|
||||
n->SetSize(40, 60);
|
||||
layout[main_id]->add_child(n);
|
||||
/*
|
||||
if (auto* slider = layout[main_id]->find<NodeSliderH>("frames-slider"))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user