Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members
X11FrameBuffer Class Reference
This class serves as a frame buffer and event handler of a SDL RGB Surface widget for displaying video frames. More...
#include <X11FrameBuffer.hpp>
Inheritance diagram for X11FrameBuffer:
Public Member Functions | |
X11FrameBuffer (Display *display, Window *xwin, int depth, bool gray, int width, int height) | |
Constructor. | |
virtual | ~X11FrameBuffer () |
Destructor. | |
void | setPixel (int x, int y, uint value) |
Set a pixel in the frame buffer. | |
void | bitBlt (AU *au) |
does the fast bitblitting of the full (and unscaled) Frame | |
void | postPaintEvent () |
Post a custom event for this object to display the frame buffer on the SDL surface. | |
Protected Attributes | |
Display * | display |
Window * | xwin |
GC | gc |
XImage * | image |
char * | pixmap |
int | width |
int | height |
int | row_size |
uint * | pixel32 |
unsigned short int * | pixel16 |
int | depth |
Detailed Description
This class serves as a frame buffer and event handler of a SDL RGB Surface widget for displaying video frames.
- Author:
- Michael Kropfberger
- Version:
- Id
- X11FrameBuffer.hpp,v 1.8 2005/04/19 12:51:55 mkropfbe Exp
Definition at line 72 of file X11FrameBuffer.hpp.
Constructor & Destructor Documentation
|
Constructor.
|
Member Function Documentation
|
Post a custom event for This is thread-safe and will cause the GUI thread to invoke customEvent(). We need to use custom events, as hidden widgets will not receive paint events. Implements VideoFrameBuffer. Definition at line 114 of file X11FrameBuffer.cpp.
|
|
Set a pixel in the frame buffer. the frame buffer should be locked before setPixel() by calling the lock() method. Reimplemented from VideoFrameBuffer. Definition at line 94 of file X11FrameBuffer.cpp.
|
The documentation for this class was generated from the following files: