# Gambas Form File 3.0

{ Form Form
  MoveScaled(0,0,134,98)
  Expand = True
  Persistent = True
  Arrangement = Arrange.Fill
  { mnuUpdate Menu
    Visible = False
  }
  { tabVersion TabPanel
    MoveScaled(1,1,131,95)
    Arrangement = Arrange.Vertical
    Border = False
    Count = 4
    CloseButton = True
    Separator = False
    Index = 0
    Text = ("Changes")
    Picture = Picture["icon:/medium/version-control"]
    { Splitter1 Splitter
      MoveScaled(1,1,129,76)
      Expand = True
      Arrangement = Arrange.Vertical
      Spacing = True
      Border = False
      { Panel1 Panel
        MoveScaled(1,1,127,39)
        Arrangement = Arrange.Vertical
        Spacing = True
        { panNoChange Panel
          MoveScaled(1,0,42,4)
          Background = Color.SelectedBackground
          Arrangement = Arrange.Fill
          Border = Border.Styled
          { lblNoChange Label
            MoveScaled(0,0,33,4)
            Font = Font["-1,Bold"]
            Foreground = Color.SelectedForeground
            Spacing = True
            AutoResize = True
            Text = ("There is no change to commit.")
          }
        }
        { tlbCommit ToolBar
          MoveScaled(1,5,124,4)
          Key = "commit"
          ReadOnly = True
          Border = True
          Separator = True
          { btnCommit ToolButton
            MoveScaled(1,0,13,4)
            Action = "vc-commit"
            AutoResize = True
            Text = ("Commit") & "..."
            Picture = Picture["icon:/small/apply"]
          }
          { btnCommitPush ToolButton btnCommit
            Name = "btnCommitPush"
            MoveScaled(14,0,21,4)
            Action = "vc-commit-push"
            AutoResize = True
            Text = ("Commit and push") & "..."
            Picture = Picture["icon:/small/upload"]
          }
          { btnPush ToolButton btnCommit
            Name = "btnPush"
            MoveScaled(35,0,11,4)
            Action = "vc-push"
            AutoResize = True
            Text = ("Push") & "..."
            Picture = Picture["icon:/small/upload"]
          }
          { btnAddAll ToolButton
            MoveScaled(46,0,21,4)
            Action = "vc-add"
            AutoResize = True
            Text = ("Add all new files") & "..."
            Picture = Picture["icon:/small/added"]
          }
          { btnRevert ToolButton
            MoveScaled(67,0,18,4)
            Action = "vc-revert"
            AutoResize = True
            Text = Shortcut(("Undo changes"), "U") & "..."
            Picture = Picture["icon:/small/undo"]
          }
        }
        { edtJournal TextEditor
          MoveScaled(3,22,38,14)
          Expand = True
        }
      }
      { panDiff Panel
        MoveScaled(9,42,111,28)
        Arrangement = Arrange.Vertical
        { tlbChange ToolBar
          MoveScaled(1,1,86,4)
          Key = "change"
          ReadOnly = True
          Border = True
          Separator = True
          { btnLocateChange ToolButton
            MoveScaled(0,0,17,4)
            Action = "vc-locate"
            AutoResize = True
            Text = ("Locate change")
            Picture = Picture["icon:/small/find"]
          }
          { btnHideTrans CheckBox
            MoveScaled(20,0,26,4)
            Action = "vc-hide-translation"
            AutoResize = True
            Text = ("Hide translation changes")
          }
          { btnHideSpace CheckBox
            MoveScaled(50,0,22,4)
            Action = "vc-hide-space"
            AutoResize = True
            Text = ("Hide space changes")
          }
        }
        { edtDiff TextEditor
          MoveScaled(2,11,50,16)
          Expand = True
          Highlight = "Diff"
          ReadOnly = True
          Wrap = True
          ShowCursor = False
        }
      }
    }
    Index = 1
    Text = ("Repository")
    Picture = Picture["icon:/medium/database"]
    { tlbRepository ToolBar
      MoveScaled(2,1,108,4)
      Key = "repository"
      ReadOnly = True
      Border = True
      Separator = True
      { btnUpdate MenuButton
        MoveScaled(0,0,17,4)
        Action = "vc-sync"
        AutoResize = True
        Text = ("Synchronize") & "..."
        Picture = Picture["icon:/small/download"]
        Border = False
      }
      { btnAddBranch ToolButton
        MoveScaled(37,0,21,4)
        Action = "vc-branch"
        AutoResize = True
        Text = ("Create new branch") & "..."
        Picture = Picture["icon:/small/add"]
      }
      { btnRefresh ToolButton
        MoveScaled(58,0,14,4)
        Action = "vc-refresh"
        AutoResize = True
        Text = ("Refresh")
        Picture = Picture["icon:/small/refresh"]
      }
      { btnBrowse ToolButton
        MoveScaled(89,0,16,4)
        Action = "vc-browse"
        AutoResize = True
        Text = ("Browse") & "..."
        Picture = Picture["icon:/small/file-manager"]
      }
      { Panel2 Panel
        MoveScaled(82,1,7,2)
        Expand = True
      }
    }
    { Panel4 Panel
      MoveScaled(70,6,5,1)
    }
    { panIdentity Panel
      MoveScaled(5,7,96,6)
      Arrangement = Arrange.Horizontal
      AutoResize = True
      Spacing = True
      Margin = True
      Border = Border.Styled
      { Label34 Label
        MoveScaled(0,0,11,4)
        AutoResize = True
        Text = ("User name")
      }
      { txtVcName TextBox
        MoveScaled(13,0,19,4)
        Expand = True
      }
      { Label35 Label
        MoveScaled(33,0,15,4)
        AutoResize = True
        Text = ("E-mail address")
      }
      { txtVcMail TextBox
        MoveScaled(49,0,19,4)
        Expand = True
      }
      { btnUpdateIdentity Button
        MoveScaled(69,0,24,4)
        AutoResize = True
        Text = ("Update identity")
        Picture = Picture["icon:/small/rename"]
      }
    }
    { gvwVcInfo GridView
      MoveScaled(5,15,66,44)
      Padding = 4
    }
    { Panel5 Panel
      MoveScaled(48,61,7,1)
    }
    { svwStatus ScrollView
      MoveScaled(5,64,93,23)
      Expand = True
      Arrangement = Arrange.Vertical
      { lblStatus Label
        MoveScaled(0,0,48,4)
        Font = Font["Bold,+2"]
        Padding = 2
        AutoResize = True
        Text = ("Repository status")
      }
      { edtStatus TextEditor
        MoveScaled(0,5,51,12)
        Enabled = False
        Border = False
        ReadOnly = True
        ShowCursor = False
      }
    }
    Index = 2
    Text = ("History")
    Picture = Picture["icon:/medium/clock"]
    { tlbHistoryBranch ToolBar
      MoveScaled(3,0,96,4)
      Key = "history-branch"
      ReadOnly = True
      Border = True
      { btnDefaultBranch ToolButton
        MoveScaled(0,0,4,4)
        ToolTip = ("Switch to project branch")
        Action = "vc-default-branch"
        Picture = Picture["icon:/small/home"]
      }
      { cmbBranch ComboBox
        MoveScaled(4,0,47,4)
        ReadOnly = True
      }
      { btnUpdateHistory ToolButton
        MoveScaled(53,0,18,4)
        AutoResize = True
        Text = ("Synchronize") & "..."
        Picture = Picture["icon:/medium/download"]
      }
      { btnCherryPick ToolButton
        MoveScaled(71,0,21,4)
        AutoResize = True
        Text = ("Cherry-pick") & "..."
        Picture = Picture["icon:/medium/cherry"]
      }
    }
    { Panel6 Panel
      MoveScaled(45,6,5,1)
    }
    { tlbHistory ToolBar
      MoveScaled(2,8,124,4)
      Key = "history"
      ReadOnly = True
      Border = True
      { txtSearchHistory ButtonBox
        MoveScaled(2,0,35,4)
        Background = Color.Transparent
        Foreground = Color.LightForeground
        Expand = True
        Picture = Picture["icon:/small/close"]
        Placeholder = ("Enter a filter")
        Border = False
        Button = False
        ClearButton = True
        Filter = True
      }
      { Panel3 Panel
        MoveScaled(38,0,1,4)
      }
      { btnShowHistoryChanges CheckBox
        MoveScaled(44,0,20,4)
        Action = "vc-history-changes"
        AutoResize = True
        Text = ("Display changes in history")
      }
    }
    { gvwHistory VersionControlHistoryView
      MoveScaled(9,14,90,58)
      Expand = True
    }
    Index = 3
    Text = ("Terminal")
    Picture = Picture["icon:/medium/terminal"]
    { trmVersionControl TerminalView
      MoveScaled(5,9,69,27)
      Expand = True
      Limit = 65536
      Blink = True
      CursorStyle = TerminalView.Underline
      ShowLink = True
    }
    Index = 0
  }
  { btnSpace ToolButton
    MoveScaled(63,1,4,4)
    Visible = False
    Background = Color.Background
    Ignore = True
  }
}

# Gambas Action File 3.0

{ Actions
  { Action vc-add
    Text = "Add all new files"
    Picture = "icon:/small/added"
  }
  { Action vc-branch
    Text = "Create new branch"
    Picture = "icon:/small/add"
  }
  { Action vc-browse
    Text = "Browse"
    Picture = "icon:/small/file-manager"
  }
  { Action vc-commit
    Text = "Commit"
    Picture = "icon:/small/apply"
  }
  { Action vc-commit-push
    Text = "Commit and push"
    Picture = "icon:/small/upload"
  }
  { Action vc-default-branch
    Text = "Switch to project branch"
    Picture = "icon:/small/home"
  }
  { Action vc-hide-space
    Text = "Hide space changes"
    Picture = "$CheckBox"
  }
  { Action vc-hide-translation
    Text = "Hide translation changes"
    Picture = "$CheckBox"
  }
  { Action vc-history-changes
    Text = "Display changes in history"
    Picture = "$CheckBox"
  }
  { Action vc-locate
    Text = "Locate change"
    Picture = "icon:/small/find"
  }
  { Action vc-push
    Text = "Push"
    Picture = "icon:/small/upload"
  }
  { Action vc-refresh
    Text = "Refresh"
    Picture = "icon:/small/refresh"
  }
  { Action vc-revert
    Text = "Undo changes"
    Picture = "icon:/small/undo"
  }
  { Action vc-sync
    Text = "Synchronize"
    Picture = "icon:/small/download"
  }
}

{ Toolbars
  { Toolbar change
    Text = ""
    List = "vc-locate,vc-hide-translation,vc-hide-space"
    Default = "vc-locate,vc-hide-translation,vc-hide-space"
  }
  { Toolbar commit
    Text = ""
    List = "vc-commit,vc-commit-push,vc-push,vc-add,vc-revert"
    Default = "vc-commit,vc-commit-push,vc-push,vc-add,vc-revert"
  }
  { Toolbar history
    Text = ""
    List = "vc-history-changes"
    Default = "$txtSearchHistory,-,vc-history-changes"
  }
  { Toolbar history-branch
    Text = ""
    List = "vc-default-branch"
    Default = "vc-default-branch,$cmbBranch,$btnUpdateHistory,$btnCherryPick"
  }
  { Toolbar repository
    Text = ""
    List = "vc-sync,vc-branch,vc-refresh,vc-browse"
    Default = "vc-sync,vc-branch,vc-refresh,vc-browse,~"
  }
}
