-
- //================================================================
-
- bool WxViewer::ImagesEmpty()
- {
- wxMutexLocker lock(mMutex);
- return images.empty();
- }
- //================================================================
-
- //================================================================
-
- void WxViewer::SetMovieSize(unsigned int si)
- {
- wxMutexLocker lock(mMutex);
- GimmickDebugMessage(5,"WxViewer::SetMovieSize("<<(int)si<<")"
- <<std::endl);
- for (unsigned int i=0;i<images.size();++i)
- {
- if (images[i]!=0)
- {
- // images[i]->UnRegister(NULL);
- }
- }
- images.clear();
- for (unsigned int i=0;i<si;++i) images.push_back(0);
- mCurrent = 0;
- }
- //================================================================
-