Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
QTBigScreen.h
////////// |
// |
// File: QTBigScreen.h |
// |
// Contains: Code for playing QuickTime movies fullscreen. |
// |
// Written by: Tim Monroe |
// |
// Copyright: © 2002 by Apple Computer, Inc., all rights reserved. |
// |
// Change History (most recent first): |
// |
// <1> 07/01/02 rtm first file |
// |
////////// |
////////// |
// |
// header files |
// |
////////// |
#include "ComApplication.h" |
#if TARGET_OS_MAC |
#include "MacFramework.h" |
#endif |
#if TARGET_OS_WIN32 |
#include "WinFramework.h" |
#endif |
////////// |
// |
// compiler defines |
// |
////////// |
#define END_FULLSCREEN_AT_MOVIE_END 0 |
////////// |
// |
// constants |
// |
////////// |
////////// |
// |
// function prototypes |
// |
////////// |
ApplicationDataHdl QTBig_InitWindowData (WindowObject theWindowObject); |
void QTBig_DumpWindowData (WindowObject theWindowObject); |
OSErr QTBig_StartFullscreen (WindowObject theWindowObject); |
OSErr QTBig_StopFullscreen (WindowObject theWindowObject); |
#if END_FULLSCREEN_AT_MOVIE_END |
Boolean QTBig_MovieIsStoppable (MovieController theMC); |
void QTBig_InstallCallBack (WindowObject theWindowObject); |
PASCAL_RTN void QTBig_FullscreenCallBack (QTCallBack theCallBack, long theRefCon); |
#endif |
#if TARGET_OS_WIN32 |
LRESULT CALLBACK QTBig_HandleMessages (HWND theWnd, UINT theMessage, UINT wParam, LONG lParam); |
#endif |
void QTFrame_SetWindowVisState (WindowObject theWindowObject, Boolean theState); |
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-01-14