TestWinCE Class Reference
#include <TestWinCE.h>
Inherits PHAL::Game, and openvideo::VideoSinkSubscriber.
Public Types | |
| enum | { UID = 0x0B6BE65F } |
| enum | { VIDEO_WIDTH = 320, VIDEO_HEIGHT = 240 } |
Public Member Functions | |
| TestWinCE () | |
Protected Member Functions | |
| virtual bool | OnInitialize () |
| virtual void | OnShutdown () |
| virtual bool | OnGameLoop () |
| virtual void | OnStylusDown (PHAL::Point p) |
| virtual void | initPixelFormats () |
| virtual void | update (openvideo::State *curState) |
| void | drawVideo (PHAL::Display *nDisplay, bool nZoom) |
Private Attributes | |
| bool | rotateSamples |
| bool | showZoomed |
| unsigned short * | videoPixels |
| openvideo::Manager * | manager |
| HANDLE | hThread |
| DWORD | dwThreadId |
Member Enumeration Documentation
|
|
Definition at line 14 of file TestWinCE.h. |
|
|
Definition at line 16 of file TestWinCE.h. |
Constructor & Destructor Documentation
|
|
Definition at line 22 of file TestWinCE.cpp. References dwThreadId, hThread, init(), PHAL::Game::m_config, rotateSamples, showZoomed, VIDEO_HEIGHT, VIDEO_WIDTH, and videoPixels. |
Member Function Documentation
|
||||||||||||
|
Definition at line 111 of file TestWinCE.cpp. References VIDEO_HEIGHT, VIDEO_WIDTH, and videoPixels. |
|
|
return value = the number of supported input formats. the formats are stored in 'pixelFormats'. Implements openvideo::Node. Definition at line 185 of file TestWinCE.cpp. References openvideo::FORMAT_B8G8R8, openvideo::FORMAT_R5G6B5, openvideo::FORMAT_R8G8B8, and openvideo::Node::pixelFormats. |
|
|
Reimplemented from PHAL::Game. Definition at line 72 of file TestWinCE.cpp. References PHAL::Clear(), PHAL::COLOR_BLACK, PHAL::DrawText(), PHAL::Game::GetDisplay(), and PHAL::Game::GetFPSString(). |
|
|
Reimplemented from PHAL::Game. Definition at line 40 of file TestWinCE.cpp. References openvideo::Manager::getInstance(), openvideo::Manager::getNode(), manager, openvideo::Manager::parseConfiguration(), openvideo::Manager::run(), and openvideo::VideoSink::subscribe(). |
|
|
Reimplemented from PHAL::Game. Definition at line 63 of file TestWinCE.cpp. |
|
|
Definition at line 90 of file TestWinCE.cpp. References rotateSamples, and showZoomed. |
|
|
Implements openvideo::VideoSinkSubscriber. Definition at line 194 of file TestWinCE.cpp. References openvideo::Node::state, VIDEO_HEIGHT, VIDEO_WIDTH, and videoPixels. |
Member Data Documentation
|
|
Definition at line 43 of file TestWinCE.h. Referenced by TestWinCE(). |
|
|
Definition at line 42 of file TestWinCE.h. Referenced by TestWinCE(). |
|
|
Definition at line 40 of file TestWinCE.h. Referenced by OnInitialize(). |
|
|
Definition at line 35 of file TestWinCE.h. Referenced by OnStylusDown(), and TestWinCE(). |
|
|
Definition at line 35 of file TestWinCE.h. Referenced by OnStylusDown(), and TestWinCE(). |
|
|
Definition at line 38 of file TestWinCE.h. Referenced by drawVideo(), TestWinCE(), and update(). |
The documentation for this class was generated from the following files:
