mirror of
https://github.com/rabbibotton/clog.git
synced 2025-12-06 02:30:42 -08:00
adds font-css and correct tutorial 28
This commit is contained in:
parent
9f360254a3
commit
f736f6b6e6
3 changed files with 8 additions and 1 deletions
|
|
@ -351,6 +351,7 @@ embedded in a native template application.)"
|
|||
(font-variant-type type)
|
||||
(system-font-type type)
|
||||
(font generic-function)
|
||||
(font-css generic-function)
|
||||
(set-font generic-function)
|
||||
(text-alignment-type type)
|
||||
(text-alignment generic-function)
|
||||
|
|
|
|||
|
|
@ -8,5 +8,11 @@
|
|||
:version "0.0.0"
|
||||
:serial t
|
||||
:depends-on (#:clog)
|
||||
:entry-point "hello-builder:start-app"
|
||||
:components ((:file "hello-builder")
|
||||
(:file "hello")))
|
||||
|
||||
(asdf:defsystem #:hello-builder/tools
|
||||
:defsystem-depends-on (:clog)
|
||||
:depends-on (#:hello-builder #:clog/tools) ; add clog plugins here as #:plugin/tools for design time
|
||||
:components ((:clog-file "hello")))
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
(in-package :hello-builder)
|
||||
|
||||
(defun my-click (panel)
|
||||
(setf (font (hello-span panel)) (format nil "~Apx Times, serif" (random 36)))
|
||||
(setf (font-css (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 ()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue