1 #pragma once 2 3 #include <teeui/utils.h> 4 5 #include "fonts.h" 6 7 namespace teeui { 8 namespace example { 9 10 DECLARE_PARAMETER(RightEdgeOfScreen); 11 DECLARE_PARAMETER(BottomOfScreen); 12 DECLARE_PARAMETER(DefaultFontSize); // 14_dp regular and 18_dp magnified 13 DECLARE_PARAMETER(BodyFontSize); // 16_dp regular and 20_dp magnified 14 DECLARE_TYPED_PARAMETER(ShieldColor, ::teeui::Color); 15 DECLARE_TYPED_PARAMETER(ColorText, ::teeui::Color); 16 DECLARE_TYPED_PARAMETER(ColorBG, ::teeui::Color); 17 18 CONSTANT(BorderWidth, 24_dp); 19 20 DECLARE_FONT_BUFFER(RobotoMedium, RobotoMedium, RobotoMedium_length); 21 DECLARE_FONT_BUFFER(RobotoRegular, RobotoRegular, RobotoRegular_length); 22 DECLARE_FONT_BUFFER(Shield, Shield, Shield_length); 23 24 CONSTANT(DefaultFont, FONT(RobotoRegular)); 25 26 } // namespace example 27 } // namespace teeui