|
Scroom 0.14-48-ga0fee447
|
#include <presentationinterface.hh>


Public Types | |
| using | Ptr = std::shared_ptr< Viewable > |
| using | WeakPtr = std::weak_ptr< Viewable > |
Public Member Functions | |
| virtual void | open (ViewInterface::WeakPtr vi)=0 |
| virtual void | close (ViewInterface::WeakPtr vi)=0 |
Additional Inherited Members | |
Private Member Functions inherited from Interface | |
| Interface ()=default | |
| Interface (const Interface &)=delete | |
| Interface & | operator= (const Interface &)=delete |
| Interface (Interface &&)=delete | |
| Interface & | operator= (Interface &&)=delete |
| virtual | ~Interface ()=default |
Implement Viewable if you want to be able to receive events when a View is created and/or deleted.
You'll want to receive these events if you either want to influence something on-screen (PresentationInterface, ColormapProvider), or want to store data related to a View (TiledBitmapInterface).
| using Viewable::Ptr = std::shared_ptr<Viewable> |
| using Viewable::WeakPtr = std::weak_ptr<Viewable> |
|
pure virtual |
Gets called just before the View is destroyed
Implemented in PresentationBase, TransformPresentation, CompressedTile, Layer, TiledBitmap, Scroom::ColormapImpl::ColormapProvider, ExamplePresentation, DummyPresentation, and anonymous_namespace{determine-size-test.cc}::PresentationInterfaceStub.
|
pure virtual |
Gets called just after the View is created
Implemented in PresentationBase, TransformPresentation, CompressedTile, Layer, Scroom::ColormapImpl::ColormapProvider, TiledBitmap, ExamplePresentation, DummyPresentation, and anonymous_namespace{determine-size-test.cc}::PresentationInterfaceStub.