Skip to content

Commit

Permalink
Input activity icon
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxras committed Mar 21, 2012
1 parent 55ba716 commit 59183f3
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions oom/icons.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -847,6 +847,7 @@ QPixmap* automation_track_OffIcon;
QPixmap* automation_track_OverIcon;
QPixmap* instrument_track_OffIcon;
QPixmap* instrument_track_OverIcon;
QPixmap* instrument_track_ActiveIcon;

QPixmap* instrument_OnIcon;
QPixmap* instrument_OffIcon;
Expand Down Expand Up @@ -1693,6 +1694,7 @@ void initIcons()

instrument_track_OffIcon = new MPIXMAP(":/images/icons/instrument_track_new_off.png", NULL);
instrument_track_OverIcon = new MPIXMAP(":/images/icons/instrument_track_new_over.png", NULL);
instrument_track_ActiveIcon = new MPIXMAP(":/images/icons/input_note.png", NULL);

instrument_OnIcon = new MPIXMAP(":/images/instrument_new_on.png", NULL);
instrument_OffIcon = new MPIXMAP(":/images/instrument_new_off.png", NULL);
Expand Down
1 change: 1 addition & 0 deletions oom/icons.h
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,7 @@ extern QPixmap* automation_track_OffIcon;
extern QPixmap* automation_track_OverIcon;
extern QPixmap* instrument_track_OffIcon;
extern QPixmap* instrument_track_OverIcon;
extern QPixmap* instrument_track_ActiveIcon;
extern QPixmap* instrument_OnIcon;
extern QPixmap* instrument_OffIcon;
extern QPixmap* instrument_OverIcon;
Expand Down
1 change: 1 addition & 0 deletions oom/oom.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,7 @@

<file>images/icons/instrument_track_new_over.png</file>
<file>images/icons/instrument_track_new_off.png</file>
<file>images/icons/input_note.png</file>

<file>images/automation_menu_title.png</file>
<file>images/instrument_menu_title.png</file>
Expand Down
2 changes: 1 addition & 1 deletion oom/widgets/trackheader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ void TrackHeader::heartBeat()/*{{{*/
if (!m_midiDetect)
{
m_midiDetect = true;
m_btnInstrument->setIcon(QIcon(*instrument_track_OverIcon));
m_btnInstrument->setIcon(QIcon(*instrument_track_ActiveIcon));
//m_btnAutomation->setIcon(QIcon(*input_indicator_OnIcon));
}
break;
Expand Down

0 comments on commit 59183f3

Please sign in to comment.