Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PreviewGuideTool.h
Go to the documentation of this file.
1 // -*- c-basic-offset: 4 -*-
2 
11 /* This program is free software; you can redistribute it and/or
12  * modify it under the terms of the GNU General Public
13  * License as published by the Free Software Foundation; either
14  * version 2 of the License, or (at your option) any later version.
15  *
16  * This software is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19  * General Public License for more details.
20  *
21  * You should have received a copy of the GNU General Public
22  * License along with this software. If not, see
23  * <http://www.gnu.org/licenses/>.
24  *
25  */
26 
27 #ifndef _PREVIEWGUIDETOOL_H
28 #define _PREVIEWGUIDETOOL_H
29 
30 #include "Tool.h"
31 
35 {
36 public:
37  enum Guides
38  {
39  NONE=0,
40  THIRDS=1,
46  };
50  void Activate();
54  void SetGuideStyle(const Guides newGuideStyle);
56  const Guides GetGuideStyle() const;
57 private:
59 };
60 
61 #endif
PreviewGuideTool(PreviewToolHelper *helper)
constructor
const Guides GetGuideStyle() const
returns the current guide style
void ReallyAfterDrawImagesEvent()
draws the lines
ToolHelper * helper
The PreviewToolHelper that uses the same preview window and panorama as the tool should.
Definition: Tool.h:102
Draws guide lines over the panorama in fast preview window.
void SetGuideStyle(const Guides newGuideStyle)
sets the guide style to the given style
void Activate()
activate the tool