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

📄 mso_button.h

📁 ZORAN 962/966 SOURCE CODE,DVD chip
💻 H
字号:
/***************************************************************************************
*  Copyright (c) 2004 ZORAN Corporation, All Rights Reserved
*  THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF ZORAN CORPORATION
*
*  File: $Workfile: o_button.h $
*
* Description:
* ============
* Project definition of the MSO_BUTTON object.
*
****************************************************************************************/
#ifndef _O_BUTTON_H
#define _O_BUTTON_H

#include "GUI\Object_class\Text\mso_text.h"
#include "GUI\Object_class\Button\mso_button_defs.h"

/***************************************************************************************
* 	Public Macros
****************************************************************************************/

// If this attribute is set, the button's appearance would toggle between
// depressed/raised when clicked. i.e. it behaves as a radio button.
#define MS_ATTR_RADIO_BUTTON		MS_ATTR_GENERAL_PURPOSE_3
#define MS_IsRadioButton		MS_IsGeneralPurpose3
#define MS_IsSetRadio			MS_IsSelected
#define MS_SetRadio				MS_SetSelected
#define MS_ResetRadio				MS_ClearSlected

/***************************************************************************************
* 	Public typdef definitions.
****************************************************************************************/

/***************************************************************************************
* 	Operation functions
****************************************************************************************/

/***************************************************************************************
*	Function	: 	ButtonOperation
*
*	In		: 	pThis	=	Pointer to the MSO_BUTTON object.
*
*				MsOp	=	Operation ID.
*
*				lParam	=	Parameter associated with an MS_OP if any.
*
*	Out		: 	None.
*
*	Return	:	ID of the operation that is to be propagated once processing is done,
*				otherwise MS_OP_NONE.
*
*	Desc 	:	This is the default operation function for all MSO_BUTTON objects.
****************************************************************************************/
MS_OP OBUTTON_Operation(MSO_OBJECT __NEAR* pThis, MS_OP MsOp, UINT32 lParam);

/***************************************************************************************
* 	Display functions
****************************************************************************************/

/***************************************************************************************
*	Function	: 	ButtonFillOSDSeg
*
*	In		: 	pThis	=	Pointer to button object.
*				pAbsArea	=	Absolute area of pThis object.
*
*	Out		: 	None.
*
*	Return	:	TRUE if successful.
*
*	Desc 	:	Default display function of all button objects.
****************************************************************************************/
#define OBUTTON_FillOSDSeg	OTEXT_FillOSDSeg

#endif // _O_BUTTON_H

⌨️ 快捷键说明

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