git-svn-id: https://svn.code.sf.net/p/pianobooster/code/trunk@119 ba081f5d-443b-49a7-ac4b-446c3f91f371
This commit is contained in:
parent
4749dcb48a
commit
4e95043ff7
|
@ -351,6 +351,8 @@ void CGLView::init()
|
|||
}
|
||||
|
||||
setFocusPolicy(Qt::ClickFocus);
|
||||
|
||||
m_score->init();
|
||||
|
||||
// increased the tick time for Midi handling
|
||||
m_timer.start(4, this ); // was 12
|
||||
|
|
|
@ -44,6 +44,10 @@ CScore::CScore(CSettings* settings) : CDraw(settings)
|
|||
}
|
||||
|
||||
m_activeScroll = 0;
|
||||
}
|
||||
|
||||
void CScore::init() {
|
||||
m_activeScroll = 0;
|
||||
m_scroll[m_activeScroll]->showScroll(true);
|
||||
m_scoreDisplayListId = 0;//glGenLists (1);
|
||||
m_stavesDisplayListId = glGenLists (1);
|
||||
|
|
|
@ -43,6 +43,9 @@ public:
|
|||
CScore(CSettings* settings);
|
||||
|
||||
~CScore();
|
||||
|
||||
void init();
|
||||
|
||||
|
||||
|
||||
//! add a midi event to be analysed and displayed on the score
|
||||
|
|
Loading…
Reference in New Issue
Block a user