⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 psl_bitmap_bank.cpp

📁 这是DVD中伺服部分的核心代码
💻 CPP
字号:
/*****************************************************************************
******************************************************************************
**                                                                          **
**  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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -