X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=examples%2Flogging%2Flogging-example.cpp;h=5de3dc6f21843f3adf8ab263bc8f8471bc36fbe9;hb=1e8cf4e9b7b912503aee6bc3494217e88d13ef52;hp=2dc943f4d6335e825df404dcf311919a7b06b0f2;hpb=91e13a2ffb4b09efd46ab01fbf415e03a12b8954;p=platform%2Fcore%2Fuifw%2Fdali-demo.git diff --git a/examples/logging/logging-example.cpp b/examples/logging/logging-example.cpp index 2dc943f..5de3dc6 100644 --- a/examples/logging/logging-example.cpp +++ b/examples/logging/logging-example.cpp @@ -196,16 +196,6 @@ class LoggingController: public ConnectionTracker radioGroupBackground.SetSize( stageSize.width - 2 * DP(MARGIN_SIZE), DP(LOGGER_RADIO_GROUP_HEIGHT) ); mContentLayer.Add( radioGroupBackground ); - // Label - { - Toolkit::TextView label = Toolkit::TextView::New( LOGGER_TEXT ); - label.SetParentOrigin( ParentOrigin::TOP_LEFT ); - label.SetAnchorPoint( AnchorPoint::TOP_LEFT ); - label.SetPosition( DP(MARGIN_SIZE), DP(MARGIN_SIZE) ); - - radioGroupBackground.Add( label ); - } - // Radio group Actor radioButtonsGroup = Actor::New(); radioButtonsGroup.SetParentOrigin( ParentOrigin::TOP_LEFT ); @@ -429,16 +419,6 @@ class LoggingController: public ConnectionTracker frequencyRadioGroupBackground.SetSize( stageSize.width - 2 * DP(MARGIN_SIZE), DP(groupHeight) ); mContentLayer.Add( frequencyRadioGroupBackground ); - // Label - { - Toolkit::TextView label = Toolkit::TextView::New( FREQUENCY_TEXT ); - label.SetParentOrigin( ParentOrigin::TOP_LEFT ); - label.SetAnchorPoint( AnchorPoint::TOP_LEFT ); - label.SetPosition( DP(MARGIN_SIZE), DP(MARGIN_SIZE) ); - - frequencyRadioGroupBackground.Add( label ); - } - // Radio group Actor frequencyRadioButtonsGroup = Actor::New(); frequencyRadioButtonsGroup.SetParentOrigin( ParentOrigin::TOP_LEFT ); @@ -534,24 +514,7 @@ class LoggingController: public ConnectionTracker void WriteConsole() { - for( unsigned int i = 0; i < NUM_LOGGERS; ++i) - { - std::stringstream ss; - ss << (i + 1) << ") " << ((mPerformanceLoggers[i]) ? "Created" : "Deleted") - << ", " << ((mLoggerStates[i].isTiming) ? "Started" : "Stopped") - << ", " << ((mLoggerStates[i].isEnabled) ? "Enabled" : "Disabled"); - - Dali::TextStyle textStyle; - textStyle.SetFontName( "HelveticaNue" ); - textStyle.SetFontStyle( "Regular" ); - textStyle.SetFontPointSize( Dali::PointSize( DemoHelper::ScalePointSize( 7.0f ) ) ); - textStyle.SetWeight( Dali::TextStyle::REGULAR ); - - Toolkit::TextView textView = Toolkit::TextView::New( ss.str() ); - textView.SetStyleToCurrentText( textStyle ); - - mLogRadioButtons[i].SetLabel( textView ); - } + // TODO } bool LoggingRadioSelect( Toolkit::Button button )