Browse Source

[cpp] Fixed name spacing.

badlogic 7 năm trước cách đây
mục cha
commit
e06c4056ae

+ 4 - 4
spine-cpp/spine-cpp/src/spine/Event.cpp

@@ -79,18 +79,18 @@ void spine::Event::setStringValue(const spine::String &inValue) {
 }
 
 
-float Event::getVolume() {
+float spine::Event::getVolume() {
 	return _volume;
 }
 
-void Event::setVolume(float inValue) {
+void spine::Event::setVolume(float inValue) {
 	_volume = inValue;
 }
 
-float Event::getBalance() {
+float spine::Event::getBalance() {
 	return _balance;
 }
 
-void Event::setBalance(float inValue) {
+void spine::Event::setBalance(float inValue) {
 	_balance = inValue;
 }

+ 6 - 6
spine-cpp/spine-cpp/src/spine/EventData.cpp

@@ -76,27 +76,27 @@ void spine::EventData::setStringValue(const spine::String &inValue) {
 	this->_stringValue = inValue;
 }
 
-const String &EventData::getAudioPath() {
+const spine::String &spine::EventData::getAudioPath() {
 	return _audioPath;
 }
 
-void EventData::setAudioPath(const String &inValue) {
+void spine::EventData::setAudioPath(const spine::String &inValue) {
 	_audioPath = inValue;
 }
 
 
-float EventData::getVolume() {
+float spine::EventData::getVolume() {
 	return _volume;
 }
 
-void EventData::setVolume(float inValue) {
+void spine::EventData::setVolume(float inValue) {
 	_volume = inValue;
 }
 
-float EventData::getBalance() {
+float spine::EventData::getBalance() {
 	return _balance;
 }
 
-void EventData::setBalance(float inValue) {
+void spine::EventData::setBalance(float inValue) {
 	_balance = inValue;
 }