Synopsis
(import jwno/util)
This module contains pre-defined utility code.
Macros
Signature | Description |
(util/rect-center rect) |
. |
(util/rect-width rect) |
. |
(util/rect-height rect) |
. |
(util/rect-size rect) |
. |
(util/rect-same-size? r1 r2) |
. |
(util/with-activation-hooks wm & body) |
. |
(util/with-uia [binding ctor dtor] & body) |
. |
(util/export-to-repl repl-server & syms) |
. |
(util/unset-from-repl repl-server & syms) |
. |
Functions
Signature | Description |
(util/show-error-and-exit msg exit-code &opt stack-trace) |
. |
(util/get-exe-dir) |
. |
(util/get-stack-trace fib) |
. |
(util/global-ns sym) |
. |
(util/get-pid-path pid) |
. |
(util/get-hwnd-path hwnd) |
. |
(util/merge-settings obj settings &opt mergers) |
. |
(util/pointer-to-number pointer) |
. |
(util/shrink-rect rect amounts) |
. |
(util/expand-rect rect amounts) |
. |
(util/union-rect & rect-list) |
. |
(util/combine-rect-border-space & args) |
. |
(calc-pixel-scale rect) |
. |
(hungarian-assignment C) |
. |