调整ui和背景
This commit is contained in:
@@ -104,6 +104,7 @@ if ($Windres -and (Test-Path $RcPath)) {
|
|||||||
@Sources `
|
@Sources `
|
||||||
@LinkInputs `
|
@LinkInputs `
|
||||||
-lwinmm `
|
-lwinmm `
|
||||||
|
-lgdiplus `
|
||||||
-lgdi32 `
|
-lgdi32 `
|
||||||
-luser32 `
|
-luser32 `
|
||||||
-o $ExePath
|
-o $ExePath
|
||||||
|
|||||||
@@ -6,15 +6,15 @@
|
|||||||
|
|
||||||
#pragma comment(lib, "winmm.lib")
|
#pragma comment(lib, "winmm.lib")
|
||||||
|
|
||||||
constexpr int GRID = 30;
|
constexpr int GRID = 40;
|
||||||
constexpr int nGameWidth = 10;
|
constexpr int nGameWidth = 10;
|
||||||
constexpr int nGameHeight = 20;
|
constexpr int nGameHeight = 20;
|
||||||
constexpr int nWidth = 16;
|
constexpr int nWidth = 16;
|
||||||
constexpr int nHeight = 22;
|
constexpr int nHeight = 22;
|
||||||
constexpr int WINDOW_PADDING = 28;
|
constexpr int WINDOW_PADDING = 36;
|
||||||
constexpr int SIDE_PANEL_WIDTH = 280;
|
constexpr int SIDE_PANEL_WIDTH = 304;
|
||||||
constexpr int SIDE_PANEL_GAP = 28;
|
constexpr int SIDE_PANEL_GAP = 24;
|
||||||
constexpr int SIDE_PANEL_HEIGHT = 760;
|
constexpr int SIDE_PANEL_HEIGHT = 872;
|
||||||
constexpr int WINDOW_CLIENT_WIDTH = WINDOW_PADDING * 2 + nGameWidth * GRID + SIDE_PANEL_GAP * 2 + SIDE_PANEL_WIDTH * 2;
|
constexpr int WINDOW_CLIENT_WIDTH = WINDOW_PADDING * 2 + nGameWidth * GRID + SIDE_PANEL_GAP * 2 + SIDE_PANEL_WIDTH * 2;
|
||||||
constexpr int BOARD_CLIENT_HEIGHT = WINDOW_PADDING * 2 + nGameHeight * GRID + 20;
|
constexpr int BOARD_CLIENT_HEIGHT = WINDOW_PADDING * 2 + nGameHeight * GRID + 20;
|
||||||
constexpr int WINDOW_CLIENT_HEIGHT = (BOARD_CLIENT_HEIGHT > SIDE_PANEL_HEIGHT) ? BOARD_CLIENT_HEIGHT : SIDE_PANEL_HEIGHT;
|
constexpr int WINDOW_CLIENT_HEIGHT = (BOARD_CLIENT_HEIGHT > SIDE_PANEL_HEIGHT) ? BOARD_CLIENT_HEIGHT : SIDE_PANEL_HEIGHT;
|
||||||
|
|||||||
+489
-299
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user