Fixed typos in method names

This commit is contained in:
Robert Osfield 2010-05-18 10:12:30 +00:00
parent 61121daaab
commit f5587bad3d
2 changed files with 6 additions and 6 deletions

View File

@ -361,16 +361,16 @@ class OSGVOLUME_EXPORT PropertyAdjustmentCallback : public osgGA::GUIEventHandle
META_Object(osgVolume,PropertyAdjustmentCallback); META_Object(osgVolume,PropertyAdjustmentCallback);
void setKeyEventCycleForward(int key) { _cyleForwardKey = key; } void setKeyEventCycleForward(int key) { _cyleForwardKey = key; }
int getKeyEventCyclesForward() const { return _cyleForwardKey; } int getKeyEventCycleForward() const { return _cyleForwardKey; }
void setKeyEventCycleBackward(int key) { _cyleBackwardKey = key; } void setKeyEventCycleBackward(int key) { _cyleBackwardKey = key; }
int getKeyEventCyclesBackward() const { return _cyleBackwardKey; } int getKeyEventCycleBackward() const { return _cyleBackwardKey; }
void setKeyEventActivatesTransparencyAdjustment(int key) { _transparencyKey = key; } void setKeyEventActivatesTransparencyAdjustment(int key) { _transparencyKey = key; }
int getKeyEventActivatesTransparencyAdjustment() const { return _transparencyKey; } int getKeyEventActivatesTransparencyAdjustment() const { return _transparencyKey; }
void setKeyEventActivatesSampleDensityAdjustment(int key) { _sampleDensityKey = key; } void setKeyEventActivatesSampleDensityAdjustment(int key) { _sampleDensityKey = key; }
int getKeyEventActivatesSampleAdjustment() const { return _sampleDensityKey; } int getKeyEventActivatesSampleDensityAdjustment() const { return _sampleDensityKey; }
void setKeyEventActivatesAlphaFuncAdjustment(int key) { _alphaFuncKey = key; } void setKeyEventActivatesAlphaFuncAdjustment(int key) { _alphaFuncKey = key; }
int getKeyEventActivatesAlphaFuncAdjustment() const { return _alphaFuncKey; } int getKeyEventActivatesAlphaFuncAdjustment() const { return _alphaFuncKey; }

View File

@ -32,10 +32,10 @@ void VolumePropertyAdjustmentCallback::write(DataOutputStream* out)
out_THROW_EXCEPTION("VolumePropertyAdjustmentCallback::write(): Could not cast this osg::VolumePropertyAdjustmentCallback to an osg::Object."); out_THROW_EXCEPTION("VolumePropertyAdjustmentCallback::write(): Could not cast this osg::VolumePropertyAdjustmentCallback to an osg::Object.");
// Write VolumePropertyAdjustmentCallback's properties. // Write VolumePropertyAdjustmentCallback's properties.
out->writeInt(getKeyEventCyclesForward()); out->writeInt(getKeyEventCycleForward());
out->writeInt(getKeyEventCyclesBackward()); out->writeInt(getKeyEventCycleBackward());
out->writeInt(getKeyEventActivatesTransparencyAdjustment()); out->writeInt(getKeyEventActivatesTransparencyAdjustment());
out->writeInt(getKeyEventActivatesSampleAdjustment()); out->writeInt(getKeyEventActivatesSampleDensityAdjustment());
out->writeInt(getKeyEventActivatesAlphaFuncAdjustment()); out->writeInt(getKeyEventActivatesAlphaFuncAdjustment());
} }