1 //============================================================================= 2 // MuseScore 3 // Music Composition & Notation 4 // 5 // Copyright (C) 2017 Werner Schweer 6 // 7 // This program is free software; you can redistribute it and/or modify 8 // it under the terms of the GNU General Public License version 2 9 // as published by the Free Software Foundation and appearing in 10 // the file LICENCE.GPL 11 //============================================================================= 12 13 #ifndef __FOTOMODE_H__ 14 #define __FOTOMODE_H__ 15 16 #include "libmscore/lasso.h" 17 18 namespace Ms { 19 20 //--------------------------------------------------------- 21 // FotoLasso 22 //--------------------------------------------------------- 23 24 class FotoLasso : public Lasso { 25 public: FotoLasso(Score * s)26 FotoLasso(Score* s) : Lasso(s) {} 27 virtual void startEdit(EditData&) override; 28 virtual void endEdit(EditData&) override; 29 virtual void drawEditMode(QPainter*, EditData&) override; 30 initialEditModeGrip()31 Grip initialEditModeGrip() const override { return Grip(0); } defaultGrip()32 Grip defaultGrip() const override { return Grip(0); } // TODO 33 }; 34 35 } 36 37 #endif 38 39 40 41