Лабораторные работы: пятнашки и редактор фигур

This commit is contained in:
DverkuOff 2026-11-25 08:31:11 +03:00
commit a5dbf9d3a2

110
GameUnit.dfm Normal file
View file

@ -0,0 +1,110 @@
object frmGame: TfrmGame
Left = 0
Top = 0
BorderIcons = [biSystemMenu]
BorderStyle = bsSingle
Caption = #1048#1075#1088#1072' '#171#1055#1103#1090#1085#1072#1096#1082#1080#187
ClientHeight = 452
ClientWidth = 344
Color = 16447477
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -15
Font.Name = 'Tahoma'
Font.Style = []
KeyPreview = True
Position = poMainFormCenter
OnClose = FormClose
OnKeyDown = FormKeyDown
OnShow = FormShow
TextHeight = 18
object pnlInfo: TPanel
Left = 0
Top = 0
Width = 344
Height = 54
Align = alTop
BevelOuter = bvNone
Color = 5258796
ParentBackground = False
TabOrder = 0
object lblSteps: TLabel
Left = 20
Top = 15
Width = 90
Height = 23
Caption = #1061#1086#1076#1086#1074': 0'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWhite
Font.Height = -19
Font.Name = 'Tahoma'
Font.Style = [fsBold]
ParentFont = False
end
object lblClock: TLabel
Left = 196
Top = 15
Width = 100
Height = 23
Caption = #1042#1088#1077#1084#1103': 0 '#1089
Font.Charset = DEFAULT_CHARSET
Font.Color = 6798079
Font.Height = -19
Font.Name = 'Tahoma'
Font.Style = [fsBold]
ParentFont = False
end
end
object sgBoard: TStringGrid
Left = 20
Top = 70
Width = 304
Height = 304
BorderStyle = bsNone
Color = 15855852
ColCount = 4
DefaultColWidth = 76
DefaultRowHeight = 76
DefaultDrawing = False
FixedColor = 6179124
FixedCols = 0
RowCount = 4
FixedRows = 0
Font.Charset = DEFAULT_CHARSET
Font.Color = 5258796
Font.Height = -30
Font.Name = 'Verdana'
Font.Style = [fsBold]
GridLineWidth = 0
Options = []
ParentFont = False
ScrollBars = ssNone
TabOrder = 1
OnDrawCell = sgBoardDrawCell
OnMouseDown = sgBoardMouseDown
end
object btnShuffle: TButton
Left = 20
Top = 392
Width = 148
Height = 40
Caption = #1055#1077#1088#1077#1084#1077#1096#1072#1090#1100
TabOrder = 2
OnClick = btnShuffleClick
end
object btnRules: TButton
Left = 176
Top = 392
Width = 148
Height = 40
Caption = #1055#1088#1072#1074#1080#1083#1072
TabOrder = 3
OnClick = btnRulesClick
end
object tmrClock: TTimer
Enabled = False
OnTimer = tmrClockTimer
Left = 296
Top = 8
end
end