Revert knob dots, make knob arc use palette, remove bb-editor image... bye bye TR-808 :(

This commit is contained in:
Vesa
2014-01-24 01:58:51 +02:00
parent 34d67da5a1
commit 772491b9fb
5 changed files with 5 additions and 6 deletions

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -116,9 +116,6 @@ bbEditor::bbEditor( bbTrackContainer* tc ) :
tr( "Click here to stop playing of current "
"beat/bassline." ) );
QLabel * l = new QLabel( m_toolBar );
l->setPixmap( embed::getIconPixmap( "drum" ) );
m_bbComboBox = new comboBox( m_toolBar );
m_bbComboBox->setFixedSize( 200, 22 );
m_bbComboBox->setModel( &tc->m_bbComboBoxModel );
@@ -134,7 +131,6 @@ bbEditor::bbEditor( bbTrackContainer* tc ) :
tb_layout->addStretch();
tb_layout->addWidget( remove_bar );
tb_layout->addWidget( add_bar );
tb_layout->addWidget( l );
tb_layout->addSpacing( 15 );
engine::mainWindow()->workspace()->addSubWindow( this );

View File

@@ -328,8 +328,11 @@ void knob::drawKnob( QPainter * _p )
const int arcLineWidth = 2;
const int arcRectSize = m_knobPixmap->width() - arcLineWidth;
p.setPen( QPen( QColor( 255, 255, 255, 70 ), 2 ) );
QColor col = QApplication::palette().color( QPalette::Active, QPalette::WindowText );
col.setAlpha( 70 );
p.setPen( QPen( col, 2 ) );
p.drawArc( mid.x() - arcRectSize/2, 1, arcRectSize, arcRectSize, 315*16, 16*m_totalAngle );
switch( m_knobNum )