|
@@ -2074,8 +2074,9 @@ extension KMMainViewController {
|
|
self.km_beginSheet(windowC: extract)
|
|
self.km_beginSheet(windowC: extract)
|
|
extract.selectCurrentPageBtn()
|
|
extract.selectCurrentPageBtn()
|
|
// self.showCreateStamp()
|
|
// self.showCreateStamp()
|
|
|
|
+// self.showAddSignature()
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+ //MARK: 创建文字图章示例实际上不会在这里使用
|
|
func showCreateStamp() {
|
|
func showCreateStamp() {
|
|
let stampCreaterWindowController = KMStampCreaterWindowController()
|
|
let stampCreaterWindowController = KMStampCreaterWindowController()
|
|
stampCreaterWindowController.window?.backgroundColor = .clear
|
|
stampCreaterWindowController.window?.backgroundColor = .clear
|
|
@@ -2086,6 +2087,14 @@ extension KMMainViewController {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ //MARK: 添加签名示例实际上不会在这里使用
|
|
|
|
+ func showAddSignature() {
|
|
|
|
+ var signatureWindowController = KMSignatureWindowController(windowNibName: "KMSignatureWindowController")//[[KMSignatureWindowController alloc] initWithWindowNibName:@"KMSignatureWindowController"];
|
|
|
|
+// signatureWindowController.window?.backgroundColor = .clear
|
|
|
|
+ signatureWindowController.beginSheetModal(for: self.view.window) { signature in
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
|
|
func beginProgressSheet(withMessage message: String, maxValue: UInt) {
|
|
func beginProgressSheet(withMessage message: String, maxValue: UInt) {
|
|
// if progressController == nil {
|
|
// if progressController == nil {
|