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=eea3e9ef3a1ffaa6faa0f443e0c2b785b394ab4d;hp=78115832f76fbada950e9981cd995373991324ad;hb=184e719fa04c4a5bbe171c3be7da133e2a7a0399;hpb=9c6ea1aa6babb4e6e1c59187cad13b44e0639662 diff --git a/node-addon/javascript-application-options.cpp b/node-addon/javascript-application-options.cpp index 7811583..eea3e9e 100644 --- a/node-addon/javascript-application-options.cpp +++ b/node-addon/javascript-application-options.cpp @@ -37,9 +37,8 @@ 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 }, }; const unsigned int numberViewModes = sizeof( StereoModeTable ) / sizeof( StereoModeTable[0] ); @@ -114,8 +113,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 +162,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 +173,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 );