7dc9aed512
- initial clef is now determined by instrument - extend instrument to allow different clefs for stave (piano) - do not write first generated clef
36 lines
944 B
C++
36 lines
944 B
C++
//=============================================================================
|
|
// MuseScore
|
|
// Music Composition & Notation
|
|
//
|
|
// Copyright (C) 2011 Werner Schweer
|
|
//
|
|
// This program is free software; you can redistribute it and/or modify
|
|
// it under the terms of the GNU General Public License version 2
|
|
// as published by the Free Software Foundation and appearing in
|
|
// the file LICENCE.GPL
|
|
//=============================================================================
|
|
|
|
#ifndef __CLEFLIST_H__
|
|
#define __CLEFLIST_H__
|
|
|
|
#include "mscore.h"
|
|
#include "clef.h"
|
|
|
|
namespace Ms {
|
|
|
|
class Score;
|
|
|
|
//---------------------------------------------------------
|
|
// ClefList
|
|
//---------------------------------------------------------
|
|
|
|
class ClefList : public std::map<int, ClefTypeList> {
|
|
public:
|
|
ClefList() {}
|
|
ClefTypeList clef(int tick) const;
|
|
void setClef(int tick, ClefTypeList);
|
|
};
|
|
|
|
} // namespace Ms
|
|
#endif
|
|
|