mirror of
https://github.com/rabbibotton/clog.git
synced 2025-12-06 02:30:42 -08:00
Comments on movement modes.
This commit is contained in:
parent
f0d96e022c
commit
c529bfd651
1 changed files with 8 additions and 1 deletions
|
|
@ -5,8 +5,15 @@
|
||||||
(in-package :clog-user)
|
(in-package :clog-user)
|
||||||
|
|
||||||
(defun on-file-count (body)
|
(defun on-file-count (body)
|
||||||
|
;; Clog-gui has two mode for handling moving and resizing clog-gui-windows.
|
||||||
|
;; The client-movement mode (as set here) specifies to jQuery-UI to manipulate
|
||||||
|
;; the window. This mode works well for website as the movement logic is done
|
||||||
|
;; on the client side. The on-file-drawing window uses the lisp based logic
|
||||||
|
;; and :client-movement is set to nil. This mode offers numerous events
|
||||||
|
;; for fine control and is best for local applications although will be a bit
|
||||||
|
;; more choppy cross continent or via satellite.
|
||||||
(let ((win (create-gui-window body :left (random 600) :top (+ 40 (random 400))
|
(let ((win (create-gui-window body :left (random 600) :top (+ 40 (random 400))
|
||||||
:client-movement t)))
|
:client-movement t))
|
||||||
(dotimes (n 100)
|
(dotimes (n 100)
|
||||||
;; window-content is the root element for the clog-gui
|
;; window-content is the root element for the clog-gui
|
||||||
;; windows
|
;; windows
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue