I have the movie now playing but it is stuck in the top left hand corner of 
the screen.

How can I position the window to not show any borders and be centered in the
screen?

=======================  Code Bit Start =========================

class Player:public QWidget, public PlayerWidget
{
protected:

        IAviPlayer2 *player;
public:
        Player(QWidget *parent=NULL):QWidget(parent)
        {
                player=NULL;
        }

        void start(const char *fn)
        {
                qWarning(">>start");
                stop();
                try
                {

                player=CreateAviPlayer2(this, x11Display(), fn, NULL);
        
                }
                catch (FatalError &error)
                {
                        qWarning("FATAL ERROR");
                        stop();
                }

                qWarning("<<start");
                player->Start();
                
        }

======================= Code Bit End ========================

_______________________________________________
Avifile mailing list
[EMAIL PROTECTED]
http://prak.org/mailman/listinfo/avifile

Reply via email to