X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=node-addon%2Fjavascript-application-options.cpp;h=fbfbb3f74d21c95e0eb44d21058032dafc547c3b;hp=78115832f76fbada950e9981cd995373991324ad;hb=4bf366c7c657eacb5cf150fa52e34263ca16218f;hpb=16679931e0ac1f5d56f657ed579fc0cb524461e5 diff --git a/node-addon/javascript-application-options.cpp b/node-addon/javascript-application-options.cpp index 7811583..fbfbb3f 100644 --- a/node-addon/javascript-application-options.cpp +++ b/node-addon/javascript-application-options.cpp @@ -37,9 +37,9 @@ struct StereoInfo }; StereoInfo StereoModeTable[] = { { "mono", Dali::MONO}, - { "stereo-horizontal", Dali::STEREO_HORIZONTAL }, - { "stereo-vertical", Dali::STEREO_VERTICAL }, - { "stereo-interlaced", Dali::STEREO_INTERLACED }, + { "stereoHorizontal", Dali::STEREO_HORIZONTAL }, + { "stereoVertical", Dali::STEREO_VERTICAL }, + { "stereoInterlaced", Dali::STEREO_INTERLACED }, }; const unsigned int numberViewModes = sizeof( StereoModeTable ) / sizeof( StereoModeTable[0] ); @@ -114,8 +114,8 @@ bool ParseStereoScopicOptions( v8::Isolate* isolate, const v8::Local { v8::HandleScope scope(isolate); - v8::Local modeValue = stereoObject->Get( v8::String::NewFromUtf8( isolate, "stereoscopic-mode" ) ); - v8::Local stereoBaseValue = stereoObject->Get( v8::String::NewFromUtf8( isolate, "stereo-base" ) ); + v8::Local modeValue = stereoObject->Get( v8::String::NewFromUtf8( isolate, "stereoscopicMode" ) ); + v8::Local stereoBaseValue = stereoObject->Get( v8::String::NewFromUtf8( isolate, "stereoBase" ) ); if( !modeValue->IsString() ) { @@ -163,7 +163,7 @@ bool GetApplicationOptions(const v8::FunctionCallbackInfo& args, Appl } // get the stereoscopic settings - v8::Local stereoValue= object->Get( v8::String::NewFromUtf8( isolate, "view-mode" ) ); + v8::Local stereoValue= object->Get( v8::String::NewFromUtf8( isolate, "viewMode" ) ); if( stereoValue->IsObject() ) { ok = ParseStereoScopicOptions( isolate, stereoValue->ToObject(), options.stereo ); @@ -174,7 +174,7 @@ bool GetApplicationOptions(const v8::FunctionCallbackInfo& args, Appl } // get the style sheet - v8::Local stylesheetValue= object->Get( v8::String::NewFromUtf8( isolate, "style-sheet" ) ); + v8::Local stylesheetValue= object->Get( v8::String::NewFromUtf8( isolate, "styleSheet" ) ); if( stylesheetValue->IsString() ) { options.stylesheet = Dali::V8Plugin::V8Utils::v8StringToStdString( stylesheetValue );