Merge remote-tracking branch 'origin/tizen' into new_text
[platform/core/uifw/dali-demo.git] / examples / buttons / buttons-example.cpp
index 4279fee..a658fa1 100644 (file)
@@ -234,11 +234,6 @@ class ButtonsController: public ConnectionTracker
       Toolkit::TableView tableView = Toolkit::TableView::New( 1, 2 );
       tableView.SetSize( DP(260), DP(RADIO_LABEL_THUMBNAIL_SIZE) );
 
-      Toolkit::TextView textView = Toolkit::TextView::New( "Select enabled" );
-      Toolkit::Alignment alignment = Toolkit::Alignment::New( Toolkit::Alignment::HorizontalLeft );
-      alignment.Add( textView );
-      tableView.AddChild( alignment, Toolkit::TableView::CellPosition( 0, 0 ) );
-
       ImageActor imageActor = ImageActor::New( ResourceImage::New( ENABLED_IMAGE ) );
       imageActor.SetSize( DP(RADIO_LABEL_THUMBNAIL_SIZE), DP(RADIO_LABEL_THUMBNAIL_SIZE) );
       tableView.AddChild( imageActor, Toolkit::TableView::CellPosition( 0, 1 ) );
@@ -419,42 +414,6 @@ class ButtonsController: public ConnectionTracker
 
   bool OnCheckBoxesSelected( Toolkit::Button button )
   {
-    if( button.GetName() == "checkbox1" )
-    {
-      if( button.IsSelected() )
-      {
-        button.SetLabel("CheckBox1 is selected");
-      }
-      else
-      {
-        button.SetLabel("CheckBox1 is unselected");
-      }
-    }
-
-    if( button.GetName() == "checkbox2" )
-    {
-      if( button.IsSelected() )
-      {
-        button.SetLabel("CheckBox2 is selected");
-      }
-      else
-      {
-        button.SetLabel("CheckBox2 is unselected");
-      }
-    }
-
-    if( button.GetName() == "checkbox3" )
-    {
-      if( button.IsSelected() )
-      {
-        button.SetLabel("CheckBox3 is selected");
-      }
-      else
-      {
-        button.SetLabel("CheckBox3 is unselected");
-      }
-    }
-
     return true;
   }