Commit 32e268bd by Alexander Wiebel

[CHANGE #414] make network items semi-transparent

parent 4a491eda
Pipeline #251 passed with stages
in 37 minutes 33 seconds
...@@ -191,6 +191,7 @@ WQtNetworkItem::WQtNetworkItem( WQtNetworkEditor* editor, boost::shared_ptr< WMo ...@@ -191,6 +191,7 @@ WQtNetworkItem::WQtNetworkItem( WQtNetworkEditor* editor, boost::shared_ptr< WMo
// no outputs but inputs -> sink // no outputs but inputs -> sink
m_itemColor = WQtNetworkColors::SinkModule; m_itemColor = WQtNetworkColors::SinkModule;
} }
m_itemColor.setAlpha( 240 );
m_hidden = new WQtNetworkItemActivator( m_module ); m_hidden = new WQtNetworkItemActivator( m_module );
m_hidden->setParentItem( this ); m_hidden->setParentItem( this );
...@@ -954,4 +955,3 @@ void WQtNetworkItem::runtimeNameChanged() ...@@ -954,4 +955,3 @@ void WQtNetworkItem::runtimeNameChanged()
// move to gui thread, non-blocking. // move to gui thread, non-blocking.
WQtGui::execInGUIThreadAsync( boost::bind( &WQtNetworkItem::setText, this, m_module->getRuntimeName()->get() ) ); WQtGui::execInGUIThreadAsync( boost::bind( &WQtNetworkItem::setText, this, m_module->getRuntimeName()->get() ) );
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment