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;
 
   98     DISTI_DEPRECATED( 
"This identifier is forbidden by the C++ standard. Use BaseClass instead." )
 
  105     GLSGEN_GLSMOVIETEXTURE_EXPORT 
GlsMovieTexture( 
bool generateInstance = 
false );
 
  107     GLSGEN_GLSMOVIETEXTURE_EXPORT GlsMovieTexture( 
const GlsMovieTexture& that, 
const bool generateNames );
 
  112     static GLSGEN_GLSMOVIETEXTURE_EXPORT 
DisplayObject* CreateInstance();
 
  124     virtual GLSGEN_GLSMOVIETEXTURE_EXPORT 
void Draw( 
void );
 
  125     virtual GLSGEN_GLSMOVIETEXTURE_EXPORT 
void Calculate( 
double time );
 
  127     virtual GLSGEN_GLSMOVIETEXTURE_EXPORT 
void SetValue( 
int spec, va_list& args );
 
  138     virtual GLSGEN_GLSMOVIETEXTURE_EXPORT 
void Loop( 
const bool& should_loop );
 
  139     virtual GLSGEN_GLSMOVIETEXTURE_EXPORT 
bool Loop();
 
  142     virtual GLSGEN_GLSMOVIETEXTURE_EXPORT 
void Playing( 
const bool& should_play );
 
  143     virtual GLSGEN_GLSMOVIETEXTURE_EXPORT 
bool Playing();
 
  146     virtual GLSGEN_GLSMOVIETEXTURE_EXPORT 
void Paused( 
const bool& should_pause );
 
  147     virtual GLSGEN_GLSMOVIETEXTURE_EXPORT 
bool Paused();
 
  150     virtual GLSGEN_GLSMOVIETEXTURE_EXPORT 
void  PlayPosition( 
const float& pct );
 
  151     virtual GLSGEN_GLSMOVIETEXTURE_EXPORT 
float PlayPosition();
 
  155     virtual GLSGEN_GLSMOVIETEXTURE_EXPORT 
unsigned int CurrentAbsoluteFrame();
 
  158     virtual GLSGEN_GLSMOVIETEXTURE_EXPORT 
void SoundEnabled( 
const bool& soundon );
 
  159     virtual GLSGEN_GLSMOVIETEXTURE_EXPORT 
bool SoundEnabled();
 
  162     virtual GLSGEN_GLSMOVIETEXTURE_EXPORT 
void  SoundVolume( 
const float& volume );
 
  163     virtual GLSGEN_GLSMOVIETEXTURE_EXPORT 
float SoundVolume();
 
  166     virtual GLSGEN_GLSMOVIETEXTURE_EXPORT 
int DurationInMS();
 
  179     float _playPositionPercent;
 
  182     float _previousPlayPositionPercent;
 
  185     unsigned int _currentAbsoluteFrame;
 
  188     unsigned int _previousAbsoluteFrame;
 
  191     CVideoTexture* _vidTex;
 
virtual void Playing(const bool &should_play)
virtual void SoundEnabled(const bool &soundon)
#define DISTI_DEPRECATED(msg)
Defines whether this compiler supports the C++14 deprecated attribute. 
Definition: gls_cpp_lang_support.h:436
Definition: dynamic_array.h:66
virtual void CurrentAbsoluteFrame(const unsigned int &frame)
Class to contain current OpenGL view, projection and draw matrices. 
Definition: util.h:296
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