コード例 #1
0
  private void writeDivisionType(TGDivisionType divisionType) {
    // escribo los enters
    writeByte(divisionType.getEnters());

    // escribo los tiempos
    writeByte(divisionType.getTimes());
  }
コード例 #2
0
 private TGDivisionType createDivisionType(TGDivisionType tgDivisionTypeSrc) {
   TGFactory tgFactory =
       TGDocumentManager.getInstance(this.findContext()).getSongManager().getFactory();
   TGDivisionType tgDivisionTypeDst = tgFactory.newDivisionType();
   tgDivisionTypeDst.copyFrom(tgDivisionTypeSrc);
   return tgDivisionTypeDst;
 }
コード例 #3
0
ファイル: TGInputStream.java プロジェクト: snowd/tuxguitar
  private void readDivisionType(TGDivisionType divisionType) {
    // leo los enters
    divisionType.setEnters(readByte());

    // leo los tiempos
    divisionType.setTimes(readByte());
  }