Adds Cheat Codes + Sustain Buttons pause item icons
@ -135,21 +135,21 @@ private extension PauseViewController
|
||||
|
||||
guard self.emulatorCore != nil else { return }
|
||||
|
||||
self.saveStateItem = PauseItem(image: UIImage(named: "SaveSaveState")!, text: NSLocalizedString("Save State", comment: ""), action: { [unowned self] _ in
|
||||
self.saveStateItem = PauseItem(image: #imageLiteral(resourceName: "SaveSaveState"), text: NSLocalizedString("Save State", comment: ""), action: { [unowned self] _ in
|
||||
self.saveStatesViewControllerMode = .saving
|
||||
self.performSegue(withIdentifier: "saveStates", sender: self)
|
||||
})
|
||||
|
||||
self.loadStateItem = PauseItem(image: UIImage(named: "LoadSaveState")!, text: NSLocalizedString("Load State", comment: ""), action: { [unowned self] _ in
|
||||
self.loadStateItem = PauseItem(image: #imageLiteral(resourceName: "LoadSaveState"), text: NSLocalizedString("Load State", comment: ""), action: { [unowned self] _ in
|
||||
self.saveStatesViewControllerMode = .loading
|
||||
self.performSegue(withIdentifier: "saveStates", sender: self)
|
||||
})
|
||||
|
||||
self.cheatCodesItem = PauseItem(image: UIImage(named: "SmallPause")!, text: NSLocalizedString("Cheat Codes", comment: ""), action: { [unowned self] _ in
|
||||
self.cheatCodesItem = PauseItem(image: #imageLiteral(resourceName: "CheatCodes"), text: NSLocalizedString("Cheat Codes", comment: ""), action: { [unowned self] _ in
|
||||
self.performSegue(withIdentifier: "cheats", sender: self)
|
||||
})
|
||||
|
||||
self.fastForwardItem = PauseItem(image: UIImage(named: "FastForward")!, text: NSLocalizedString("Fast Forward", comment: ""), action: { _ in })
|
||||
self.sustainButtonsItem = PauseItem(image: UIImage(named: "SmallPause")!, text: NSLocalizedString("Sustain Buttons", comment: ""), action: { _ in })
|
||||
self.fastForwardItem = PauseItem(image: #imageLiteral(resourceName: "FastForward"), text: NSLocalizedString("Fast Forward", comment: ""), action: { _ in })
|
||||
self.sustainButtonsItem = PauseItem(image: #imageLiteral(resourceName: "SustainButtons"), text: NSLocalizedString("Sustain Buttons", comment: ""), action: { _ in })
|
||||
}
|
||||
}
|
||||
|
||||
@ -2,17 +2,17 @@
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "SmallPause.png",
|
||||
"filename" : "cheats@1x.png",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "SmallPause@2x.png",
|
||||
"filename" : "cheats@2x.png",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "SmallPause@3x.png",
|
||||
"filename" : "cheats@3x.png",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
BIN
Resources/Assets.xcassets/Pause Icons/CheatCodes.imageset/cheats@1x.png
vendored
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
BIN
Resources/Assets.xcassets/Pause Icons/CheatCodes.imageset/cheats@2x.png
vendored
Normal file
|
After Width: | Height: | Size: 3.8 KiB |
BIN
Resources/Assets.xcassets/Pause Icons/CheatCodes.imageset/cheats@3x.png
vendored
Normal file
|
After Width: | Height: | Size: 6.1 KiB |
|
Before Width: | Height: | Size: 687 B |
|
Before Width: | Height: | Size: 663 B |
|
Before Width: | Height: | Size: 778 B |
26
Resources/Assets.xcassets/Pause Icons/SustainButtons.imageset/Contents.json
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "sustain@1x.png",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "sustain@2x.png",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "sustain@3x.png",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
},
|
||||
"properties" : {
|
||||
"template-rendering-intent" : "template"
|
||||
}
|
||||
}
|
||||
BIN
Resources/Assets.xcassets/Pause Icons/SustainButtons.imageset/sustain@1x.png
vendored
Normal file
|
After Width: | Height: | Size: 2.0 KiB |
BIN
Resources/Assets.xcassets/Pause Icons/SustainButtons.imageset/sustain@2x.png
vendored
Normal file
|
After Width: | Height: | Size: 3.2 KiB |
BIN
Resources/Assets.xcassets/Pause Icons/SustainButtons.imageset/sustain@3x.png
vendored
Normal file
|
After Width: | Height: | Size: 4.9 KiB |