浏览代码

【2025】【综合】icon修改

niehaoyu 1 天之前
父节点
当前提交
c7f87278f0

+ 22 - 0
PDF Office/PDF Master/KMClass/KMPDFViewController/PDFImages.xcassets/Toolbar/Edit/edit_text.imageset/Contents.json

@@ -0,0 +1,22 @@
+{
+  "images" : [
+    {
+      "filename" : "edit_text.pdf",
+      "idiom" : "universal"
+    },
+    {
+      "appearances" : [
+        {
+          "appearance" : "luminosity",
+          "value" : "dark"
+        }
+      ],
+      "filename" : "addText.pdf",
+      "idiom" : "universal"
+    }
+  ],
+  "info" : {
+    "author" : "xcode",
+    "version" : 1
+  }
+}

二进制
PDF Office/PDF Master/KMClass/KMPDFViewController/PDFImages.xcassets/Toolbar/Edit/edit_text.imageset/addText.pdf


二进制
PDF Office/PDF Master/KMClass/KMPDFViewController/PDFImages.xcassets/Toolbar/Edit/edit_text.imageset/edit_text.pdf


+ 3 - 3
PDF Office/PDF Master/KMClass/KMPDFViewController/Toolbar/Model/KMPDFToolbarManager.swift

@@ -111,7 +111,7 @@ class KMPDFToolbarManager: NSObject {
     let eyeProperty = ComponentButtonProperty(type: .text_gray_opacity, size: .xs, onlyIcon: true, icon: NSImage(named: "markup_show"), identifier: KMPDFToolbar_eye_Identifier)
     
     //MARK: -Edit
-    let edit_text_Property = ComponentButtonProperty(type: .text_gray_opacity, size: .xs, showLeftIcon: true, buttonText: "Text", icon: NSImage(named: "markup_text"), identifier: KMPDFToolbar_edit_text_Identifier)
+    let edit_text_Property = ComponentButtonProperty(type: .text_gray_opacity, size: .xs, showLeftIcon: true, buttonText: "Text", icon: NSImage(named: "edit_text"), identifier: KMPDFToolbar_edit_text_Identifier)
     let edit_image_Property = ComponentButtonProperty(type: .text_gray_opacity, size: .xs, showLeftIcon: true, buttonText: "Image", icon: NSImage(named: "edit_image"), identifier: KMPDFToolbar_edit_image_Identifier)
     let edit_link_Property = ComponentButtonProperty(type: .text_gray_opacity, size: .xs, showLeftIcon: true, buttonText: "Link", icon: NSImage(named: "edit_link"), identifier: KMPDFToolbar_edit_link_Identifier)
     
@@ -197,13 +197,13 @@ class KMPDFToolbarManager: NSObject {
     //MARK: -Protect
     let protect_redact_Property = ComponentButtonProperty(type: .text_gray_opacity, size: .xs, showLeftIcon: true, buttonText: "Redact", icon: NSImage(named: "protect_redact"), identifier: KMPDFToolbar_protect_redact_Identifier)
     let protect_security_Property = ComponentButtonProperty(type: .text_gray_opacity, size: .xs, showLeftIcon: true, buttonText: "Security", icon: NSImage(named: "protect_security"), identifier: KMPDFToolbar_protect_security_Identifier)
-    let protect_removeSecurity_Property = ComponentButtonProperty(type: .text_gray_opacity, size: .xs, showLeftIcon: true, buttonText: "Remove Security", icon: NSImage(named: "protect_security"), identifier: KMPDFToolbar_protect_removeSecurity_Identifier)
+    let protect_removeSecurity_Property = ComponentButtonProperty(type: .text_gray_opacity, size: .xs, showLeftIcon: true, buttonText: "Remove Security", icon: NSImage(named: "protect_security_remove"), identifier: KMPDFToolbar_protect_removeSecurity_Identifier)
     let protect_digitalSign_Property = ComponentButtonProperty(type: .text_gray_opacity, size: .xs, showLeftIcon: true, buttonText: "Digital Signature", icon: NSImage(named: "form_digitalSign"), identifier: KMPDFToolbar_protect_digitalSign_Identifier)
     
     //MARK: -Tools
     let tools_OCR_Property = ComponentButtonProperty(type: .text_gray_opacity, size: .xs, showLeftIcon: true, buttonText: "OCR", icon: NSImage(named: "tools_OCR"), identifier: KMPDFToolbar_tools_OCR_Identifier)
     let tools_merge_Property = ComponentButtonProperty(type: .text_gray_opacity, size: .xs, showLeftIcon: true, buttonText: "Merge", icon: NSImage(named: "tools_merge"), identifier: KMPDFToolbar_tools_merge_Identifier)
-    let tools_compress_Property = ComponentDropdownToolProperty(state: .normal, text: "Compress", leftIcon: NSImage(named: "tools_compare"), showDropdown: true, arrowIcon: NSImage(named: "toolbar_arrowDown_fill"))
+    let tools_compress_Property = ComponentDropdownToolProperty(state: .normal, text: "Compress", leftIcon: NSImage(named: "tools_compress"), showDropdown: true, arrowIcon: NSImage(named: "toolbar_arrowDown_fill"))
     var tools_compress_compress_Property: ComponentMenuitemProperty = ComponentMenuitemProperty(text: "Compress", identifier: KMPDFToolbar_tools_compress_Identifier)
     var tools_compress_batchCompress_Property: ComponentMenuitemProperty = ComponentMenuitemProperty(text: "Batch Compress", identifier: KMPDFToolbar_tools_batch_compress_Identifier)