📄 mfw_icn.h
字号:
/*
+--------------------------------------------------------------------+
| PROJECT: MMI-Framework (8417) $Workfile:: mfw_icn.h $|
| $Author: root $ CONDAT GmbH $Revision: 1.1.1.1 $|
| CREATED: 23.11.98 $Modtime:: 23.03.00 8:58 $|
| STATE : code |
+--------------------------------------------------------------------+
MODULE : MFW_ICN
PURPOSE : icon types & constants
EXPORT :
TO DO :
$History:: mfw_icn.h $
*
* ***************** Version 5 *****************
* User: Es Date: 23.03.00 Time: 14:41
* Updated in $/GSM/Condat/MS/SRC/MFW
* Added icnUnhide(); removed 'update()' from 'hide()' and 'unhide()'
*
* ***************** Version 4 *****************
* User: Le Date: 6.01.00 Time: 9:23
* Updated in $/GSM/Condat/MS/SRC/MFW
* Alignment of MFW versions
*
* ***************** Version 4 *****************
* User: Rm Date: 12/03/99 Time: 10:16a
* Updated in $/GSM/Condat/SND-MMI/MFW
* new parameter by icnCycle
*
* ***************** Version 3 *****************
* User: Es Date: 24.11.99 Time: 11:55
* Updated in $/GSM/Condat/SND-MMI/MFW
* improved 'icnHide()' (really hides the icon now).
*
* ***************** Version 2 *****************
* User: Es Date: 22.11.99 Time: 10:29
* Updated in $/GSM/Condat/SND-MMI/MFW
*
* ***************** Version 1 *****************
* User: Es Date: 18.11.99 Time: 16:35
* Created in $/GSM/Condat/SND-MMI/MFW
* Initial
*/
#ifndef _DEF_MFW_ICN_H_
#define _DEF_MFW_ICN_H_
/* ICON EVENTS */
#define E_ICN_VISIBLE 0x00000001 /* icon is displayed */
typedef struct MfwIcnAttrTag /* icon attribute structure */
{
MfwRect area; /* icon area */
U8 nIcons; /* number of icons */
char *icons; /* icon bitmaps */
} MfwIcnAttr;
typedef struct MfwIcnTag /* icon control block */
{
MfwEvt mask; /* selection of events */
MfwEvt flags; /* current signaled event */
MfwCb handler; /* event handler */
MfwIcnAttr *attr; /* icon attributes */
U8 index; /* cycle index */
} MfwIcn;
MfwHnd icnCreate (MfwHnd w, MfwIcnAttr *a, MfwEvt e, MfwCb f);
MfwRes icnInit (void);
MfwRes icnExit (void);
MfwRes icnDelete (MfwHnd i);
MfwRes icnShow (MfwHnd i);
MfwRes icnHide (MfwHnd i);
MfwRes icnUnhide (MfwHnd i);
MfwRes icnUpdate (MfwIcn *i);
MfwRes icnCycle (MfwHnd i,int o);
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -