?? mso_button.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 + -