Added icons to import

This commit is contained in:
MikeMaximus
2018-03-06 10:02:15 -06:00
parent 5245cc3ab3
commit afb479044c
7 changed files with 49 additions and 4 deletions
+11 -1
View File
@@ -9,6 +9,7 @@ Public Class frmAdvancedImport
Private bSelectAll As Boolean = True
Private bIsLoading As Boolean = False
Private iCurrentSort As Integer = 0
Private oImageList As ImageList
Private WithEvents tmFilterTimer As Timer
Public Property ImportInfo As ExportData
@@ -104,8 +105,10 @@ Public Class frmAdvancedImport
End If
If oApp.ImportUpdate Then
oListViewItem.ForeColor = Color.Red
oListViewItem.ImageIndex = 1
oListViewItem.Checked = True
Else
oListViewItem.ImageIndex = 0
End If
If sFilter = String.Empty Then
@@ -161,6 +164,13 @@ Public Class frmAdvancedImport
btnImport.Text = frmAdvancedImport_btnImport
chkSelectAll.Text = frmAdvancedImport_chkSelectAll
'Set Icons
oImageList = New ImageList()
oImageList.Images.Add(Icon_New)
oImageList.Images.Add(Icon_Update)
lstGames.SmallImageList = oImageList
chkSelectAll.Checked = True
'Init Filter Timer
+2
View File
@@ -365,6 +365,8 @@
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="References\Mono.Data.Sqlite.dll" />
<Content Include="Resources\New.png" />
<Content Include="Resources\Update.png" />
<Content Include="Utilities\x64\7za.exe">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
+20
View File
@@ -5098,6 +5098,16 @@ Namespace My.Resources
End Get
End Property
'''<summary>
''' Looks up a localized resource of type System.Drawing.Bitmap.
'''</summary>
Friend ReadOnly Property Icon_New() As System.Drawing.Bitmap
Get
Dim obj As Object = ResourceManager.GetObject("Icon_New", resourceCulture)
Return CType(obj,System.Drawing.Bitmap)
End Get
End Property
'''<summary>
''' Looks up a localized resource of type System.Drawing.Bitmap.
'''</summary>
@@ -5138,6 +5148,16 @@ Namespace My.Resources
End Get
End Property
'''<summary>
''' Looks up a localized resource of type System.Drawing.Bitmap.
'''</summary>
Friend ReadOnly Property Icon_Update() As System.Drawing.Bitmap
Get
Dim obj As Object = ResourceManager.GetObject("Icon_Update", resourceCulture)
Return CType(obj,System.Drawing.Bitmap)
End Get
End Property
'''<summary>
''' Looks up a localized resource of type System.Drawing.Bitmap.
'''</summary>
+6
View File
@@ -2056,4 +2056,10 @@
<data name="frmSettings_ConfirmMessageReset" xml:space="preserve">
<value>Do you want to reset all hidden warnings and messages?</value>
</data>
<data name="Icon_New" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\New.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Icon_Update" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Update.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
</root>
Binary file not shown.

After

Width:  |  Height:  |  Size: 926 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 891 B

+10 -3
View File
@@ -22,11 +22,17 @@ All Platforms:
- When a game is deleted via Game Manager (or sync), all backup manifest entries for that particular game are now deleted. The backup files themselves are not.
- The Game Manager now syncs changes to the remote database immediately, instead of only when closed.
- Core Design Changes (Features)
- Added the ability to display messages that can be supressed. These messages can be reset via the Settings screen.
- The "Enable Sync" feature is now mandatory and the option been removed from Settings.
- The "Clean Local Manifest" feature has been removed. It is no longer required because manfiest entries can no longer be orphaned. Existing orphaned entries will be removed during the v1.1.0 database upgrade.
- The "Clean Local Manifest" feature has been removed. It is not required because manfiest entries are no longer orphaned by design. Existing orphaned entries will be removed during the v1.1.0 database upgrade.
- Added "Sync Game IDs" feature. This allows the user to update their game configuration identifiers to match the official list or an export file.
- The sync is based on similarly named game configurations, therefore it's not 100% effective. Some data may be missed and require manual changes.
- This is mainly an optional upgrade tool for users with existing data from older versions.
- Import / Export Changes
- When importing a game list, GBM now uses the Game ID to determine if a game is new or has an updated configuration.
- Games with an updated configuration are identified by red text.
- GBM will offer to "Sync Game IDs" when importing from the official list after upgrading to v1.1.0.
- This offer only appears once and only appears for users that have upgraded from an older version.
- GBM now uses the Game ID to determine if a game is new or has an updated configuration.
- Added icons to the import list to indicate a "New" or "Updated" game.
- Added Regular Expression support for game detection
- This feature allows GBM to detect games based on a pattern instead of a single process name.
- This allows GBM to better support games that run from multiple executables and games that use interpreters or emulators.
@@ -49,5 +55,6 @@ Known Issues:
- If one or more Game IDs are changed on one computer and these changes are synced to another PC sharing the same backup folder:
- The local session data on that PC for the changed game(s) will be lost.
- The local backup manifest data for the changed game(s) on that PC will be reset. GBM will see any backups for the changed game(s) as new and will handle them accordingly.
- If the "Create a sub-folder..." option is enabled, GBM may leave empty folders when backups are updated or deleted. This only only applies to folders created with a prior version of GBM.
The entire version history of GBM releases is available at http://mikemaximus.github.io/gbm-web/versionhistory.html