Lines Matching refs:f
53 id = f"LV_PROPERTY_{match.group(1).upper()}_{match.group(2).upper()}"
66 id = f"LV_PROPERTY_STYLE_{name}"
89 with open(f'{output}/lv_obj_property_names.h', "w") as header:
90 header.write(f'''
106 file_name = f'lv_{widget}_properties.c'
107 output_file = f'{output}/{file_name}'
117 include = f'../{widget}/lv_{widget}.h'
118 guard = f"#if LV_USE_{widget.upper()}"
120 with open(output_file, 'w') as f:
121 f.write(f'''
143 f.write(f" {{{name_str :25} {property.id},}},\n")
145 f.write('};\n')
147 f.write(f"#endif /*LV_USE_{widget.upper()}*/\n\n")
148 f.write("/* *INDENT-ON* */\n")
149 f.write('#endif\n')
151 f' extern const lv_property_name_t lv_{widget}_property_names[{count}];\n'
160 output_file = f'{output}/lv_style_properties.h'
162 with open(output_file, 'w') as f:
163 f.write(f'''
181 id_type = style_properties_type.get(f"LV_STYLE_{name.upper()}",
183 f.write(
184 …f" LV_PROPERTY_ID(STYLE, {name.upper() + ',' :25} {id_type+',' :28} LV_STYLE_{name.upper()}),\n"
187 f.write('};\n\n')
188 f.write('#endif\n')
189 f.write('#endif\n')