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

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