Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

CmdColorChange Class Reference

change the rgb settings for a specified color. More...

#include <CmdColor.h>

Inheritance diagram for CmdColorChange:

Command List of all members.

Public Methods

 CmdColorChange (const char *, float, float, float)
 ~CmdColorChange ()

Public Attributes

char * color
float newR
float newG
float newB

Protected Methods

virtual void create_text ()
 virtual function which is called when a text version of the command must be created to be printed to the console or a log file. More...


Detailed Description

change the rgb settings for a specified color.

Definition at line 48 of file CmdColor.h.


Constructor & Destructor Documentation

CmdColorChange::CmdColorChange const char *   ,
float   ,
float   ,
float   
 

Definition at line 60 of file CmdColor.C.

References color, newB, newG, newR, and stringdup.

CmdColorChange::~CmdColorChange  
 

Definition at line 68 of file CmdColor.C.

References color.


Member Function Documentation

void CmdColorChange::create_text void    [protected, virtual]
 

virtual function which is called when a text version of the command must be created to be printed to the console or a log file.

Reimplemented from Command.

Definition at line 54 of file CmdColor.C.

References Command::cmdText, color, newB, newG, and newR.


Member Data Documentation

char* CmdColorChange::color
 

Definition at line 50 of file CmdColor.h.

Referenced by CmdColorChange, create_text, and ~CmdColorChange.

float CmdColorChange::newB
 

Definition at line 51 of file CmdColor.h.

Referenced by CmdColorChange, and create_text.

float CmdColorChange::newG
 

Definition at line 51 of file CmdColor.h.

Referenced by CmdColorChange, and create_text.

float CmdColorChange::newR
 

Definition at line 51 of file CmdColor.h.

Referenced by CmdColorChange, and create_text.


The documentation for this class was generated from the following files:
Generated on Thu Dec 5 02:44:16 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002