Merge remote-tracking branch 'origin/tizen' into new_text
[platform/core/uifw/dali-demo.git] / examples / logging / logging-example.cpp
index 2dc943f..5de3dc6 100644 (file)
@@ -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 )