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 );
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 );
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 )