Tutorial 28 - Minimal CLOG Builder App

This commit is contained in:
David Botton 2022-01-27 22:31:30 -05:00
parent 2d0e2ab6c6
commit d3cabdc183
18 changed files with 20358 additions and 14 deletions

View file

@ -0,0 +1,15 @@
(defpackage #:hello-builder
(:use #:cl #:clog)
(:export start-app))
(in-package :hello-builder)
(defun my-click (panel)
(setf (font (hello-span panel)) (format nil "~Apx Times, serif" (random 36)))
(setf (color (hello-span panel)) (rgb (random 255) (random 255) (random 255))))
(defun start-app ()
(initialize #'create-hello-page
:static-root (merge-pathnames "./www/"
(asdf:system-source-directory :hello-builder)))
(open-browser))