DrawingParameters.js 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. "use strict";
  2. var DrawingParameters = (function () {
  3. function DrawingParameters() {
  4. }
  5. DrawingParameters.prototype.setForAllOn = function () {
  6. this.drawHighlights = true;
  7. this.drawErrors = true;
  8. this.drawSelectionStartSymbol = true;
  9. this.drawSelectionEndSymbol = true;
  10. this.drawCursors = true;
  11. this.drawActivitySymbols = true;
  12. this.drawScrollIndicator = true;
  13. this.drawComments = true;
  14. this.drawMarkedAreas = true;
  15. };
  16. DrawingParameters.prototype.setForThumbmail = function () {
  17. this.drawHighlights = false;
  18. this.drawErrors = false;
  19. this.drawSelectionStartSymbol = false;
  20. this.drawSelectionStartSymbol = false;
  21. this.drawCursors = false;
  22. this.drawActivitySymbols = false;
  23. this.drawScrollIndicator = false;
  24. this.drawComments = true;
  25. this.drawMarkedAreas = true;
  26. };
  27. DrawingParameters.prototype.setForLeadsheet = function () {
  28. this.drawHighlights = false;
  29. this.drawErrors = false;
  30. this.drawSelectionStartSymbol = true;
  31. this.drawSelectionEndSymbol = true;
  32. this.drawCursors = true;
  33. this.drawActivitySymbols = false;
  34. this.drawScrollIndicator = true;
  35. this.drawComments = true;
  36. this.drawMarkedAreas = true;
  37. };
  38. return DrawingParameters;
  39. }());
  40. exports.DrawingParameters = DrawingParameters;