00001 // -*- c-basic-offset: 4 -*- 00002 00011 /* This program is free software; you can redistribute it and/or 00012 * modify it under the terms of the GNU General Public 00013 * License as published by the Free Software Foundation; either 00014 * version 2 of the License, or (at your option) any later version. 00015 * 00016 * This software is distributed in the hope that it will be useful, 00017 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00018 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00019 * General Public License for more details. 00020 * 00021 * You should have received a copy of the GNU General Public 00022 * License along with this software; if not, write to the Free Software 00023 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00024 * 00025 */ 00026 00027 #ifndef _PREVIEWGUIDETOOL_H 00028 #define _PREVIEWGUIDETOOL_H 00029 00030 #include "Tool.h" 00031 00034 class PreviewGuideTool : public PreviewTool 00035 { 00036 public: 00037 enum Guides 00038 { 00039 NONE=0, 00040 THIRDS=1, 00041 GOLDENRATIO=2, 00042 DIAGONAL=3, 00043 DIAGONAL_METHOD=4, 00044 TRIANGLE_DOWN=5, 00045 TRIANGLE_UP=6 00046 }; 00048 PreviewGuideTool(PreviewToolHelper *helper); 00050 void Activate(); 00052 void ReallyAfterDrawImagesEvent(); 00054 void SetGuideStyle(const Guides newGuideStyle); 00056 const Guides GetGuideStyle() const; 00057 private: 00058 Guides m_guide; 00059 }; 00060 00061 #endif
1.3.9.1