摘要 |
<p>A method and apparatus for a command system is disclosed. Commands include variables that reflect the command's current appearance. This includes status information determinative of the command's state (enabled/disabled), its name, its associated graphic, and whether its appearance is currently valid. Each of these were initialized when the command was created. The invention creates a command including an object's data structure containing a command sequence. The command is added to a list of commands, and initialized as an invalid appearance. Later when the command is selected, the appearance state is recomputed based on the system state.</p> |