Skip to content

Commit

Permalink
write liquescent color
Browse files Browse the repository at this point in the history
  • Loading branch information
rettinghaus committed May 27, 2024
1 parent e2f92d6 commit 0dade7c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/vrv/iomei.h
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ class Note;
class Num;
class Octave;
class Orig;
class Oriscus;
class Ornam;
class Page;
class PageElement;
Expand Down Expand Up @@ -411,6 +412,7 @@ class MEIOutput : public Output {
void WriteNc(pugi::xml_node currentNode, Nc *nc);
void WriteNeume(pugi::xml_node currentNode, Neume *neume);
void WriteNote(pugi::xml_node currentNode, Note *note);
void WriteOriscus(pugi::xml_node currentNode, Oriscus *oriscus);
void WritePlica(pugi::xml_node currentNode, Plica *plica);
void WriteProport(pugi::xml_node currentNode, Proport *proport);
void WriteQuilisma(pugi::xml_node currentNode, Quilisma *quilisma);
Expand Down Expand Up @@ -723,6 +725,7 @@ class MEIInput : public Input {
bool ReadNc(Object *parent, pugi::xml_node nc);
bool ReadNeume(Object *parent, pugi::xml_node note);
bool ReadNote(Object *parent, pugi::xml_node note);
bool ReadOriscus(Object *parent, pugi::xml_node oriscus);
bool ReadPlica(Object *parent, pugi::xml_node plica);
bool ReadProport(Object *parent, pugi::xml_node proport);
bool ReadQuilisma(Object *parent, pugi::xml_node quilisma);
Expand Down
1 change: 1 addition & 0 deletions src/iomei.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2585,6 +2585,7 @@ void MEIOutput::WriteLiquescent(pugi::xml_node currentNode, Liquescent *liquesce

WriteLayerElement(currentNode, liquescent);
WritePositionInterface(currentNode, liquescent);
liquescent->WriteColor(currentNode);
}

void MEIOutput::WriteMensur(pugi::xml_node currentNode, Mensur *mensur)
Expand Down
4 changes: 4 additions & 0 deletions src/nc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#include "elementpart.h"
#include "functor.h"
#include "liquescent.h"
#include "oriscus.h"
#include "quilisma.h"
#include "staff.h"
#include "vrv.h"
Expand Down Expand Up @@ -91,6 +92,9 @@ bool Nc::IsSupportedChild(Object *child)
if (child->Is(LIQUESCENT)) {
assert(dynamic_cast<Liquescent *>(child));
}
else if (child->Is(ORISCUS)) {
assert(dynamic_cast<Oriscus *>(child));
}
else if (child->Is(QUILISMA)) {
assert(dynamic_cast<Quilisma *>(child));
}
Expand Down

0 comments on commit 0dade7c

Please sign in to comment.