diff --git a/README.md b/README.md index c028cd6..62da1d7 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ embedded in a native template application.) [CLOG - Technical Overview and Purpose](CONCEPT.md) -STATUS: CLOG and CLOG Builder 1.6 released. +STATUS: CLOG and CLOG Builder 1.7 released. CLOG is actually based on GNOGA, a framework I wrote for Ada in 2013 and used in commercial production code for the last 9+ years. CLOG diff --git a/doc/clog-manual.html b/doc/clog-manual.html index 358bc97..34a575b 100644 --- a/doc/clog-manual.html +++ b/doc/clog-manual.html @@ -390,6 +390,15 @@ example.
Contains the static-root setting after initialization.
+ + +[variable] *CLOG-PORT* 8080
+ +Port this instance of clog was started on
ON-NEW-WINDOW-HANDLER and
[function] OPEN-BROWSER &KEY (URL "http://127.0.0.1:8080")
+[function] OPEN-BROWSER &KEY (URL (FORMAT NIL "http://127.0.0.1:~A" *CLOG-PORT*))
Launch on os a web browser on local machine to URL. See OPEN-WINDOW
for openning windows on remote machines.
Return RGB string, red green and blue may be 0-255
[function] RGB-TO-HEX RGB
+ +Return hex #rrggbb from rgb(red,green,blue)
produce a string from numeric value with UNIT-TYPE appended.
[function] UNIT* UNIT-TYPE VALUE
+ +Returns value and if no unit was specified on value +unit added unless value is empty string or nil.
[generic-function] SET-GEOMETRY CLOG-ELEMENT &KEY LEFT TOP RIGHT BOTTOM WIDTH HEIGHT UNITS
Change the geometry :LEFT :TOP :RIGHT :BOTTOM
-:WIDTH :HEIGHT each optional in UNITS (default :px)
:WIDTH :HEIGHT each optional. If any measure is missing a unit,
+UNITS (default :px) is used.
@@ -2437,7 +2466,7 @@ parent in the DOM.
[generic-function] RIGHT CLOG-ELEMENT
-Get/Setf right.
Get/Setf right (defaults to us :px units).
@@ -2446,7 +2475,7 @@ parent in the DOM.
[generic-function] BOTTOM CLOG-ELEMENT
-Get/Setf bottom.
Get/Setf bottom (defaults to us :px units).
@@ -8272,6 +8301,46 @@ create-gui-menu-bar.
Get hash table of open windows
+ + +[generic-function] WINDOW-TO-TOP-BY-TITLE CLOG-OBJ TITLE
+ +Bring window with TITLE to top and return
+window or nil if not found
[generic-function] WINDOW-TO-TOP-BY-PARAM CLOG-OBJ PARAM
+ +Bring window with PARAM to top and return
+window or nil if not found
[generic-function] WINDOW-BY-TITLE CLOG-OBJ TITLE
+ +Bring window with TITLE to top and return
+window or nil if not found
[generic-function] WINDOW-BY-PARAM CLOG-OBJ PARAM
+ +Bring window with PARAM to top and return
+window or nil if not found
[generic-function] CREATE-GUI-WINDOW CLOG-OBJ &KEY TITLE CONTENT LEFT TOP WIDTH HEIGHT MAXIMIZE HAS-PINNER KEEP-ON-TOP HIDDEN CLIENT-MOVEMENT BORDER-CLASS TITLE-CLASS HTML-ID
+[generic-function] CREATE-GUI-WINDOW CLOG-OBJ &KEY TITLE CONTENT LEFT TOP WIDTH HEIGHT MAXIMIZE HAS-PINNER KEEP-ON-TOP WINDOW-PARAM HIDDEN CLIENT-MOVEMENT BORDER-CLASS TITLE-CLASS HTML-ID
Create a clog-gui-window. If client-movement is t then use jquery-ui to move/resize and will not work on mobile. When client-movement @@ -8322,7 +8391,8 @@ at end of drag and on-window-resize at start of resize and on-window-resize-done at end of resize. If has-pinner a toggle wil appear on title bar to allow pinning the window in place, if keep-on-top t then when pinned also will keep-on-top. If had-pinned is nil and keep-on-top t then -the window will be set to keep-on-top always.
@@ -8334,6 +8404,15 @@ the window will be set to keep-on-top always.
Get/setf window title
+ + +[generic-function] WINDOW-PARAM CLOG-GUI-WINDOW
+ +Get/setf window param