(0, 0)にwindow配置
This commit is contained in:
+5
-4
@@ -12,11 +12,11 @@
|
||||
"QR frame size in pixels."
|
||||
:type 'integer)
|
||||
|
||||
(defcustom my-qrcode-frame-left 100
|
||||
(defcustom my-qrcode-frame-left 0
|
||||
"QR frame left position."
|
||||
:type 'integer)
|
||||
|
||||
(defcustom my-qrcode-frame-top 100
|
||||
(defcustom my-qrcode-frame-top 0
|
||||
"QR frame top position."
|
||||
:type 'integer)
|
||||
|
||||
@@ -177,7 +177,8 @@
|
||||
(make-frame
|
||||
`((name . "QR Code")
|
||||
(left . ,my-qrcode-frame-left)
|
||||
(top . ,my-qrcode-frame-top)))))
|
||||
(top . ,my-qrcode-frame-top)
|
||||
(user-position . t)))))
|
||||
|
||||
;; 正方形サイズ(ピクセル単位)
|
||||
(set-frame-size
|
||||
@@ -199,7 +200,7 @@
|
||||
|
||||
;; (global-set-key
|
||||
;; (kbd "C-c q")
|
||||
;; #'my-region-to-qrcode)
|
||||
;; #'my-qrcode-from-region)
|
||||
|
||||
(provide 'my-qrcode)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user