ba19f3c1dd
git-svn-id: svn://localhost/gambas/trunk@893 867c0c6c-44f3-4631-809d-bfa615b0a4ec
34 lines
556 B
C++
34 lines
556 B
C++
#ifndef __GMOVIEBOX_H
|
|
#define __GMOVIEBOX_H
|
|
|
|
class gMovieBox : public gControl
|
|
{
|
|
public:
|
|
gMovieBox(gContainer *parent);
|
|
~gMovieBox();
|
|
|
|
//"Properties"
|
|
long foreground();
|
|
long background();
|
|
int getBorder() { return getFrameBorder(); }
|
|
bool playing();
|
|
|
|
void setForeground(long vl);
|
|
void setBackground(long vl);
|
|
void setBorder(int vl) { setFrameBorder(vl); }
|
|
void setPlaying(bool vl);
|
|
|
|
//"Methods"
|
|
bool loadMovie(char *buf,long len);
|
|
|
|
//"Private"
|
|
bool pl;
|
|
guint timeout;
|
|
GdkPixbufAnimation *animation;
|
|
GdkPixbufAnimationIter *iter;
|
|
|
|
|
|
};
|
|
|
|
#endif
|