|
Action:
|
Gets a view's background color.
|
|
|
Filename:
|
scm/scmext/view_scm.cxx
|
|
|
Syntax:
|
(view:bg-color [view=active])
|
|
|
Arg Types:
|
view
|
view
|
|
|
Returns:
|
color
|
|
|
Description:
|
The optional argument
view determines from which view to get the background. The default background colors of views is black RGB = 0,0,0).
|
|
|
Limitations:
|
This extension is available on all platforms, but produces results only on NT using OpenGL.
|
|
|
Example:
|
; view:bg-color
|
|
; Define a view.
|
|
(define view1 (view:dl 0 0 100 100))
|
|
;; view1
|
|
; Get the background color of a view.
|
|
(view:bg-color view1)
|
|
;; #[color 0 0 0]
|