//=====================================================================
/// Concrete derivative of GimmickView which implements a wxWidgets-based view
+
class WxGimmickView : public wxPanel, virtual public GimmickView
{
public:
+
typedef int EventType;
/// Ctor
void OnSelectionChange(std::vector<tree::Node*>& s);
///Stops the player
void StopPlayer(){mViewer->StopPlayer();}
+ ///Resets the default image
+ void ClearSelection();
///Sends a request to read the currently selected node and the ones that surround it.
/// AddProgress Gimmick callback
void OnAddProgress( Gimmick::AddProgress& );
- /// Processes the queue of image events
- /// Called in OnInternalIdle();
- /// (locks the MultiThreadImageReaderEvent mutex)
- void ProcessImageEvents();
/// Called upon to refresh the viewer once there are no actions to be done
void OnInternalIdle();
WxViewer* mViewer;
///Currently Displayed Node
tree::Node* mCurImageItemToShow;
+ //Pointer holders for images to be shown
+ std::vector<ImagePointerHolder*> pointers;
wxString mCurrentDirectory;