PanoDropTarget Class Reference

simple class that forward the drop to the mainframe More...

#include <MainFrame.h>

List of all members.

Public Member Functions

 PanoDropTarget (HuginBase::Panorama &p, bool imageOnly=false)
bool OnDropFiles (wxCoord x, wxCoord y, const wxArrayString &filenames)
 file drag and drop handler method

Private Attributes

bool m_imageOnly

Detailed Description

simple class that forward the drop to the mainframe

Definition at line 65 of file MainFrame.h.

Constructor & Destructor Documentation

PanoDropTarget::PanoDropTarget ( HuginBase::Panorama p,
bool  imageOnly = false 
) [inline]

Definition at line 68 of file MainFrame.h.

References m_imageOnly.

Member Function Documentation

bool PanoDropTarget::OnDropFiles ( wxCoord  x,
wxCoord  y,
const wxArrayString &  filenames 

file drag and drop handler method

Definition at line 118 of file MainFrame.cpp.

References CommandHistory::addCommand(), MainFrame::CloseProject(), containsInvalidCharacters(), DEBUG_TRACE, MainFrame::Get(), PanoCommand::GlobalCmdHist::getInstance(), HUGIN_CONV_FILENAME, MainFrame::LOAD_NEW_PROJECT, MainFrame::LoadProjectFile(), and ShowFilenameWarning().

Member Data Documentation

bool PanoDropTarget::m_imageOnly [private]

Definition at line 76 of file MainFrame.h.

Referenced by PanoDropTarget().

HuginBase::Panorama& PanoDropTarget::pano [private]

Definition at line 75 of file MainFrame.h.

The documentation for this class was generated from the following files:
Generated on 26 Apr 2018 for Hugintrunk by  doxygen 1.4.7