MuseScore  3.4
Music composition and notation
fotomode.h
Go to the documentation of this file.
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:
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 
31  Grip initialEditModeGrip() const override { return Grip(0); }
32  Grip defaultGrip() const override { return Grip(0); } // TODO
33  };
34 
35 }
36 
37 #endif
38 
39 
40 
FotoLasso(Score *s)
Definition: fotomode.h:26
Grip defaultGrip() const override
Definition: fotomode.h:32
Definition: fotomode.h:24
Definition: score.h:391
virtual void drawEditMode(QPainter *, EditData &) override
Definition: fotomode.cpp:60
Grip
Definition: element.h:43
virtual void startEdit(EditData &) override
Definition: fotomode.cpp:32
Definition: lasso.h:24
Definition: aeolus.cpp:26
Definition: element.h:111
virtual void endEdit(EditData &) override
Definition: fotomode.cpp:51
Grip initialEditModeGrip() const override
Definition: fotomode.h:31