?? slider_private.h
字號(hào):
/*********************************************************************
* SEGGER MICROCONTROLLER SYSTEME GmbH *
* Solutions for real time microcontroller applications *
**********************************************************************
* *
* (c) 1996 - 2007 SEGGER Microcontroller Systeme GmbH *
* *
* Internet: www.segger.com Support: support@segger.com *
* *
**********************************************************************
** emWin V4.14 - Graphical user interface for embedded applications **
emWin is protected by international copyright laws. Knowledge of the
source code may not be used to write a similar product. This file may
only be used in accordance with a license and should not be re-
distributed in any way. We appreciate your understanding and fairness.
----------------------------------------------------------------------
File : SLIDER_Private.h
Purpose : SLIDER private header file
--------------------END-OF-HEADER-------------------------------------
*/
#ifndef SLIDER_PRIVATE_H
#define SLIDER_PRIVATE_H
#include "WM.h"
#include "WIDGET.h"
#include "SLIDER.h"
#if GUI_WINSUPPORT
/*********************************************************************
*
* Object definition
*
**********************************************************************
*/
typedef struct {
GUI_COLOR BkColor;
GUI_COLOR BarColor;
GUI_COLOR FocusColor;
GUI_COLOR TickColor;
} SLIDER_PROPS;
typedef struct {
WIDGET Widget;
SLIDER_PROPS Props;
int Min, Max, v;
int Flags;
int NumTicks;
I16 Width;
#if GUI_DEBUG_LEVEL >1
int DebugId;
#endif
} SLIDER_Obj;
/*********************************************************************
*
* Macros for internal use
*
**********************************************************************
*/
#if GUI_DEBUG_LEVEL >= GUI_DEBUG_LEVEL_CHECK_ALL
SLIDER_Obj * SLIDER_h2p(SLIDER_Handle h);
#define SLIDER_H2P(h) SLIDER_h2p(h)
#define SLIDER_INIT_ID(p) p->DebugId = SLIDER_ID
#else
#define SLIDER_H2P(h) (SLIDER_Obj *)GUI_ALLOC_h2p(h)
#define SLIDER_INIT_ID(p)
#endif
#ifndef SLIDER_SUPPORT_TRANSPARENCY
#define SLIDER_SUPPORT_TRANSPARENCY WM_SUPPORT_TRANSPARENCY
#endif
/*********************************************************************
*
* Public data (internal defaults)
*
**********************************************************************
*/
extern SLIDER_PROPS SLIDER__DefaultProps;
#endif
#endif
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -