~s-cecilio/lenmus/v5.1.x

« back to all changes in this revision

Viewing changes to src/app/ScoreView.h

  • Committer: cecilios
  • Date: 2009-04-05 14:41:32 UTC
  • Revision ID: svn-v4:2587a929-2f0e-0410-ae78-fe6f687d5efe:trunk:456
Added autotools files. Starting development to support score textboxes. Editor fix in caret movemet. LDP fix in chords with notes of different duration.

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
class lmComponentObj;
54
54
class lmEditFrame;
55
55
class lmScoreCanvas;
56
 
class lmScoreDocument;
 
56
class lmDocument;
57
57
class lmRuler;
58
58
class lmCaret;
59
59
class lmMainFrame;
73
73
        virtual ~lmView() {}
74
74
 
75
75
        virtual lmController* GetController()=0;
76
 
    inline lmScoreDocument* GetDocument() { return m_pDoc; }
 
76
    inline lmDocument* GetDocument() { return m_pDoc; }
77
77
    virtual void OnDraw(wxDC* dc)=0;
78
78
 
79
79
 
80
80
protected:
81
81
    lmView() : wxView() {}
82
 
    lmScoreDocument*    m_pDoc;             //the MVC document (M)
 
82
    lmDocument*    m_pDoc;             //the MVC document (M)
83
83
 
84
84
};
85
85
 
136
136
 
137
137
    //access to components
138
138
    inline lmController* GetController() { return (lmController*)m_pCanvas; }
139
 
    inline lmScoreDocument* GetDocument() { return m_pDoc; }
 
139
    inline lmDocument* GetDocument() { return m_pDoc; }
140
140
        inline lmBoxScore* GetBoxScore() { return m_graphMngr.GetBoxScore(); }
141
141
 
142
142