完善样式设计:樱花粉风格
This commit is contained in:
@@ -11,6 +11,11 @@ constexpr int nGameWidth = 10;
|
||||
constexpr int nGameHeight = 20;
|
||||
constexpr int nWidth = 16;
|
||||
constexpr int nHeight = 22;
|
||||
constexpr int WINDOW_PADDING = 28;
|
||||
constexpr int SIDE_PANEL_WIDTH = 320;
|
||||
constexpr int SIDE_PANEL_GAP = 28;
|
||||
constexpr int WINDOW_CLIENT_WIDTH = WINDOW_PADDING * 2 + nGameWidth * GRID + SIDE_PANEL_GAP + SIDE_PANEL_WIDTH;
|
||||
constexpr int WINDOW_CLIENT_HEIGHT = WINDOW_PADDING * 2 + nGameHeight * GRID + 20;
|
||||
|
||||
// 定义一个点,用来表示方块的位置
|
||||
struct Point
|
||||
|
||||
Reference in New Issue
Block a user