|
PEBL 2.2
Psychology Experiment Building Language - Cross-platform psychological experiment development system
|
#include <PMovie.h>
Public Member Functions | |
| PMovie () | |
| virtual | ~PMovie () |
| virtual bool | SetProperty (std::string, Variant v) |
| virtual Variant | GetProperty (std::string) const |
| virtual ObjectValidationError | ValidateProperty (std::string, Variant v) const |
| virtual ObjectValidationError | ValidateProperty (std::string) const |
| virtual long int | GetLength () |
| virtual void | SetPosition (int x, int y) |
| virtual void | SetSize (int width, int height) |
| virtual std::string | ObjectName () const |
| virtual void | SetPlaybackPosition (unsigned long int x) |
| virtual void | SetVolume (long double vol) |
Public Member Functions inherited from PWidget | |
| PWidget () | |
| PWidget (const PWidget &pw) | |
| PWidget (pInt x, pInt y, pInt width, pInt height, bool visible) | |
| virtual | ~PWidget () |
| virtual bool | RotoZoom (pDouble angle, pDouble zoomx, pDouble zoomy, pInt smooth) |
| virtual bool | SetPoint (pInt x, pInt y, PColor col) |
| virtual PColor | GetPixel (pInt x, pInt y) |
| virtual void | SetParent (PWidget *widget) |
| This unconditionally sets the parent widget. | |
| virtual PWidget * | GetParent () |
| virtual bool | IsParent (PWidget *parent) |
| virtual bool | Draw () |
| virtual void | SetPosition (pInt x, pInt y) |
| This sets the widget's position on its parent widget. | |
| virtual void | SetZoomX (pDouble x) |
| This sets the widget's position on its parent widget. | |
| virtual void | SetZoomY (pDouble x) |
| This sets the widget's position on its parent widget. | |
| virtual void | SetRotation (pDouble x) |
| This sets the widget's position on its parent widget. | |
| virtual void | SetWidth (pInt w) |
| virtual void | SetHeight (pInt h) |
| virtual pInt | GetX () const |
| virtual pInt | GetY () const |
| virtual pInt | GetWidth () const |
| virtual pInt | GetHeight () const |
| virtual void | SetBackgroundColor (const PColor &color) |
| virtual PColor | GetBackgroundColor () |
| virtual bool | AddSubWidget (PWidget *widget) |
| virtual bool | RemoveSubWidget (PWidget *widget) |
| virtual bool | RemoveSubWidgets () |
| virtual bool | RemoveLastSubWidget () |
| This is probably pretty useless. | |
| virtual void | Show () |
| virtual void | Hide () |
| virtual bool | IsVisible () const |
Public Member Functions inherited from PEBLObjectBase | |
| PEBLObjectBase () | |
| Standard Constructor. | |
| PEBLObjectBase (ComplexDataType cdt) | |
| Standard Constructor. | |
| PEBLObjectBase (const PEBLObjectBase &pob) | |
| virtual | ~PEBLObjectBase () |
| Standard Destructor. | |
| virtual bool | InitializeProperty (std::string name, Variant v) |
| Variant | GetProperty (std::string) const |
| ComplexDataType | GetType () |
| virtual std::ostream & | PrintProperties (std::ostream &out) |
| virtual Variant | GetPropertyList () |
Public Member Functions inherited from PDevice | |
| PDevice () | |
| The Standard constructor. | |
| virtual | ~PDevice () |
| The Standard destructor. | |
| virtual PEBL_DEVICE_TYPE | GetDeviceType () |
| virtual int | GetState (int iface) const |
Protected Member Functions | |
| virtual std::ostream & | SendToStream (std::ostream &out) const |
| An inheritable printing class used by PEBLObjectBase::operator<<. | |
Protected Attributes | |
| long int | mLength |
| double | mPlaybackPosition |
| double | mVolume |
Protected Attributes inherited from PWidget | |
| pInt | mX |
| pInt | mY |
| pInt | mDrawX |
| pInt | mDrawY |
| pInt | mWidth |
| pInt | mHeight |
| pDouble | mZoomX |
| pDouble | mZoomY |
| pDouble | mRotation |
| PColor | mBackgroundColor |
| The background color of the widget. if alpha = 0, will not be painted. | |
| std::list< PWidget * > | mSubWidgets |
| bool | mIsVisible |
| PWidget * | mParent |
Protected Attributes inherited from PEBLObjectBase | |
| ComplexDataType | mCDT |
| std::map< std::string, Variant > | mProperties |
This class, a subtype of PComplexData, is the base Object class subtypes include sounds, visual objects, etc.
| PMovie::PMovie | ( | ) |
Definition at line 35 of file PMovie.cpp.
References PEBLObjectBase::InitializeProperty().
|
inlinevirtual |
|
virtual |
Reimplemented from PWidget.
Definition at line 115 of file PMovie.cpp.
References PEBLObjectBase::GetProperty().
|
inlinevirtual |
|
inlineprotectedvirtual |
An inheritable printing class used by PEBLObjectBase::operator<<.
Reimplemented from PWidget.
Definition at line 71 of file PMovie.h.
|
virtual |
Definition at line 70 of file PMovie.cpp.
References mPlaybackPosition, and PEBLObjectBase::SetProperty().
Referenced by SetProperty().
|
virtual |
This sets the imagebox's position on its parent widget. It overrides the parent method because images positions are set by their centers.
Definition at line 50 of file PMovie.cpp.
References PWidget::GetHeight(), PWidget::GetWidth(), PWidget::mDrawX, PWidget::mDrawY, and PWidget::SetPosition().
Referenced by SetProperty().
|
virtual |
Reimplemented from PWidget.
Definition at line 85 of file PMovie.cpp.
References Variant::GetInteger(), PWidget::Hide(), PWidget::mHeight, PWidget::mWidth, PWidget::mX, PWidget::mY, pDouble, SetPlaybackPosition(), SetPosition(), PEBLObjectBase::SetProperty(), PWidget::SetProperty(), SetSize(), SetVolume(), and PWidget::Show().
|
virtual |
Definition at line 59 of file PMovie.cpp.
References PWidget::mHeight, PWidget::mWidth, and PEBLObjectBase::SetProperty().
Referenced by SetProperty().
|
virtual |
Definition at line 78 of file PMovie.cpp.
References pDouble, and PEBLObjectBase::SetProperty().
Referenced by SetProperty().
|
virtual |
Reimplemented from PWidget.
Definition at line 137 of file PMovie.cpp.
References OVE_INVALID_PROPERTY_NAME, OVE_VALID, and PWidget::ValidateProperty().
|
virtual |
Reimplemented from PWidget.
Definition at line 122 of file PMovie.cpp.
References OVE_INVALID_PROPERTY_VALUE, OVE_VALID, pDouble, and ValidateProperty().
Referenced by ValidateProperty().
|
protected |
Definition at line 72 of file PMovie.h.
Referenced by GetLength().
|
protected |
Definition at line 73 of file PMovie.h.
Referenced by SetPlaybackPosition().