40 #ifndef INCLUDE_GLS_MOVIE_TEXTURE_H 
   41 #define INCLUDE_GLS_MOVIE_TEXTURE_H 
   46 #if( defined( GLSGEN_EXPORT_GLSMOVIETEXTURE ) || defined( GLSGEN_IMPORT_GLSMOVIETEXTURE ) || defined( GLS_EXPORT_GENERATED ) || defined( GLS_IMPORT_GENERATED ) ) \ 
   47     && defined( _MSC_VER ) 
   48 #    if defined( GLSGEN_EXPORT_GLSMOVIETEXTURE ) || defined( GLS_EXPORT_GENERATED ) 
   49 #        define GLSGEN_GLSMOVIETEXTURE_EXPORT __declspec( dllexport ) 
   51 #        define GLSGEN_GLSMOVIETEXTURE_EXPORT __declspec( dllimport ) 
   54 #    define GLSGEN_GLSMOVIETEXTURE_EXPORT 
   58 #define LIB_BASE_NAME "gls_movie_texture" 
   63 #ifndef NO_GLS_AUTOLIB 
   64 #    define LIB_BASE_NAME "strmbase" 
   68 #    define GLS_LIB_TYPE "" 
   81     GLS_GLSMOVIETEXTURE_FIRST_VALUE = GLS_LAST_INITIALIZER + 1,
 
   82     GLS_GLSMOVIETEXTURE_MOVIESOURCE,
 
   83     GLS_GLSMOVIETEXTURE_LOOP,
 
   84     GLS_GLSMOVIETEXTURE_SOUNDENABLED,
 
   85     GLS_GLSMOVIETEXTURE_SOUNDVOLUME
 
   91     friend class GlsMovieTextureEditor;
 
  103     GLSGEN_GLSMOVIETEXTURE_EXPORT 
GlsMovieTexture( 
bool generateInstance = 
false );
 
  105     GLSGEN_GLSMOVIETEXTURE_EXPORT GlsMovieTexture( 
const GlsMovieTexture& that, 
const bool generateNames );
 
  110     static GLSGEN_GLSMOVIETEXTURE_EXPORT 
DisplayObject* CreateInstance();
 
  122     virtual GLSGEN_GLSMOVIETEXTURE_EXPORT 
void Draw( 
void );
 
  123     virtual GLSGEN_GLSMOVIETEXTURE_EXPORT 
void Calculate( 
double time );
 
  125     virtual GLSGEN_GLSMOVIETEXTURE_EXPORT 
void SetValue( 
int spec, va_list& args );
 
  136     virtual GLSGEN_GLSMOVIETEXTURE_EXPORT 
void Loop( 
const bool& should_loop );
 
  137     virtual GLSGEN_GLSMOVIETEXTURE_EXPORT 
bool Loop();
 
  140     virtual GLSGEN_GLSMOVIETEXTURE_EXPORT 
void Playing( 
const bool& should_play );
 
  141     virtual GLSGEN_GLSMOVIETEXTURE_EXPORT 
bool Playing();
 
  144     virtual GLSGEN_GLSMOVIETEXTURE_EXPORT 
void Paused( 
const bool& should_pause );
 
  145     virtual GLSGEN_GLSMOVIETEXTURE_EXPORT 
bool Paused();
 
  148     virtual GLSGEN_GLSMOVIETEXTURE_EXPORT 
void  PlayPosition( 
const float& pct );
 
  149     virtual GLSGEN_GLSMOVIETEXTURE_EXPORT 
float PlayPosition();
 
  153     virtual GLSGEN_GLSMOVIETEXTURE_EXPORT 
unsigned int CurrentAbsoluteFrame();
 
  156     virtual GLSGEN_GLSMOVIETEXTURE_EXPORT 
void SoundEnabled( 
const bool& soundon );
 
  157     virtual GLSGEN_GLSMOVIETEXTURE_EXPORT 
bool SoundEnabled();
 
  160     virtual GLSGEN_GLSMOVIETEXTURE_EXPORT 
void  SoundVolume( 
const float& volume );
 
  161     virtual GLSGEN_GLSMOVIETEXTURE_EXPORT 
float SoundVolume();
 
  164     virtual GLSGEN_GLSMOVIETEXTURE_EXPORT 
int DurationInMS();
 
  177     float _playPositionPercent;
 
  180     float _previousPlayPositionPercent;
 
  183     unsigned int _currentAbsoluteFrame;
 
  186     unsigned int _previousAbsoluteFrame;
 
  189     CVideoTexture* _vidTex;
 
virtual void Playing(const bool &should_play)
virtual void SoundEnabled(const bool &soundon)
Definition: dynamic_array.h:62
virtual void CurrentAbsoluteFrame(const unsigned int &frame)
Class to contain current OpenGL view, projection and draw matrices. 
Definition: util.h:278
virtual void SetAvailableAttributes(unsigned int value)
The Polygon class. Implements Polygons. 
Definition: glpolygon.h:55
virtual void CopyProperties(DisplayObject *src)
The disti::GLPolygon class. Implements Polygons. 
virtual DisplayObject * CloneObject(bool generateNames=false)
virtual InterfaceListType * GetCppInterfaceDescription(InterfaceListType *addToThisList=NULL)
virtual int DurationInMS()
virtual void GetCppInterfaceDescriptionFree(InterfaceListType *array)
virtual GlsPropString MovieSource()
virtual void Paused(const bool &should_pause)
virtual void SetValue(int spec, va_list &args)
virtual ~GlsMovieTexture()
virtual void PlayPosition(const float &pct)
Definition: gls_movie_texture.h:89
virtual void Loop(const bool &should_loop)
virtual void SoundVolume(const float &volume)
virtual void PreDraw(const OpenGLMatrices &parentMatrices, Culler &culler)
virtual void Calculate(double time)
Macros and helper code to determine what subset of C++11/14/17 is available. 
Definition: bmpimage.h:46