Лабораторные работы: пятнашки и редактор фигур
This commit is contained in:
commit
a5dbf9d3a2
1 changed files with 2579 additions and 0 deletions
193
ShapesUnit.dfm
Normal file
193
ShapesUnit.dfm
Normal file
|
|
@ -0,0 +1,193 @@
|
|||
object frmShapes: TfrmShapes
|
||||
Left = 0
|
||||
Top = 0
|
||||
Caption = #1060#1080#1075#1091#1088#1099
|
||||
ClientHeight = 620
|
||||
ClientWidth = 960
|
||||
Color = clBtnFace
|
||||
Font.Charset = DEFAULT_CHARSET
|
||||
Font.Color = clWindowText
|
||||
Font.Height = -13
|
||||
Font.Name = 'Tahoma'
|
||||
Font.Style = []
|
||||
KeyPreview = True
|
||||
Menu = mmMain
|
||||
Position = poScreenCenter
|
||||
ShowHint = True
|
||||
OnCloseQuery = FormCloseQuery
|
||||
OnCreate = FormCreate
|
||||
OnDestroy = FormDestroy
|
||||
OnKeyDown = FormKeyDown
|
||||
TextHeight = 16
|
||||
object tbrShapes: TToolBar
|
||||
Left = 0
|
||||
Top = 0
|
||||
Width = 960
|
||||
Height = 50
|
||||
ButtonHeight = 48
|
||||
ButtonWidth = 116
|
||||
Caption = 'tbrShapes'
|
||||
EdgeBorders = [ebBottom]
|
||||
Images = imgShapes
|
||||
ShowCaptions = True
|
||||
TabOrder = 0
|
||||
object btnTriangle: TToolButton
|
||||
Left = 0
|
||||
Top = 0
|
||||
Hint = #1044#1086#1073#1072#1074#1080#1090#1100' '#1090#1088#1077#1091#1075#1086#1083#1100#1085#1080#1082' ('#1082#1083#1072#1074#1080#1096#1072' 1)'
|
||||
Caption = #1058#1088#1077#1091#1075#1086#1083#1100#1085#1080#1082
|
||||
ImageIndex = 0
|
||||
OnClick = btnTriangleClick
|
||||
end
|
||||
object btnRectangle: TToolButton
|
||||
Left = 116
|
||||
Top = 0
|
||||
Hint = #1044#1086#1073#1072#1074#1080#1090#1100' '#1087#1088#1103#1084#1086#1091#1075#1086#1083#1100#1085#1080#1082' ('#1082#1083#1072#1074#1080#1096#1072' 2)'
|
||||
Caption = #1055#1088#1103#1084#1086#1091#1075#1086#1083#1100#1085#1080#1082
|
||||
ImageIndex = 1
|
||||
OnClick = btnRectangleClick
|
||||
end
|
||||
object btnEllipse: TToolButton
|
||||
Left = 232
|
||||
Top = 0
|
||||
Hint = #1044#1086#1073#1072#1074#1080#1090#1100' '#1101#1083#1083#1080#1087#1089' ('#1082#1083#1072#1074#1080#1096#1072' 3)'
|
||||
Caption = #1069#1083#1083#1080#1087#1089
|
||||
ImageIndex = 2
|
||||
OnClick = btnEllipseClick
|
||||
end
|
||||
end
|
||||
object pnlField: TPanel
|
||||
Left = 0
|
||||
Top = 50
|
||||
Width = 960
|
||||
Height = 545
|
||||
Align = alClient
|
||||
BevelOuter = bvNone
|
||||
Color = clWhite
|
||||
DoubleBuffered = True
|
||||
ParentBackground = False
|
||||
ParentDoubleBuffered = False
|
||||
TabOrder = 1
|
||||
object pbField: TPaintBox
|
||||
Left = 0
|
||||
Top = 0
|
||||
Width = 960
|
||||
Height = 545
|
||||
Align = alClient
|
||||
OnMouseDown = pbFieldMouseDown
|
||||
OnMouseMove = pbFieldMouseMove
|
||||
OnMouseUp = pbFieldMouseUp
|
||||
OnPaint = pbFieldPaint
|
||||
end
|
||||
end
|
||||
object sbInfo: TStatusBar
|
||||
Left = 0
|
||||
Top = 595
|
||||
Width = 960
|
||||
Height = 25
|
||||
Panels = <
|
||||
item
|
||||
Width = 150
|
||||
end
|
||||
item
|
||||
Width = 300
|
||||
end>
|
||||
end
|
||||
object mmMain: TMainMenu
|
||||
Left = 816
|
||||
Top = 72
|
||||
object mnuFile: TMenuItem
|
||||
Caption = #1060#1072#1081#1083
|
||||
object mnuNew: TMenuItem
|
||||
Caption = #1057#1086#1079#1076#1072#1090#1100
|
||||
ShortCut = 16462
|
||||
OnClick = mnuNewClick
|
||||
end
|
||||
object mnuOpen: TMenuItem
|
||||
Caption = #1054#1090#1082#1088#1099#1090#1100'...'
|
||||
ShortCut = 16463
|
||||
OnClick = mnuOpenClick
|
||||
end
|
||||
object mnuSave: TMenuItem
|
||||
Caption = #1057#1086#1093#1088#1072#1085#1080#1090#1100
|
||||
ShortCut = 16467
|
||||
OnClick = mnuSaveClick
|
||||
end
|
||||
object mnuSaveAs: TMenuItem
|
||||
Caption = #1057#1086#1093#1088#1072#1085#1080#1090#1100' '#1082#1072#1082'...'
|
||||
ShortCut = 24659
|
||||
OnClick = mnuSaveAsClick
|
||||
end
|
||||
object mnuSep1: TMenuItem
|
||||
Caption = '-'
|
||||
end
|
||||
object mnuExit: TMenuItem
|
||||
Caption = #1042#1099#1093#1086#1076
|
||||
OnClick = mnuExitClick
|
||||
end
|
||||
end
|
||||
object mnuHelp: TMenuItem
|
||||
Caption = #1057#1087#1088#1072#1074#1082#1072
|
||||
ShortCut = 112
|
||||
OnClick = mnuHelpClick
|
||||
end
|
||||
end
|
||||
object pmFigure: TPopupMenu
|
||||
Left = 816
|
||||
Top = 136
|
||||
object pmiCaption: TMenuItem
|
||||
Caption = #1060#1080#1075#1091#1088#1072
|
||||
Enabled = False
|
||||
end
|
||||
object pmiSep1: TMenuItem
|
||||
Caption = '-'
|
||||
end
|
||||
object pmiBounds: TMenuItem
|
||||
Caption = #1055#1086#1083#1086#1078#1077#1085#1080#1077' '#1080' '#1088#1072#1079#1084#1077#1088'...'
|
||||
OnClick = pmiBoundsClick
|
||||
end
|
||||
object pmiFill: TMenuItem
|
||||
Caption = #1062#1074#1077#1090' '#1079#1072#1083#1080#1074#1082#1080'...'
|
||||
OnClick = pmiFillClick
|
||||
end
|
||||
object pmiLine: TMenuItem
|
||||
Caption = #1062#1074#1077#1090' '#1086#1073#1074#1086#1076#1082#1080'...'
|
||||
OnClick = pmiLineClick
|
||||
end
|
||||
object pmiSep2: TMenuItem
|
||||
Caption = '-'
|
||||
end
|
||||
object pmiDelete: TMenuItem
|
||||
Caption = #1059#1076#1072#1083#1080#1090#1100
|
||||
ShortCut = 46
|
||||
OnClick = pmiDeleteClick
|
||||
end
|
||||
end
|
||||
object imgShapes: TImageList
|
||||
Height = 24
|
||||
Width = 24
|
||||
Left = 816
|
||||
Top = 200
|
||||
end
|
||||
object dlgColor: TColorDialog
|
||||
Options = [cdFullOpen]
|
||||
Left = 888
|
||||
Top = 72
|
||||
end
|
||||
object dlgOpen: TOpenDialog
|
||||
DefaultExt = 'fig'
|
||||
Filter = #1060#1072#1081#1083#1099' '#1092#1080#1075#1091#1088' (*.fig)|*.fig'
|
||||
Options = [ofHideReadOnly, ofFileMustExist, ofEnableSizing]
|
||||
Title = #1054#1090#1082#1088#1099#1090#1100' '#1092#1072#1081#1083' '#1089' '#1092#1080#1075#1091#1088#1072#1084#1080
|
||||
Left = 888
|
||||
Top = 136
|
||||
end
|
||||
object dlgSave: TSaveDialog
|
||||
DefaultExt = 'fig'
|
||||
Filter = #1060#1072#1081#1083#1099' '#1092#1080#1075#1091#1088' (*.fig)|*.fig'
|
||||
Options = [ofOverwritePrompt, ofHideReadOnly, ofEnableSizing]
|
||||
Title = #1057#1086#1093#1088#1072#1085#1080#1090#1100' '#1092#1080#1075#1091#1088#1099
|
||||
Left = 888
|
||||
Top = 200
|
||||
end
|
||||
end
|
||||
Loading…
Reference in a new issue