psl_bitmap_bank.cpp

来自「这是DVD中伺服部分的核心代码」· C++ 代码 · 共 93 行

CPP
93
字号
/*****************************************************************************
******************************************************************************
**                                                                          **
**  Copyright (c) 2005 Videon Central, Inc.                                 **
**  All rights reserved.                                                    **
**                                                                          **
**  The computer program contained herein contains proprietary information  **
**  which is the property of Videon Central, Inc.  The program may be used  **
**  and/or copied only with the written permission of Videon Central, Inc.  **
**  or in accordance with the terms and conditions stipulated in the        **
**  agreement/contract under which the programs have been supplied.         **
**                                                                          **
******************************************************************************
*****************************************************************************/
/**
 * @file psl_bitmap_bank.cpp
 *
 * $Revision: 1.4 $ 
 *
 * Bitmap Bank Module of the PSL.
 * 
 */

#include "vdvd_types.h"
#include "psl_bitmap_bank.h"
#include "psl_interface.h"
#include "psl_types.h"
#include "psl_icons.h"
#include "dbgprint.h"

/* Debug macros */
#define DBG_PSL_BITMAP  DBG_ERROR
#define DBG_ON(x)       (DBG_PSL_BITMAP >= x)

/**
 * Icon definitions
 */
PSL_ICON    PlayIcon        = {9, 5, (PVOID)&tPLAY_ICON};
PSL_ICON    PauseIcon       = {7, 5, (PVOID)&tPAUSE_ICON};
PSL_ICON    StopIcon        = {7, 5, (PVOID)&tSTOP_ICON};
PSL_ICON    FFIcon          = {4, 5, (PVOID)&tFF_ICON};
PSL_ICON    FRIcon          = {4, 5, (PVOID)&tFR_ICON};
PSL_ICON    ProhibitedIcon  = {5, 5, (PVOID)&tPROHIBITED_ICON};
PSL_ICON    SlowFIcon       = {6, 5, (PVOID)&tSLOWF_ICON};
PSL_ICON    EjectIcon       = {6, 5, (PVOID)&tEJECT_ICON};

PSL_ICON*   PslBitmapGetPlayIcon(void)
{
    return (&PlayIcon);
}

PSL_ICON*   PslBitmapGetPauseIcon(void)
{
    return (&PauseIcon);
}

PSL_ICON*   PslBitmapGetStopIcon(void)
{
    return (&StopIcon);
}

PSL_ICON*   PslBitmapGetFFIcon(void)
{
    return (&FFIcon);
}

PSL_ICON*   PslBitmapGetFRIcon(void)
{
    return (&FRIcon);
}

PSL_ICON*   PslBitmapGetProhibitedIcon(void)
{
    return (&ProhibitedIcon);
}

PSL_ICON*   PslBitmapGetSlowFIcon(void)
{
    return (&SlowFIcon);
}

PSL_ICON*   PslBitmapGetEjectIcon(void)
{
    return (&EjectIcon);
}

PSL_STATUS  PslBitmapGetLargeFont(PVOID *pvFont)
{
    DBGPRINT(DBG_ON(DBG_ERROR), ("PslBitmapGetLargeFont: stubbed\n"));
    return (PSL_FAILURE);
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?