home *** CD-ROM | disk | FTP | other *** search
/ Chip 2005 November / CDVD1105.ISO / Software / Freeware / programare / graphics32 / Examples / Clx / ImgView_Layers_Ex / MainUnit.dfm / MainUnit.txt
Encoding:
Text File  |  2004-07-15  |  9.5 KB  |  416 lines

  1. object MainForm: TMainForm
  2.   Left = 255
  3.   Top = 121
  4.   AutoScroll = False
  5.   Caption = 'Graphics32 Demo'
  6.   ClientHeight = 448
  7.   ClientWidth = 542
  8.   Color = clBtnFace
  9.   Font.Charset = DEFAULT_CHARSET
  10.   Font.Color = clWindowText
  11.   Font.Height = -11
  12.   Font.Name = 'Tahoma'
  13.   Font.Style = []
  14.   Menu = MainMenu
  15.   OldCreateOrder = False
  16.   OnCreate = FormCreate
  17.   OnDestroy = FormDestroy
  18.   PixelsPerInch = 96
  19.   TextHeight = 13
  20.   object ImgView: TImgView32
  21.     Left = 0
  22.     Top = 0
  23.     Width = 411
  24.     Height = 448
  25.     Align = alClient
  26.     Scale = 1.000000000000000000
  27.     ScrollBars.ShowHandleGrip = True
  28.     ScrollBars.Style = rbsDefault
  29.     SizeGrip = sgNone
  30.     TabOrder = 0
  31.     TabStop = True
  32.     OnMouseDown = ImgViewMouseDown
  33.     OnMouseWheelDown = ImgViewMouseWheelDown
  34.     OnMouseWheelUp = ImgViewMouseWheelUp
  35.     OnPaintStage = ImgViewPaintStage
  36.   end
  37.   object SidePanel: TPanel
  38.     Left = 411
  39.     Top = 0
  40.     Width = 131
  41.     Height = 448
  42.     Align = alRight
  43.     BevelOuter = bvNone
  44.     TabOrder = 1
  45.     object pnlImage: TPanel
  46.       Left = 0
  47.       Top = 0
  48.       Width = 131
  49.       Height = 105
  50.       Align = alTop
  51.       TabOrder = 0
  52.       Visible = False
  53.       object Label1: TLabel
  54.         Left = 8
  55.         Top = 24
  56.         Width = 29
  57.         Height = 13
  58.         Caption = 'Scale:'
  59.       end
  60.       object ScaleCombo: TComboBox
  61.         Left = 16
  62.         Top = 40
  63.         Width = 105
  64.         Height = 21
  65.         DropDownCount = 9
  66.         ItemHeight = 13
  67.         TabOrder = 0
  68.         Text = '100%'
  69.         OnChange = ScaleComboChange
  70.         Items.Strings = (
  71.           '    25%'
  72.           '    50%'
  73.           '    75%'
  74.           '  100%'
  75.           '  200%'
  76.           '  300%'
  77.           '  400%'
  78.           '  800%'
  79.           '1600%')
  80.       end
  81.       object Panel2: TPanel
  82.         Left = 1
  83.         Top = 1
  84.         Width = 129
  85.         Height = 16
  86.         Align = alTop
  87.         BevelOuter = bvNone
  88.         Caption = 'Image Properties'
  89.         Color = clBtnShadow
  90.         Font.Charset = DEFAULT_CHARSET
  91.         Font.Color = clWindow
  92.         Font.Height = -11
  93.         Font.Name = 'Tahoma'
  94.         Font.Style = []
  95.         ParentFont = False
  96.         TabOrder = 1
  97.       end
  98.       object ImageInterpolate: TCheckBox
  99.         Left = 16
  100.         Top = 72
  101.         Width = 97
  102.         Height = 17
  103.         Caption = 'Interpolated'
  104.         TabOrder = 2
  105.         OnClick = ImageInterpolateClick
  106.       end
  107.     end
  108.     object pnlBitmapLayer: TPanel
  109.       Left = 0
  110.       Top = 105
  111.       Width = 131
  112.       Height = 168
  113.       Align = alTop
  114.       TabOrder = 1
  115.       Visible = False
  116.       object Label2: TLabel
  117.         Left = 8
  118.         Top = 24
  119.         Width = 41
  120.         Height = 13
  121.         Caption = 'Opacity:'
  122.       end
  123.       object Panel3: TPanel
  124.         Left = 1
  125.         Top = 1
  126.         Width = 129
  127.         Height = 16
  128.         Align = alTop
  129.         BevelOuter = bvNone
  130.         Caption = 'Bitmap Layer Properties'
  131.         Color = clBtnShadow
  132.         Font.Charset = DEFAULT_CHARSET
  133.         Font.Color = clWindow
  134.         Font.Height = -11
  135.         Font.Name = 'Tahoma'
  136.         Font.Style = []
  137.         ParentFont = False
  138.         TabOrder = 0
  139.       end
  140.       object LayerOpacity: TGaugeBar
  141.         Left = 16
  142.         Top = 40
  143.         Width = 105
  144.         Height = 12
  145.         Backgnd = bgPattern
  146.         HandleSize = 16
  147.         Max = 255
  148.         ShowArrows = False
  149.         ShowHandleGrip = True
  150.         Style = rbsMac
  151.         Position = 255
  152.         OnChange = LayerOpacityChange
  153.       end
  154.       object LayerInterpolate: TCheckBox
  155.         Left = 16
  156.         Top = 64
  157.         Width = 97
  158.         Height = 17
  159.         Caption = 'Interpolated'
  160.         TabOrder = 2
  161.         OnClick = LayerInterpolateClick
  162.       end
  163.       object LayerRescale: TButton
  164.         Left = 16
  165.         Top = 112
  166.         Width = 105
  167.         Height = 17
  168.         Caption = 'Rescale'
  169.         TabOrder = 3
  170.         OnClick = LayerRescaleClick
  171.       end
  172.       object LayerResetScale: TButton
  173.         Left = 16
  174.         Top = 136
  175.         Width = 105
  176.         Height = 17
  177.         Caption = 'Scale to 100%'
  178.         TabOrder = 4
  179.         OnClick = LayerResetScaleClick
  180.       end
  181.       object Cropped: TCheckBox
  182.         Left = 16
  183.         Top = 88
  184.         Width = 97
  185.         Height = 17
  186.         Caption = 'Cropped'
  187.         TabOrder = 5
  188.         OnClick = CroppedClick
  189.       end
  190.     end
  191.     object PnlMagn: TPanel
  192.       Left = 0
  193.       Top = 273
  194.       Width = 131
  195.       Height = 168
  196.       Align = alTop
  197.       TabOrder = 2
  198.       Visible = False
  199.       object Label3: TLabel
  200.         Left = 8
  201.         Top = 24
  202.         Width = 41
  203.         Height = 13
  204.         Caption = 'Opacity:'
  205.       end
  206.       object Label4: TLabel
  207.         Left = 8
  208.         Top = 64
  209.         Width = 67
  210.         Height = 13
  211.         Caption = 'Magnification:'
  212.       end
  213.       object Label5: TLabel
  214.         Left = 8
  215.         Top = 104
  216.         Width = 45
  217.         Height = 13
  218.         Caption = 'Rotation:'
  219.       end
  220.       object Panel4: TPanel
  221.         Left = 1
  222.         Top = 1
  223.         Width = 129
  224.         Height = 16
  225.         Align = alTop
  226.         BevelOuter = bvNone
  227.         Caption = 'Magnifier (All) Properties'
  228.         Color = clBtnShadow
  229.         Font.Charset = DEFAULT_CHARSET
  230.         Font.Color = clWindow
  231.         Font.Height = -11
  232.         Font.Name = 'Tahoma'
  233.         Font.Style = []
  234.         ParentFont = False
  235.         TabOrder = 0
  236.       end
  237.       object MagnOpacity: TGaugeBar
  238.         Left = 16
  239.         Top = 40
  240.         Width = 105
  241.         Height = 12
  242.         Backgnd = bgPattern
  243.         HandleSize = 16
  244.         Max = 255
  245.         ShowArrows = False
  246.         ShowHandleGrip = True
  247.         Style = rbsMac
  248.         Position = 255
  249.         OnChange = MagnChange
  250.       end
  251.       object MagnMagnification: TGaugeBar
  252.         Left = 16
  253.         Top = 80
  254.         Width = 105
  255.         Height = 12
  256.         Backgnd = bgPattern
  257.         HandleSize = 16
  258.         Max = 50
  259.         ShowArrows = False
  260.         ShowHandleGrip = True
  261.         Style = rbsMac
  262.         Position = 10
  263.         OnChange = MagnChange
  264.       end
  265.       object MagnRotation: TGaugeBar
  266.         Left = 16
  267.         Top = 120
  268.         Width = 105
  269.         Height = 12
  270.         Backgnd = bgPattern
  271.         HandleSize = 16
  272.         Max = 180
  273.         Min = -180
  274.         ShowArrows = False
  275.         ShowHandleGrip = True
  276.         Style = rbsMac
  277.         Position = 0
  278.         OnChange = MagnChange
  279.       end
  280.       object MagnInterpolate: TCheckBox
  281.         Left = 16
  282.         Top = 144
  283.         Width = 97
  284.         Height = 17
  285.         Caption = 'Interpolated'
  286.         TabOrder = 4
  287.         OnClick = MagnChange
  288.       end
  289.     end
  290.   end
  291.   object MainMenu: TMainMenu
  292.     Left = 216
  293.     object mnFile: TMenuItem
  294.       Caption = 'File'
  295.       OnClick = mnFileClick
  296.       object mnFileNew: TMenuItem
  297.         Caption = 'New...'
  298.         OnClick = mnFileNewClick
  299.       end
  300.       object mnFileOpen: TMenuItem
  301.         Caption = 'Open...'
  302.         OnClick = mnFileOpenClick
  303.       end
  304.       object N6: TMenuItem
  305.         Caption = '-'
  306.       end
  307.       object mnPrint: TMenuItem
  308.         Caption = 'Print'
  309.         OnClick = mnPrintClick
  310.       end
  311.     end
  312.     object mnLayers: TMenuItem
  313.       Caption = 'Layers'
  314.       OnClick = mnLayersClick
  315.       object mnNewBitmapLayer: TMenuItem
  316.         Caption = 'New Bitmap Layer'
  317.         OnClick = mnNewBitmapLayerClick
  318.       end
  319.       object mnNewBitmapRGBA: TMenuItem
  320.         Caption = 'New Bitmap Layer with Alpha Channel'
  321.         OnClick = mnNewBitmapRGBAClick
  322.       end
  323.       object mnNewCustomLayer: TMenuItem
  324.         Caption = 'New Custom Layer'
  325.         object mnSimpleDrawing: TMenuItem
  326.           Caption = 'Simple Drawing Layer'
  327.           OnClick = mnSimpleDrawingClick
  328.         end
  329.         object mnMagnifier: TMenuItem
  330.           Caption = 'Magnifier'
  331.           OnClick = mnMagnifierClick
  332.         end
  333.       end
  334.       object N4: TMenuItem
  335.         Caption = '-'
  336.       end
  337.       object mnFlatten: TMenuItem
  338.         Caption = 'Flatten Layers'
  339.         OnClick = mnFlattenClick
  340.       end
  341.     end
  342.     object mnArrange: TMenuItem
  343.       Caption = 'Selection'
  344.       OnClick = mnArrangeClick
  345.       object mnBringFront: TMenuItem
  346.         Tag = 1
  347.         Caption = 'Bring to Front'
  348.         OnClick = mnReorder
  349.       end
  350.       object mnSendBack: TMenuItem
  351.         Tag = 2
  352.         Caption = 'Send to Back'
  353.         OnClick = mnReorder
  354.       end
  355.       object N1: TMenuItem
  356.         Caption = '-'
  357.         OnClick = mnReorder
  358.       end
  359.       object mnLevelUp: TMenuItem
  360.         Tag = 3
  361.         Caption = 'Up One Level'
  362.         OnClick = mnReorder
  363.       end
  364.       object mnLevelDown: TMenuItem
  365.         Tag = 4
  366.         Caption = 'Down one Level'
  367.         OnClick = mnReorder
  368.       end
  369.       object N2: TMenuItem
  370.         Caption = '-'
  371.       end
  372.       object mnScaled: TMenuItem
  373.         Caption = 'Scaled'
  374.         Checked = True
  375.         OnClick = mnScaledClick
  376.       end
  377.       object mnDelete: TMenuItem
  378.         Caption = 'Delete'
  379.         OnClick = mnDeleteClick
  380.       end
  381.       object N3: TMenuItem
  382.         Caption = '-'
  383.       end
  384.       object mnFlipHorz: TMenuItem
  385.         Caption = 'Flip Horizontally'
  386.         OnClick = mnFlipHorzClick
  387.       end
  388.       object mnFlipVert: TMenuItem
  389.         Caption = 'Flip Vertically'
  390.         OnClick = mnFlipVertClick
  391.       end
  392.       object N5: TMenuItem
  393.         Caption = '-'
  394.       end
  395.       object mnRotate90: TMenuItem
  396.         Caption = 'Rotate 90'#176
  397.         OnClick = mnRotate90Click
  398.       end
  399.       object mnRotate180: TMenuItem
  400.         Caption = 'Rotate 180'#176
  401.         OnClick = mnRotate180Click
  402.       end
  403.       object mnRotate270: TMenuItem
  404.         Caption = 'Rotate 270'#176
  405.         OnClick = mnRotate270Click
  406.       end
  407.     end
  408.   end
  409.   object OpenPictureDialog1: TOpenPictureDialog
  410.     Left = 248
  411.   end
  412.   object SaveDialog1: TSaveDialog
  413.     Left = 280
  414.   end
  415. end
  416.