Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | Related Pages

wftk::VideoWidget Class Reference

Video player widget. More...

#include <videowidget.h>

Inheritance diagram for wftk::VideoWidget:

wftk::ScreenArea wftk::Video wftk::Sound wftk::Surface List of all members.

Public Member Functions

 VideoWidget ()
 Contstruct with given origin (top-left) and dimensions.

virtual bool load (const std::string &filename, double scale=1)
 load the video


Protected Member Functions

virtual void handleResize (Uint16 w, Uint16 h)
 Calculate new shape for shaped widgets, call to setShape() after a resize.

virtual void setPackingInfo ()
 recalculate the object's prefered size


Detailed Description

Video player widget.


The documentation for this class was generated from the following files:

Generated Thu Mar 18 20:06:05 2004.
Copyright © 1998-2003 by the respective authors.

This document is licensed under the terms of the GNU Free Documentation License and may be freely distributed under the conditions given by this license.