Version Control: Add a button that shows all the modifications in the version control panel.
[DEVELOPMENT ENVIRONMENT] * NEW: Version Control: Add a button that shows all the modifications in the version control panel.
This commit is contained in:
parent
9072d7c9de
commit
c753fbc2a3
4 changed files with 24 additions and 5 deletions
|
@ -377,6 +377,8 @@ Public Sub ReadConfig()
|
||||||
Project.SetSmallFont(hCtrl)
|
Project.SetSmallFont(hCtrl)
|
||||||
Next
|
Next
|
||||||
|
|
||||||
|
btnChanges.Picture = Picture["img/32/modified.png"].Stretch(Stock.GetSize("small"))
|
||||||
|
|
||||||
'H = Max(Stock.GetSize("small"), cmbWatch.Font.H) * 1.4
|
'H = Max(Stock.GetSize("small"), cmbWatch.Font.H) * 1.4
|
||||||
'panWatch.H = H
|
'panWatch.H = H
|
||||||
' For Each hChild In panWatch.Children
|
' For Each hChild In panWatch.Children
|
||||||
|
@ -1785,3 +1787,9 @@ Public Sub cmbWatch_Change()
|
||||||
UpdateWatchButtons
|
UpdateWatchButtons
|
||||||
|
|
||||||
End
|
End
|
||||||
|
|
||||||
|
Public Sub btnChanges_Click()
|
||||||
|
|
||||||
|
FFileInfoVC.Run(Project.Dir)
|
||||||
|
|
||||||
|
End
|
||||||
|
|
|
@ -285,26 +285,31 @@
|
||||||
ToolTip = ("Clear console")
|
ToolTip = ("Clear console")
|
||||||
Picture = Picture["icon:/small/clear"]
|
Picture = Picture["icon:/small/clear"]
|
||||||
}
|
}
|
||||||
|
{ btnChanges ToolButton
|
||||||
|
MoveScaled(9,0,17,4)
|
||||||
|
AutoResize = True
|
||||||
|
Text = ("Modifications.") & "..."
|
||||||
|
}
|
||||||
{ btnVcCommit ToolButton
|
{ btnVcCommit ToolButton
|
||||||
MoveScaled(9,0,12,4)
|
MoveScaled(28,0,12,4)
|
||||||
AutoResize = True
|
AutoResize = True
|
||||||
Text = ("Commit") & "..."
|
Text = ("Commit") & "..."
|
||||||
Picture = Picture["icon:/small/upload"]
|
Picture = Picture["icon:/small/upload"]
|
||||||
}
|
}
|
||||||
{ btnVcUpdate ToolButton
|
{ btnVcUpdate ToolButton
|
||||||
MoveScaled(20,0,15,4)
|
MoveScaled(41,0,15,4)
|
||||||
AutoResize = True
|
AutoResize = True
|
||||||
Text = ("Synchronize")
|
Text = ("Synchronize")
|
||||||
Picture = Picture["icon:/small/download"]
|
Picture = Picture["icon:/small/download"]
|
||||||
}
|
}
|
||||||
{ btnVcRevert ToolButton
|
{ btnVcRevert ToolButton
|
||||||
MoveScaled(34,0,20,4)
|
MoveScaled(57,0,9,4)
|
||||||
AutoResize = True
|
AutoResize = True
|
||||||
Text = ("Revert all changes") & "..."
|
Text = ("Revert all changes") & "..."
|
||||||
Picture = Picture["icon:/small/undo"]
|
Picture = Picture["icon:/small/undo"]
|
||||||
}
|
}
|
||||||
{ btnVcAddAll ToolButton
|
{ btnVcAddAll ToolButton
|
||||||
MoveScaled(54,0,27,4)
|
MoveScaled(68,0,13,4)
|
||||||
AutoResize = True
|
AutoResize = True
|
||||||
Text = ("Add everything to repository")
|
Text = ("Add everything to repository")
|
||||||
Picture = Picture["icon:/small/add"]
|
Picture = Picture["icon:/small/add"]
|
||||||
|
|
|
@ -1828,7 +1828,12 @@ Public Sub gvwLayout_Select()
|
||||||
Endif
|
Endif
|
||||||
|
|
||||||
sName = $aLayout[gvwLayout.Row * 2]
|
sName = $aLayout[gvwLayout.Row * 2]
|
||||||
|
If sName Then
|
||||||
btnDeleteLayout.Enabled = Exist(GetLayoutPath(sName))
|
btnDeleteLayout.Enabled = Exist(GetLayoutPath(sName))
|
||||||
|
Else
|
||||||
|
btnDeleteLayout.Enabled = False
|
||||||
|
Endif
|
||||||
|
|
||||||
LoadLayout(sName)
|
LoadLayout(sName)
|
||||||
|
|
||||||
End
|
End
|
||||||
|
|
|
@ -958,6 +958,7 @@
|
||||||
}
|
}
|
||||||
{ btnDeleteLayout Button
|
{ btnDeleteLayout Button
|
||||||
MoveScaled(0,5,19,4)
|
MoveScaled(0,5,19,4)
|
||||||
|
Enabled = False
|
||||||
AutoResize = True
|
AutoResize = True
|
||||||
Text = ("Delete")
|
Text = ("Delete")
|
||||||
Picture = Picture["icon:/small/delete"]
|
Picture = Picture["icon:/small/delete"]
|
||||||
|
|
Loading…
Reference in a new issue