📄 coordinate.h
字号:
#if !defined COORDINATE_H
#define COORDINATE_H
#include "public.h"
#define VIDEO_LEFT 0
#define VIDEO_TOP 0
#define VIDEO_WIDTH 480
#define VIDEO_HEIGHT 272
//main app
#define VIDEO_BG_TOP 242
//middle down position
#define MID_DOWN_X 145
#define MID_DOWN_Y 213
//middle space
#define MID_SPACE 25
//progress slider
#define PRO_SLIDE_X 258
#define PRO_SLIDE_Y 240
//volume slider
#define VOL_SLIDE_X 355
#define VOL_SLIDE_Y 245
//video title
#define VIDEO_TITLE_LEFT 50
#define VIDEO_TITLE_TOP 218
#define VIDEO_TITLE_RIGHT 210
#define VIDEO_TITLE_BOTTOM 233
//video player
#define VIDEO_PLAY_LEFT 0
#define VIDEO_PLAY_TOP 0
#define VIDEO_PLAY_RIGHT 480
#define VIDEO_PLAY_BOTTOM 217
//time
#define TIME_LEFT 300
#define TIME_TOP VIDEO_TITLE_TOP
#define TIME_RIGHT 415
#define TIME_BOTTOM VIDEO_TITLE_BOTTOM
//file list dlg
#define LIST_LEFT 10
#define LIST_TOP 25
#define LIST_WIDTH 460
#define LIST_HEIGHT 200
#define LIST_ITEM_HEIGHT 26
//scroll
#define SCROLL_LEFT 459
#define SCROLL_TOP 27
#define SCROLL_WIDTH 470
#define SCROLL_HEIGHT 240
//btn
#define FILEBTN_LEFT 210
#define FILEBTN_TOP 243
#define FILEBTN_SPACE 53
//close btn
#define CLOSE_BTN_X 455
#define CLOSE_BTN_Y 238
//minimise btn
#define MINI_BTN_X 0
#define MINI_BTN_Y 0
//backward btn
#define BACKWARD_BTN_X 23
#define BACKWARD_BTN_Y VIDEO_BG_TOP
//play/pause btn
#define PLAY_BTN_X 65
#define PLAY_BTN_Y VIDEO_BG_TOP
//stop btn
#define STOP_BTN_X 110
#define STOP_BTN_Y VIDEO_BG_TOP
//forward btn
#define FORWARD_BTN_X 154
#define FORWARD_BTN_Y VIDEO_BG_TOP
//open btn
#define OPEN_BTN_X 192
#define OPEN_BTN_Y VIDEO_BG_TOP
//setup btn
#define FULLSCREEN_BTN_X MID_DOWN_X+MID_SPACE
#define FULLSCREEN_BTN_Y MID_DOWN_Y
//volume/mute btn
#define VOL_BTN_X MID_DOWN_X+MID_SPACE*2
#define VOL_BTN_Y MID_DOWN_Y
//file list, file del btn
#define FILEDEL_BTN_X 205
#define FILEDEL_BTN_Y 233
//file list, file add btn
#define FILEADD_BTN_X 287
#define FILEADD_BTN_Y 233
//file list, file cancel btn
#define FILECANCEL_BTN_X 455
#define FILECANCEL_BTN_Y 5
//file list, file ok btn
#define FILEOK_BTN_X 383
#define FILEOK_BTN_Y 233
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -