[an error occurred while processing this directive]
Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

hugin1/hugin/PreviewIdentifyTool.h

Go to the documentation of this file.
00001 // -*- c-basic-offset: 4 -*-
00022 #ifndef _PREVIEWIDENTIFYTOOL_H
00023 #define _PREVIEWIDENTIFYTOOL_H
00024 
00025 #include "PreviewTool.h"
00026 #include <set>
00027 
00028 class GLPreviewFrame;
00029 
00042 class PreviewIdentifyTool : public PreviewTool
00043 {
00044 public:
00045     PreviewIdentifyTool(PreviewToolHelper *helper, GLPreviewFrame *owner);
00046     ~PreviewIdentifyTool();
00047     void Activate();
00048     void ImagesUnderMouseChangedEvent();
00049     void AfterDrawImagesEvent();
00050     bool BeforeDrawImageEvent(unsigned int image);
00054     void ShowImageNumber(unsigned int image);
00056     void StopShowingImages();
00058     void MouseButtonEvent(wxMouseEvent & e);
00059 private:
00061     void HighlightColour(unsigned int index, unsigned int count,
00062                         unsigned char &red, unsigned char &green,
00063                         unsigned char &blue);
00065     unsigned int circle_border_tex;
00067     unsigned int rectangle_border_tex;
00069     std::set<unsigned int> image_set;
00070     GLPreviewFrame *preview_frame;
00072     unsigned int mouse_over_image;
00073     bool mouse_is_over_button;
00074 };
00075 
00076 #endif
00077 

Generated on Mon Sep 20 01:01:26 2010 for Hugintrunk by doxygen 1.3.9.1