ui: 棋盘大小 App 为 500 而桌面是 600

This commit is contained in:
Calcitem 2019-08-30 00:24:27 +08:00
parent 4212e5b5d2
commit 67f9c54e9c
1 changed files with 7 additions and 0 deletions

View File

@ -23,7 +23,14 @@
#ifndef GRAPHICSCONST
#define GRAPHICSCONST
#include "config.h"
#ifdef MOBILE_APP_UI
const short BOARD_SIZE = 500; // 棋盘大小
#else
const short BOARD_SIZE = 600; // 棋盘大小
#endif /* MOBILE_APP_UI */
const short BOARD_MINISIZE = 150; // 最小宽高即1/4大小
const short PIECE_SIZE = 56; // 棋子大小
const short LINE_INTERVAL = 72; // 线间距