📄 .#task_cfg.h.1.9
字号:
/*
*********************************************************************************************************
* uC/OS-II
* The Real-Time Kernel
*
* (c) Copyright 1992-2001, Jean J. Labrosse, Weston, FL
* All Rights Reserved
*
* File : task_cfg.h
* By : wurui
*********************************************************************************************************
*/
#ifndef _TASK_CFG_H
#define _TASK_CFG_H
/*********************************
* 系统消息
**********************************/
#define MS_Err 3
#define MS_END 4
#define MS_USB 5
#define MS_PLAYER 6
#define MS_FSEL 7
#define MS_RECORDER 8
#define MS_START 9
#define IDLE_SPACE 0x1e3f
#define GUI_SPACE 0x203f
#define FIFO_SPACE 0x233f
#define MAIN_FACE_SPACE 0x245f
#define PLAYER_ENGINE_SPACE 0x291f
#define RECORDER_ENGINE_SPACE 0x305f
#define MUSIC_FACE_SPACE 0x37ff
#define RECORDER_FACE_SPACE MUSIC_FACE_SPACE
#define EBOOK_FACE_SPACE MUSIC_FACE_SPACE
#define FILESEL_ENGINE_SPACE 0x37ff
#define PLAYER_ENGINE_PRIO 2
#define RECORDER_ENGINE_PRIO PLAYER_ENGINE_PRIO
#define GUI_PRIO 3
#define MUSIC_FACE_PRIO 4
#define EBOOK_FACE_PRIO MUSIC_FACE_PRIO
#define RECORD_FACE_PRIO MUSIC_FACE_PRIO
#define MAIN_FACE_PRIO 5
#define FILESEL_ENGINE_PRIO 6
#define IDEL_PRIO 7
#define PLAYER_ENGINE_ID 0x22
#define RECORDER_ENGINE_ID 0x23
#define GUI_ID 0x33
#define MUSIC_FACE_ID 0x44
#define EBOOK_FACE_ID 0x45
#define RECORD_FACE_ID 0x46
#define MAIN_FACE_ID 0x55
#define FILESEL_ENGINE_ID 0x66
#define IDLE_ID 0x77
#define MAXQUEUENUM 3
#define MAXQUEUELENGTH 6
//#define MSG_NULL 110
//#define MSG_CREATEMAINTASK 100
//#define MSG_DELETEMAINTASK 101
//#define MSG_CREATEMUSICTASK 102
//#define MSG_CREATEPLAYERTASK 103
#define MSG_REPAINTWIN 104
#define MSG_REBUILDWIN 105
#define MSG_KEY 107
#define MSG_RESERVE1 108
#define MSG_RESERVE2 109
#define MSG_RESERVE3 110
//#define MSG_RedrawInfo 108
//#define MSG_ABPointA 109
//#define MSG_ABPointB 110
//#define MSG_ABPointPlay 111
//#define MSG_Normal 112
#define GUI_KeyBackspace_KeyPlay KeyPlay
#define GUI_KeyEnter_KeyMode KeyMode
#define GUI_KeyLeft_KeyVolSub KeyVolSub
#define GUI_KeyEnd_KeyEQ KeyEQ
#define GUI_KeyUp_KeyPrev KeyPrev
#define GUI_KeyRight_KeyVolAdd KeyVolAdd
#define GUI_KeyDown_KeyNext KeyNext
#define GUI_KeyInsert_KeyRec KeyRec
#define GUI_KeyDelete_KeyLoop KeyLoop
#define GUI_Key_Up 0x00
#define GUI_Key_Down 0x40
#define GUI_Key_Long 0x80
#define GUI_Key_Hold 0xC0
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -