data: fixes and improvements
* save forward declarations of classes and structs as NODE_UNDEFINED_TYPE * put whole files on top in snippet sorting * uses aggregation count as weight in graph layouting instead of adding all edges to graph * refreshing all views of components on MessageRefresh in ComponentManager * reloading ApplikatinoSettings on MessageRefresh
This commit is contained in:
@@ -49,3 +49,11 @@ void ComponentManager::setup(ViewLayout* viewLayout)
|
||||
ComponentManager::ComponentManager()
|
||||
{
|
||||
}
|
||||
|
||||
void ComponentManager::handleMessage(MessageRefresh* message)
|
||||
{
|
||||
for (std::shared_ptr<Component> component : m_components)
|
||||
{
|
||||
component->getView<View>()->refreshView();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user