# Gambas Form File 3.0

{ Form Form
  MoveScaled(0,0,127,98)
  Expand = True
  Persistent = True
  Arrangement = Arrange.Fill
  { mnuUpdate Menu
    Visible = False
  }
  { tabVersion TabPanel
    MoveScaled(1,1,126,95)
    Arrangement = Arrange.Vertical
    Border = False
    Count = 4
    Index = 0
    Text = ("Changes")
    Picture = Picture["icon:/medium/version-control"]
    { Splitter1 Splitter
      MoveScaled(1,1,122,76)
      Expand = True
      Arrangement = Arrange.Vertical
      { Panel1 VBox
        MoveScaled(6,2,113,39)
        { tlbCommit ToolBar
          MoveScaled(8,1,83,4)
          Key = "commit"
          ReadOnly = 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(15,0,21,4)
            Action = "vc-commit-push"
            AutoResize = True
            Text = ("Commit and push") & "..."
            Picture = Picture["icon:/small/upload"]
          }
          { btnPush ToolButton btnCommit
            Name = "btnPush"
            MoveScaled(38,0,11,4)
            Action = "vc-push"
            AutoResize = True
            Text = ("Push") & "..."
            Picture = Picture["icon:/small/upload"]
          }
          { btnRevert ToolButton
            MoveScaled(49,0,18,4)
            Action = "vc-revert"
            AutoResize = True
            Text = Shortcut(("Undo changes"), "U") & "..."
            Picture = Picture["icon:/small/undo"]
          }
        }
        { panNothing Panel
          MoveScaled(5,11,89,6)
          Arrangement = Arrange.Vertical
          { Panel4 Panel
            MoveScaled(3,0,80,4)
            Expand = True
            Arrangement = Arrange.Fill
            Margin = True
            { Label1 Label
              MoveScaled(0,0,41,4)
              Font = Font["+4,Bold"]
              Text = ("There is no change to commit.")
            }
          }
          { Separator3 Separator
            MoveScaled(7,5,29,0)
            Visible = False
          }
        }
        { edtJournal TextEditor
          MoveScaled(3,22,38,14)
          Expand = True
          Border = False
        }
      }
      { panDiff VBox
        MoveScaled(9,42,111,28)
        { tlbChange ToolBar
          MoveScaled(1,1,86,4)
          Key = "change"
          ReadOnly = True
          Separator = True
          { btnLocateChange ToolButton
            MoveScaled(0,0,17,4)
            Action = "vc-locate"
            AutoResize = True
            Text = ("Locate change")
            Picture = Picture["icon:/small/find"]
          }
          { btnHideTrans ToggleButton
            MoveScaled(18,0,26,4)
            Action = "vc-hide-translation"
            AutoResize = True
            Text = ("Hide translation changes")
            Picture = Picture["icon:/small/language"]
            Border = False
          }
          { btnHideSpace ToggleButton
            MoveScaled(45,0,22,4)
            Action = "vc-hide-space"
            AutoResize = True
            Text = ("Hide space changes")
            Picture = Picture["icon:/small/select"]
            Border = False
          }
        }
        { edtDiff TextEditor
          MoveScaled(2,11,50,16)
          Expand = True
          Border = False
          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
      Separator = True
      { btnUpdate MenuButton
        MoveScaled(0,0,17,4)
        Action = "vc-sync"
        AutoResize = True
        Text = ("Synchronize") & "..."
        Picture = Picture["icon:/small/download"]
        Border = False
      }
      { btnAddAll ToolButton
        MoveScaled(18,0,18,4)
        Action = "vc-add"
        AutoResize = True
        Text = ("Add all new files")
        Picture = Picture["icon:/small/added"]
      }
      { 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(77,1,10,2)
        Expand = True
      }
    }
    { panIdentity HBox
      MoveScaled(5,7,96,6)
      Spacing = True
      Margin = True
      { 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"]
      }
    }
    { sepIdentity Separator
      MoveScaled(5,14,35,0)
    }
    { gvwVcInfo GridView
      MoveScaled(5,15,66,44)
      Border = False
      Padding = 4
    }
    { sepIdentity2 Separator
      MoveScaled(6,61,35,0)
    }
    { svwStatus ScrollView
      MoveScaled(5,64,93,23)
      Expand = True
      Arrangement = Arrange.Vertical
      Border = False
      { 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"]
    { tlbHistory ToolBar
      MoveScaled(-1,1,124,4)
      Key = "history"
      ReadOnly = True
      Separator = True
      { txtSearchHistory ButtonBox
        MoveScaled(2,0,41,4)
        Foreground = Color.LightForeground
        Expand = True
        Picture = Picture["icon:/small/close"]
        Placeholder = ("Enter a filter")
        Border = False
        Button = False
        ClearButton = True
        Filter = True
      }
      { Separator2 Separator
        MoveScaled(46,0,0,4)
      }
      { btnShowHistoryChanges ToolButton
        MoveScaled(60,0,20,4)
        Action = "vc-history-changes"
        AutoResize = True
        Text = ("Display changes in history")
        Picture = Picture["icon:/small/zoom-in"]
        Toggle = True
      }
      { Separator1 Separator
        MoveScaled(83,0,1,4)
      }
      { btnDefaultBranch ToolButton
        MoveScaled(87,0,4,4)
        Action = "vc-default-branch"
        Picture = Picture["icon:/small/tag"]
      }
      { cmbBranch ComboBox
        MoveScaled(91,0,32,3)
        Background = Color.Background
        ReadOnly = True
        Border = False
      }
      { Panel3 Panel
        MoveScaled(57,1,2,1)
        Expand = True
      }
    }
    { gvwHistory VersionControlHistoryView
      MoveScaled(9,14,90,58)
      Expand = True
      Border = False
    }
    Index = 3
    Text = ("Terminal")
    Picture = Picture["icon:/medium/terminal"]
    { trmVersionControl TerminalView
      MoveScaled(5,9,69,27)
      Expand = True
      Border = False
      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
  }
  { btnWorkspace WorkspaceButton
    MoveScaled(69,1,4,4)
    Background = Color.Background
    ToolTip = ("Show project files")
    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 = ""
    Picture = "icon:/small/tag"
  }
  { Action vc-hide-space
    Text = "Hide space changes"
    Picture = "icon:/small/select"
  }
  { Action vc-hide-translation
    Text = "Hide translation changes"
    Picture = "icon:/small/language"
  }
  { Action vc-history-changes
    Text = "Display changes in history"
    Picture = "icon:/small/zoom-in"
  }
  { 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-revert"
    Default = "vc-commit,vc-commit-push,vc-push,vc-revert"
  }
  { Toolbar history
    Text = ""
    List = "vc-history-changes,vc-default-branch"
    Default = "$txtSearchHistory,|,vc-history-changes,|,vc-default-branch,$cmbBranch,~"
  }
  { Toolbar repository
    Text = ""
    List = "vc-sync,vc-add,vc-branch,vc-refresh,vc-browse"
    Default = "vc-sync,vc-add,vc-branch,vc-refresh,vc-browse,~"
  }
}
