📄 slider_private.h
字号:
/*
*********************************************************************************************************
* uC/GUI V3.98
* Universal graphic software for embedded applications
*
* (c) Copyright 2002, Micrium Inc., Weston, FL
* (c) Copyright 2002, SEGGER Microcontroller Systeme GmbH
*
* 礐/GUI 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 redistributed
* 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 Color;
GUI_COLOR FocusColor;
} 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
/*********************************************************************
*
* Public data (internal defaults)
*
**********************************************************************
*/
extern SLIDER_PROPS SLIDER__DefaultProps;
#endif
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -