ColorCmd - command for setting components' color attributes
Contents
Description
ColorCmd is a purely interpretive command for setting the foreground and background color attributes of
selected components.
Name
ColorCmd - command for setting components' color attributes
Public Operations
ColorCmd(ControlInfo*,PSColor*fg=nil,PSColor*bg=nil)ColorCmd(Editor*=nil,PSColor*fg=nil,PSColor*bg=nil)
Create a ColorCmd, optionally specifying the foreground (fg) and background (bg) PSColors that
components should adopt.
virtualvoidExecute()
ColorCmd extends Execute to set the value of the affected editor's ColorVar instance, if it
defines one.
PSColor*GetFgColor()PSColor*GetBgColor()
Return the PSColors supplied in the constructor.
See Also
Command(3U), pspaint(3U), statevars(3U) Unidraw 23 January 1991 ColorCmd(3U)
Synopsis
#include<Unidraw/Commands/color.h>
