X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src2%2FcreaImageIOWxGimmickView.h;h=6c236cb9fa02dcff2d7b522ed5aaf37a8d473ee1;hb=88745f8677503fa747963f8cd78c52f4b3deb35e;hp=077c83b3634e5995a427a172564035ad03641c3e;hpb=45e8123561479c77ffffbcd3a6453f9dd4d12169;p=creaImageIO.git diff --git a/src2/creaImageIOWxGimmickView.h b/src2/creaImageIOWxGimmickView.h index 077c83b..6c236cb 100644 --- a/src2/creaImageIOWxGimmickView.h +++ b/src2/creaImageIOWxGimmickView.h @@ -21,9 +21,11 @@ namespace creaImageIO //===================================================================== /// Concrete derivative of GimmickView which implements a wxWidgets-based view + class WxGimmickView : public wxPanel, virtual public GimmickView { public: + typedef int EventType; /// Ctor @@ -48,6 +50,8 @@ namespace creaImageIO void OnSelectionChange(std::vector& 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. @@ -99,10 +103,6 @@ namespace creaImageIO /// 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(); @@ -116,6 +116,8 @@ namespace creaImageIO WxViewer* mViewer; ///Currently Displayed Node tree::Node* mCurImageItemToShow; + //Pointer holders for images to be shown + std::vector pointers; wxString mCurrentDirectory;