# Gambas Form File 3.0

{ Form Form
  MoveScaled(0,0,174,90)
  Persistent = True
  Arrangement = Arrange.Vertical
  { mnuEditor Menu
    Enabled = False
    { mnuUndo Menu btnUndo
      Name = "mnuUndo"
      Action = ".undo"
      Text = ("Undo")
      Picture = Picture["icon:/small/undo"]
      Shortcut = "Ctrl+Z"
    }
    { mnuRedo Menu btnRedo
      Name = "mnuRedo"
      Action = ".redo"
      Text = ("Redo")
      Picture = Picture["icon:/small/redo"]
      Shortcut = "Ctrl+Y"
    }
    { mnuSep2 Menu
    }
    { mnuCut Menu btnCut
      Name = "mnuCut"
      Action = ".cut"
      Text = ("Cut")
      Picture = Picture["icon:/small/cut"]
      Shortcut = "Ctrl+X"
    }
    { mnuCopy Menu btnCopy
      Name = "mnuCopy"
      Action = ".copy"
      Text = ("Copy")
      Picture = Picture["icon:/small/copy"]
      Shortcut = "Ctrl+C"
    }
    { mnuPaste Menu
      Action = ".paste"
      Text = ("Paste")
      Picture = Picture["icon:/small/paste"]
      Shortcut = "Ctrl+V"
    }
    { mnuAction Menu
      Text = ("Action")
      { mnuCrop Menu btnCrop
        Name = "mnuCrop"
        Action = ".crop"
        Text = ("Crop")
        Picture = Picture["icon:/small/crop"]
        Shortcut = "Ctrl+K"
      }
      { mnuFlipH Menu btnFlipH
        Name = "mnuFlipH"
        Action = ".flip-h"
        Text = ("Horizontal flip")
        Picture = Picture["icon:/small/flip-h"]
      }
      { mnuFlipV Menu btnFlipV
        Name = "mnuFlipV"
        Action = ".flip-v"
        Text = ("Vertical flip")
        Picture = Picture["icon:/small/flip-v"]
      }
      { mnuRotateL Menu btnRotateL
        Name = "mnuRotateL"
        Action = ".rotate-left"
        Text = ("Rotate counter-clockwise")
        Picture = Picture["icon:/small/rotate-left"]
        Shortcut = "Ctrl+<"
      }
      { mnuRotateR Menu btnRotateR
        Name = "mnuRotateR"
        Action = ".rotate-right"
        Text = ("Rotate clockwise")
        Picture = Picture["icon:/small/rotate-right"]
        Shortcut = "Ctrl+>"
      }
      { Menu3 Menu
      }
      { mnuResize Menu btnResize
        Name = "mnuResize"
        Action = ".resize"
        Text = ("Resize") & "..."
        Picture = Picture["icon:/small/resize"]
      }
      { mnuRotate Menu btnRotate
        Name = "mnuRotate"
        Action = ".rotate"
        Text = ("Rotate") & "..."
        Picture = Picture["icon:/small/rotate"]
      }
    }
    { Menu2 Menu
    }
    { mnuSelectAll Menu
      Action = ".select-all"
      Text = Shortcut(("Select All"), "A")
      Picture = Picture["icon:/small/select-all"]
      Shortcut = "Ctrl+A"
    }
    { mnuHideSelection Menu
      Action = ".hide"
      Text = ("Hide selection")
      Picture = Picture["icon:/small/unselect"]
      Shortcut = "Esc"
    }
    { mnuSelection Menu
      Text = ("Selection")
      { mnuInvert Menu btnInvert
        Name = "mnuInvert"
        Action = ".invert"
        Text = ("Invert selection")
        Picture = Picture["icon:/small/invert"]
        Shortcut = "Ctrl+I"
      }
      { mnuDuplicate Menu btnDuplicate
        Name = "mnuDuplicate"
        Action = ".duplicate"
        Text = ("Duplicate selection")
        Picture = Picture["icon:/small/clone"]
        Shortcut = "Ctrl+D"
      }
      { mnuOffset Menu btnOffset
        Name = "mnuOffset"
        Action = ".offset"
        Text = ("Offset selection")
        Picture = Picture["img/draw/offset.png"]
        Shortcut = "Ctrl+*"
      }
      { mnuExpand Menu
        Action = ".expand-selection"
        Text = ("Expand selection")
        Picture = Picture["img/draw/expand.png"]
      }
      { mnuSmooth Menu
        Action = ".smooth-selection"
        Text = ("Smooth selection")
        Picture = Picture["img/draw/smooth.png"]
      }
      { Menu5 Menu
      }
      { mnuUnion Menu btnUnion
        Name = "mnuUnion"
        Text = ("Union")
        Picture = Picture["icon:/small/union"]
      }
      { mnuDifference Menu btnDifference
        Name = "mnuDifference"
        Text = ("Difference")
        Picture = Picture["icon:/small/difference"]
      }
      { mnuIntersection Menu btnIntersection
        Name = "mnuIntersection"
        Text = ("Intersection")
        Picture = Picture["icon:/small/intersection"]
      }
      { mnuExclusive Menu btnExclusive
        Name = "mnuExclusive"
        Text = ("Exclusive or")
        Picture = Picture["icon:/small/exclusive"]
      }
      { Menu7 Menu
      }
      { mnuSaveSelection Menu btnSaveSelection
        Name = "mnuSaveSelection"
        Action = ".save-selection"
        Text = ("Save selection")
        Picture = Picture["img/draw/save-selection.png"]
      }
    }
    { Menu4 Menu
    }
    { mnuShapeGrid Menu
      Text = ("Shape grid")
      Visible = False
      { mnuDivide2 Menu mnuDivide
        Name = "mnuDivide2"
        #Translate = False
        Text = "2 × 2"
        Checked = True
        Tag = "2"
        Shortcut = "Ctrl+2"
      }
      { mnuDivide3 Menu mnuDivide
        Name = "mnuDivide3"
        #Translate = False
        Text = "3 × 3"
        Tag = "3"
        Shortcut = "Ctrl+3"
      }
      { mnuDivide4 Menu mnuDivide
        Name = "mnuDivide4"
        #Translate = False
        Text = "4 × 4"
        Tag = "4"
        Shortcut = "Ctrl+4"
      }
      { mnuDivide5 Menu mnuDivide
        Name = "mnuDivide5"
        #Translate = False
        Text = "5 × 5"
        Tag = "5"
        Shortcut = "Ctrl+5"
      }
    }
    { mnuSep4 Menu
    }
    { mnuZoom Menu
      Text = ("View")
      { mnuZoomIn Menu btnZoomIn
        Name = "mnuZoomIn"
        Action = ".zoom-in"
        Text = ("Zoom in")
        Picture = Picture["icon:/small/zoom-in"]
        Shortcut = "Ctrl++"
      }
      { mnuZoomOut Menu btnZoomOut
        Name = "mnuZoomOut"
        Action = ".zoom-out"
        Text = ("Zoom out")
        Picture = Picture["icon:/small/zoom-out"]
        Shortcut = "Ctrl+-"
      }
      { mnuZoomNormal Menu btnZoomNormal
        Name = "mnuZoomNormal"
        Action = ".zoom-normal"
        Text = ("Zoom normal")
        Picture = Picture["icon:/small/zoom-normal"]
        Shortcut = "Ctrl+0"
      }
      { mnuZoomFit Menu btnZoomFit
        Name = "mnuZoomFit"
        Action = ".zoom-fit"
        Text = ("Zoom fit")
        Picture = Picture["icon:/small/zoom-fit"]
      }
    }
    { Menu1 Menu
    }
    { mnuLocked Menu
      Action = ".locked"
      Text = ("Locked")
      Picture = Picture["icon:/small/lock"]
      Toggle = True
    }
    { mnuReload Menu btnReload
      Name = "mnuReload"
      Action = ".reload"
      Text = ("Reload")
      Picture = Picture["icon:/small/revert"]
    }
    { mnuSave Menu btnSave
      Name = "mnuSave"
      Action = ".save"
      Text = ("Save")
      Picture = Picture["icon:/small/save"]
      Shortcut = "Ctrl+S"
    }
    { mnuSaveAs Menu
      Action = ".save-as"
      Text = ("Save as") & "..."
      Picture = Picture["icon:/small/save-as"]
      Shortcut = "Ctrl+Shift+S"
    }
    { Menu6 Menu
    }
    { mnuClose Menu
      Action = ".close"
      Text = ("Close")
      Picture = Picture["icon:/small/close"]
      Shortcut = "Ctrl+W"
    }
  }
  { mnuFormat Menu
    #Translate = False
    { mnuFormatJPEG Menu mnuSaveAsFormat
      Name = "mnuFormatJPEG"
      Text = ("Save as JPEG")
      Tag = "jpeg"
    }
    { mnuFormatPNG Menu mnuSaveAsFormat
      Name = "mnuFormatPNG"
      Text = ("Save as PNG")
      Tag = "png"
    }
    { mnuFormatBMP Menu mnuSaveAsFormat
      Name = "mnuFormatBMP"
      Text = ("Save as BMP")
      Tag = "bmp"
    }
    { mnuFormatTIFF Menu mnuSaveAsFormat
      Name = "mnuFormatTIFF"
      Action = "tiff"
      Text = ("Save as TIFF")
    }
  }
  { tlbMain ToolBar
    MoveScaled(0,0,172,4)
    Key = "image"
    Text = ("Image editor")
    { btnSave MenuButton
      MoveScaled(0,0,6,4)
      ToolTip = ("Save")
      Action = ".save"
      Picture = Picture["icon:/small/save"]
      Border = False
      Menu = "mnuFormat"
    }
    { btnReload ToolButton
      MoveScaled(5,0,4,4)
      ToolTip = ("Reload")
      Action = ".reload"
      Picture = Picture["icon:/small/refresh"]
    }
    { Separator6 Separator
      MoveScaled(10,0,1.125,4)
    }
    { btnUndo ToolButton
      MoveScaled(11,0,4,4)
      ToolTip = ("Undo")
      Action = ".undo"
      Picture = Picture["icon:/small/undo"]
    }
    { btnRedo ToolButton
      MoveScaled(15,0,4,4)
      ToolTip = ("Redo")
      Action = ".redo"
      Picture = Picture["icon:/small/redo"]
    }
    { Separator3 Separator
      MoveScaled(18,0,1.125,4)
    }
    { btnZoomIn ToolButton
      MoveScaled(19,0,4,4)
      ToolTip = ("Zoom in")
      Action = ".zoom-in"
      Picture = Picture["icon:/small/zoom-in"]
    }
    { cmbZoom ComboBox
      MoveScaled(22,0,9,4)
      #Translate = False
      ToolTip = "Zoom level"
      Action = ".zoom"
      ReadOnly = True
      List = ["32×", "28×", "24×", "20×", "16×", "12×", "10×", "8×", "6×", "5x", "4×", "3×", "2×", "1×", "0.5×", "0.33×", "0.25×"]
    }
    { btnZoomOut ToolButton
      MoveScaled(31,0,4,4)
      ToolTip = ("Zoom out")
      Action = ".zoom-out"
      Picture = Picture["icon:/small/zoom-out"]
    }
    { btnZoomNormal ToolButton
      MoveScaled(34,0,4,4)
      ToolTip = ("Zoom normal")
      Action = ".zoom-normal"
      Picture = Picture["icon:/small/zoom-normal"]
    }
    { btnZoomFit ToolButton
      MoveScaled(37,0,4,4)
      ToolTip = ("Zoom fit")
      Action = ".zoom-fit"
      Picture = Picture["icon:/small/zoom-fit"]
      Toggle = True
    }
    { btnGrid ToolButton
      MoveScaled(40,0,4,4)
      ToolTip = ("Drawing grid")
      Action = ".grid"
      AutoResize = True
      Picture = Picture["icon:/small/grid"]
      Toggle = True
    }
    { Separator4 Separator
      MoveScaled(48,0,1.125,4)
    }
    { btnCopy ToolButton
      MoveScaled(49,0,4,4)
      ToolTip = ("Copy")
      Action = ".copy"
      Picture = Picture["icon:/small/copy"]
    }
    { btnCut ToolButton
      MoveScaled(52,0,4,4)
      ToolTip = ("Cut")
      Action = ".cut"
      Picture = Picture["icon:/small/cut"]
    }
    { btnPaste ToolButton btnTool
      Name = "btnPaste"
      MoveScaled(55,0,4,4)
      Tag = "paste"
      ToolTip = ("Paste")
      Action = ".tool-paste"
      Picture = Picture["icon:/small/paste"]
      Toggle = True
    }
    { Separator2 Separator
      MoveScaled(59,0,1.125,4)
    }
    { btnMove ToolButton btnTool
      Name = "btnMove"
      MoveScaled(61,0,4,4)
      Tag = "move"
      ToolTip = ("Move")
      Action = ".tool-move"
      Picture = Picture["icon:/small/move"]
      Toggle = True
      Value = True
    }
    { btnDraw ToolButton btnTool
      Name = "btnDraw"
      MoveScaled(64,0,4,4)
      Tag = "draw"
      ToolTip = ("Draw")
      Action = ".tool-draw"
      Picture = Picture["icon:/small/pen"]
      Toggle = True
    }
    { btnErase ToolButton btnTool
      Name = "btnErase"
      MoveScaled(67,0,4,4)
      Tag = "erase"
      ToolTip = ("Erase")
      Action = ".tool-erase"
      Picture = Picture["icon:/small/erase"]
      Toggle = True
    }
    { btnLine ToolButton btnTool
      Name = "btnLine"
      MoveScaled(70,0,4,4)
      Tag = "line"
      ToolTip = ("Line")
      Action = ".tool-line"
      Picture = Picture["icon:/small/draw-path"]
      Toggle = True
    }
    { btnRectangle ToolButton btnTool
      Name = "btnRectangle"
      MoveScaled(73,0,4,4)
      Tag = "rectangle"
      ToolTip = ("Rectangle")
      Action = ".tool-rectangle"
      Picture = Picture["icon:/small/draw-square"]
      Toggle = True
    }
    { btnEllipse ToolButton btnTool
      Name = "btnEllipse"
      MoveScaled(76,0,4,4)
      Tag = "ellipse"
      ToolTip = ("Ellipse")
      Action = ".tool-ellipse"
      Picture = Picture["icon:/small/draw-circle"]
      Toggle = True
    }
    { btnPolygon ToolButton btnTool
      Name = "btnPolygon"
      MoveScaled(79,0,4,4)
      Tag = "polygon"
      ToolTip = ("Polygon")
      Action = ".tool-polygon"
      Picture = Picture["icon:/small/draw-polygon"]
      Toggle = True
    }
    { btnText ToolButton btnTool
      Name = "btnText"
      MoveScaled(82,0,4,4)
      Tag = "text"
      ToolTip = ("Text")
      Action = ".tool-text"
      Picture = Picture["icon:/small/draw-text"]
      Toggle = True
    }
    { btnMagic ToolButton btnTool
      Name = "btnMagic"
      MoveScaled(85,0,4,4)
      Tag = "magic"
      ToolTip = ("Magic wand")
      Action = ".tool-magic"
      Picture = Picture["icon:/small/wizard"]
      Toggle = True
    }
    { btnHide ToolButton
      MoveScaled(88,0,4,4)
      ToolTip = ("Hide selection")
      Action = ".hide"
      Picture = Picture["icon:/small/unselect"]
    }
    { btnEditSelection ToolButton btnTool
      Name = "btnEditSelection"
      MoveScaled(92,0,4,4)
      Tag = "change"
      ToolTip = ("Edit selection")
      Action = ".tool-change"
      Picture = Picture["img/draw/move.png"]
      Toggle = True
    }
    { btnExpandSelection ToolButton
      MoveScaled(96,0,4,4)
      ToolTip = ("Fit selection to image")
      Action = ".expand-selection"
      Picture = Picture["img/draw/expand.png"]
    }
    { btnSmoothSelection ToolButton
      MoveScaled(100,0,4,4)
      ToolTip = ("Smooth selection")
      Action = ".smooth-selection"
      Picture = Picture["img/draw/smooth.png"]
    }
    { btnSaveSelection ToolButton
      MoveScaled(105,0,4,4)
      ToolTip = ("Save selection")
      Action = ".save-selection"
      Picture = Picture["img/draw/save-selection.png"]
    }
    { Separator8 Separator
      MoveScaled(109,0,1,4)
    }
    { btnUnion ToolButton
      MoveScaled(110,0,4,4)
      ToolTip = ("Union")
      Action = ".union"
      Picture = Picture["icon:/small/union"]
    }
    { btnDifference ToolButton
      MoveScaled(113,0,4,4)
      ToolTip = ("Difference")
      Action = ".difference"
      Picture = Picture["icon:/small/difference"]
    }
    { btnIntersection ToolButton
      MoveScaled(116,0,4,4)
      Visible = False
      ToolTip = ("Intersection")
      Action = ".intersection"
      Picture = Picture["icon:/small/intersection"]
    }
    { btnExclusive ToolButton
      MoveScaled(119,0,4,4)
      Visible = False
      ToolTip = ("Exclusive or")
      Action = ".exclusive"
      Picture = Picture["icon:/small/exclusive"]
    }
    { btnInvert ToolButton
      MoveScaled(123,0,4,4)
      ToolTip = ("Invert selection")
      Action = ".invert"
      Picture = Picture["icon:/small/invert"]
    }
    { btnDuplicate ToolButton
      MoveScaled(126,0,4,4)
      ToolTip = ("Duplicate selection")
      Action = ".duplicate"
      Picture = Picture["icon:/small/clone"]
    }
    { btnOffset ToolButton
      MoveScaled(130,0,4,4)
      ToolTip = ("Expand selection")
      Action = ".offset"
      Picture = Picture["img/draw/offset.png"]
    }
    { Separator5 Separator
      MoveScaled(134,0,1,4)
    }
    { btnCrop ToolButton
      MoveScaled(135,0,4,4)
      Visible = False
      ToolTip = ("Crop")
      Action = ".crop"
      Picture = Picture["icon:/small/crop"]
    }
    { btnFlipH ToolButton
      MoveScaled(138,0,4,4)
      ToolTip = ("Horizontal flip")
      Action = ".flip-h"
      Picture = Picture["icon:/small/flip-h"]
    }
    { btnFlipV ToolButton
      MoveScaled(141,0,4,4)
      ToolTip = ("Vertical flip")
      Action = ".flip-v"
      Picture = Picture["icon:/small/flip-v"]
    }
    { btnRotateR ToolButton
      MoveScaled(144,0,4,4)
      ToolTip = ("Rotate clockwise")
      Action = ".rotate-r"
      Picture = Picture["icon:/small/rotate-right"]
    }
    { btnRotateL ToolButton
      MoveScaled(147,0,4,4)
      ToolTip = ("Rotate counter-clockwise")
      Action = ".rotate-l"
      Picture = Picture["icon:/small/rotate-left"]
    }
    { btnResize ToolButton
      MoveScaled(150,0,4,4)
      ToolTip = ("Resize or stretch image")
      Action = ".resize"
      AutoResize = True
      Picture = Picture["icon:/small/resize"]
    }
    { btnRotate ToolButton
      MoveScaled(153,0,4,4)
      Visible = False
      ToolTip = ("Rotate image")
      Action = ".rotate"
      AutoResize = True
      Picture = Picture["icon:/small/rotate"]
    }
    { btnSaveAs ToolButton mnuSaveAs
      Name = "btnSaveAs"
      MoveScaled(158,0,4,4)
      Visible = False
      ToolTip = ("Save as")
      Action = ".save-as"
      Picture = Picture["icon:/small/save-as"]
    }
    { Spring1 Spring
      MoveScaled(163,0,2,4)
    }
    { ToolButton7 ToolButton
      MoveScaled(167,0,4,4)
      ToolTip = ("Lock / unlock file")
      Action = ".locked"
      Picture = Picture["icon:/small/lock"]
      Toggle = True
    }
  }
  { Separator1 Separator
    MoveScaled(68,9,18,0)
  }
  { HBox2 HBox
    MoveScaled(2,13,141,74)
    Expand = True
    { panBackground Panel
      MoveScaled(9,6,62,37)
      Expand = True
      Arrangement = Arrange.Fill
      { dwgBackground DrawingArea
        MoveScaled(29,6,24,24)
        Background = Color.LightForeground
      }
      { imvImage ImageView
        MoveScaled(3,2,31,30)
        Tracking = True
        Border = False
        UseMouse = False
      }
    }
    { timSelect #Timer
      #MoveScaled(108,20)
      Delay = 400
    }
  }
}

# Gambas Action File 3.0

{ Actions
  { Action close
    Text = "Close"
    Shortcut = "Ctrl+W"
    Picture = "icon:/small/close"
  }
  { Action copy
    Text = "Copy"
    Shortcut = "Ctrl+C"
    Picture = "icon:/small/copy"
  }
  { Action crop
    Text = "Crop"
    Shortcut = "Ctrl+K"
    Picture = "icon:/small/crop"
  }
  { Action cut
    Text = "Cut"
    Shortcut = "Ctrl+X"
    Picture = "icon:/small/cut"
  }
  { Action difference
    Text = "Difference"
    Picture = "icon:/small/difference"
  }
  { Action duplicate
    Text = "Duplicate selection"
    Shortcut = "Ctrl+D"
    Picture = "icon:/small/clone"
  }
  { Action exclusive
    Text = "Exclusive or"
    Picture = "icon:/small/exclusive"
  }
  { Action expand-selection
    Text = "Expand selection"
    Shortcut = ""
    Picture = "img/draw/expand.png"
  }
  { Action flip-h
    Text = "Horizontal flip"
    Shortcut = ""
    Picture = "icon:/small/flip-h"
  }
  { Action flip-v
    Text = "Vertical flip"
    Shortcut = ""
    Picture = "icon:/small/flip-v"
  }
  { Action grid
    Text = "Drawing grid"
    Picture = "icon:/small/grid"
  }
  { Action hide
    Text = "Hide selection"
    Shortcut = "Esc"
    Picture = "icon:/small/unselect"
  }
  { Action intersection
    Text = "Intersection"
    Picture = "icon:/small/intersection"
  }
  { Action invert
    Text = "Invert selection"
    Shortcut = "Ctrl+I"
    Picture = "icon:/small/invert"
  }
  { Action locked
    Text = "Locked"
    Shortcut = ""
    Picture = "icon:/small/lock"
  }
  { Action offset
    Text = "Offset selection"
    Shortcut = "Ctrl+*"
    Picture = "img/draw/offset.png"
  }
  { Action paste
    Text = "Paste"
    Shortcut = "Ctrl+V"
    Picture = "icon:/small/paste"
  }
  { Action redo
    Text = "Redo"
    Shortcut = "Ctrl+Y"
    Picture = "icon:/small/redo"
  }
  { Action reload
    Text = "Reload"
    Shortcut = ""
    Picture = "icon:/small/refresh"
  }
  { Action resize
    Text = "Resize"
    Shortcut = ""
    Picture = "icon:/small/resize"
  }
  { Action rotate
    Text = "Rotate"
    Shortcut = ""
    Picture = "icon:/small/rotate"
  }
  { Action rotate-l
    Text = "Rotate counter-clockwise"
    Picture = "icon:/small/rotate-left"
  }
  { Action rotate-left
    Text = "Rotate counter-clockwise"
    Shortcut = "Ctrl+<"
    Picture = "icon:/small/rotate-left"
  }
  { Action rotate-r
    Text = "Rotate clockwise"
    Picture = "icon:/small/rotate-right"
  }
  { Action rotate-right
    Text = "Rotate clockwise"
    Shortcut = "Ctrl+>"
    Picture = "icon:/small/rotate-right"
  }
  { Action save
    Text = "Save"
    Shortcut = "Ctrl+S"
    Picture = "icon:/small/save"
  }
  { Action save-as
    Text = "Save as"
    Shortcut = "Ctrl+Shift+S"
    Picture = "icon:/small/save-as"
  }
  { Action save-selection
    Text = "Save selection"
    Shortcut = ""
    Picture = "img/draw/save-selection.png"
  }
  { Action select-all
    Text = "Select All"
    Shortcut = "Ctrl+A"
    Picture = "icon:/small/select-all"
  }
  { Action smooth-selection
    Text = "Smooth selection"
    Shortcut = ""
    Picture = "img/draw/smooth.png"
  }
  { Action tiff
    Text = "Save as TIFF"
    Shortcut = ""
  }
  { Action tool-change
    Text = "Edit selection"
    Picture = "img/draw/move.png"
  }
  { Action tool-draw
    Text = "Draw"
    Picture = "icon:/small/pen"
  }
  { Action tool-ellipse
    Text = "Ellipse"
    Picture = "icon:/small/draw-circle"
  }
  { Action tool-erase
    Text = "Erase"
    Picture = "icon:/small/erase"
  }
  { Action tool-line
    Text = "Line"
    Picture = "icon:/small/draw-path"
  }
  { Action tool-magic
    Text = "Magic wand"
    Picture = "icon:/small/wizard"
  }
  { Action tool-move
    Text = "Move"
    Picture = "icon:/small/move"
  }
  { Action tool-paste
    Text = "Paste"
    Picture = "icon:/small/paste"
  }
  { Action tool-polygon
    Text = "Polygon"
    Picture = "icon:/small/draw-polygon"
  }
  { Action tool-rectangle
    Text = "Rectangle"
    Picture = "icon:/small/draw-square"
  }
  { Action tool-text
    Text = "Text"
    Picture = "icon:/small/draw-text"
  }
  { Action undo
    Text = "Undo"
    Shortcut = "Ctrl+Z"
    Picture = "icon:/small/undo"
  }
  { Action union
    Text = "Union"
    Picture = "icon:/small/union"
  }
  { Action zoom
    Text = "Zoom level"
    Picture = "$ComboBox"
  }
  { Action zoom-fit
    Text = "Zoom fit"
    Shortcut = ""
    Picture = "icon:/small/zoom-fit"
  }
  { Action zoom-in
    Text = "Zoom in"
    Shortcut = "Ctrl++"
    Picture = "icon:/small/zoom-in"
  }
  { Action zoom-normal
    Text = "Zoom normal"
    Shortcut = "Ctrl+0"
    Picture = "icon:/small/zoom-normal"
  }
  { Action zoom-out
    Text = "Zoom out"
    Shortcut = "Ctrl+-"
    Picture = "icon:/small/zoom-out"
  }
}

{ Toolbars
  { Toolbar image
    Text = "Image editor"
    List = "save,reload,undo,redo,zoom-in,zoom,zoom-out,zoom-normal,zoom-fit,grid,copy,cut,tool-paste,tool-move,tool-draw,tool-erase,tool-line,tool-rectangle,tool-ellipse,tool-polygon,tool-text,tool-magic,hide,tool-change,expand-selection,smooth-selection,save-selection,union,difference,intersection,exclusive,invert,duplicate,offset,crop,flip-h,flip-v,rotate-r,rotate-l,resize,rotate,save-as,locked"
    Default = "save,reload,|,undo,redo,|,zoom-in,zoom,zoom-out,zoom-normal,zoom-fit,grid,|,copy,cut,tool-paste,|,tool-move,tool-draw,tool-erase,tool-line,tool-rectangle,tool-ellipse,tool-polygon,tool-text,tool-magic,hide,tool-change,expand-selection,smooth-selection,save-selection,|,union,difference,invert,duplicate,offset,|,flip-h,flip-v,rotate-r,rotate-l,resize,~,locked"
  }
}
