Tearsback's picture
download
raw
2.85 kB
/*********************************************************************************************************
* ģ�����ƣ�SliderWidget.h
* ժ Ҫ�������ؼ�ģ��
* ��ǰ�汾��1.0.0
* �� �ߣ�Leyutek(COPYRIGHT 2018 - 2021 Leyutek. All rights reserved.)
* ������ڣ�2021��07��01��
* �� �ݣ�
* ע �⣺
**********************************************************************************************************
* ȡ���汾��
* �� �ߣ�
* ������ڣ�
* �޸����ݣ�
* �޸��ļ���
*********************************************************************************************************/
#ifndef _SLIDER_WIDGET_H_
#define _SLIDER_WIDGET_H_
/*********************************************************************************************************
* ����ͷ�ļ�
*********************************************************************************************************/
#include "GUIConf.h"
#include "GUIPlatform.h"
/*********************************************************************************************************
* �궨��
*********************************************************************************************************/
/*********************************************************************************************************
* ö�ٽṹ�嶨��
*********************************************************************************************************/
//�����ؼ�
typedef struct
{
u32 x0; //��ʼ������
u32 y0; //��ʼ������
u32 width; //���ȣ����ȱ�����ڳ���
u32 height; //�ߵͣ����ȱ�����ڳ���
u32 value; //������ǰλ�ã�0-100
void* lineImage; //��������ͼƬ��Ϊ����ʾ͸��ͼƬ��������ѡ��λͼ
void* circleImage; //����Բ��ͼƬ��Ϊ����ʾ͸��ͼƬ��������ѡ��λͼ
u32 lineSize; //�������ߴ�ϸ������Ϊ2*lineSize�����ص㣨lineImageΪNULLʱʹ�ã�
u32 lineColor; //����������ɫ��lineImageΪNULLʱʹ�ã�
u32 circleColor; //����ԭ����ɫ��Բ��ֱ��Ĭ��Ϊ�ؼ��߶ȣ�circleImageΪNULLʱʹ�ã�
u32 background; //�����������׵�ַ���û��ṩ�����Ǿ�̬���飬��4�ֽڶ���
}StructSliderWidget;
/*********************************************************************************************************
* API��������
*********************************************************************************************************/
void InitSliderWidgetStruct(StructSliderWidget* widget); //���û����ؼ��ṹ��Ĭ��ֵ
u8 CreateSliderWidget(StructSliderWidget* widget); //���������ؼ�
void ScanSliderWidget(StructSliderWidget* widget); //����ɨ��
void DeleteSliderWidget(StructSliderWidget* widget); //ɾ�������ؼ�
#endif

Xet Storage Details

Size:
2.85 kB
·
Xet hash:
7068266f329aba4b64bdef78ad5c688c839d294ef805aabdf9f3bd403d522185

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.