Make R2D progress display prettier
This commit is contained in:
		@ -87,7 +87,8 @@ protected:
 | 
			
		||||
    touchgfx::DrawableListItems<DriverViewFieldSelection, 10> fieldTypeSelectionListItems;
 | 
			
		||||
    touchgfx::BoxProgress progressBar;
 | 
			
		||||
    touchgfx::TextArea prechargeLabel;
 | 
			
		||||
    touchgfx::TextAreaWithOneWildcard r2dLabel;
 | 
			
		||||
    touchgfx::TextArea r2dLabel;
 | 
			
		||||
    touchgfx::TextAreaWithOneWildcard r2dProgressLabel;
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -130,12 +130,19 @@ DriverViewViewBase::DriverViewViewBase() :
 | 
			
		||||
    prechargeLabel.setVisible(false);
 | 
			
		||||
    add(prechargeLabel);
 | 
			
		||||
 | 
			
		||||
    r2dLabel.setPosition(139, 275, 202, 37);
 | 
			
		||||
    r2dLabel.setPosition(82, 275, 317, 37);
 | 
			
		||||
    r2dLabel.setColor(touchgfx::Color::getColorFromRGB(255, 255, 255));
 | 
			
		||||
    r2dLabel.setLinespacing(0);
 | 
			
		||||
    r2dLabel.setTypedText(touchgfx::TypedText(T___SINGLEUSE_NGUK));
 | 
			
		||||
    r2dLabel.setVisible(false);
 | 
			
		||||
    add(r2dLabel);
 | 
			
		||||
 | 
			
		||||
    r2dProgressLabel.setPosition(180, 275, 219, 37);
 | 
			
		||||
    r2dProgressLabel.setColor(touchgfx::Color::getColorFromRGB(255, 255, 255));
 | 
			
		||||
    r2dProgressLabel.setLinespacing(0);
 | 
			
		||||
    r2dProgressLabel.setTypedText(touchgfx::TypedText(T___SINGLEUSE_J5UH));
 | 
			
		||||
    r2dProgressLabel.setVisible(false);
 | 
			
		||||
    add(r2dProgressLabel);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
DriverViewViewBase::~DriverViewViewBase()
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user