#include <ChangeLightingDelta.h>
Inheritance diagram for Document::ChangeLightingDelta:

Public Member Functions | |
| ChangeLightingDelta (Track::Lighting new_lighting) | |
| Construct using specified replacement lighting. | |
| virtual void | apply (Track::Track &track) |
| Change the lighting to the one specified in the constructor. | |
| virtual void | unapply (Track::Track &track) |
| Revert to the original lighting. | |
Protected Attributes | |
| Track::Lighting | m_new_lighting |
| Track::Lighting | m_old_lighting |
Definition at line 23 of file ChangeLightingDelta.h.
| Document::ChangeLightingDelta::ChangeLightingDelta | ( | Track::Lighting | new_lighting | ) |
Construct using specified replacement lighting.
| new_lighting | The Track::Lighting that will replace the current track's lighting when the delta is applied. |
Definition at line 18 of file ChangeLightingDelta.cpp.
| void Document::ChangeLightingDelta::apply | ( | Track::Track & | track | ) | [virtual] |
Change the lighting to the one specified in the constructor.
| track | The track to apply the changes to. |
Implements Document::DocumentDelta.
Definition at line 23 of file ChangeLightingDelta.cpp.
| void Document::ChangeLightingDelta::unapply | ( | Track::Track & | track | ) | [virtual] |
Revert to the original lighting.
| track | The track to apply the changes to. |
Implements Document::DocumentDelta.
Definition at line 29 of file ChangeLightingDelta.cpp.
Definition at line 42 of file ChangeLightingDelta.h.
Definition at line 43 of file ChangeLightingDelta.h.
Generated at Mon Sep 6 00:41:16 2010 by Doxygen version 1.4.7 for Racer version svn335.