acid-drop

- Hacking the planet from a LilyGo T-Deck using custom firmware
git clone git://git.acid.vegas/acid-drop.git
Log | Files | Refs | Archive | README | LICENSE

lv_style_gen.h (16062B)

      1 void lv_style_set_width(lv_style_t * style, lv_coord_t value);
      2 void lv_style_set_min_width(lv_style_t * style, lv_coord_t value);
      3 void lv_style_set_max_width(lv_style_t * style, lv_coord_t value);
      4 void lv_style_set_height(lv_style_t * style, lv_coord_t value);
      5 void lv_style_set_min_height(lv_style_t * style, lv_coord_t value);
      6 void lv_style_set_max_height(lv_style_t * style, lv_coord_t value);
      7 void lv_style_set_x(lv_style_t * style, lv_coord_t value);
      8 void lv_style_set_y(lv_style_t * style, lv_coord_t value);
      9 void lv_style_set_align(lv_style_t * style, lv_align_t value);
     10 void lv_style_set_transform_width(lv_style_t * style, lv_coord_t value);
     11 void lv_style_set_transform_height(lv_style_t * style, lv_coord_t value);
     12 void lv_style_set_translate_x(lv_style_t * style, lv_coord_t value);
     13 void lv_style_set_translate_y(lv_style_t * style, lv_coord_t value);
     14 void lv_style_set_transform_zoom(lv_style_t * style, lv_coord_t value);
     15 void lv_style_set_transform_angle(lv_style_t * style, lv_coord_t value);
     16 void lv_style_set_pad_top(lv_style_t * style, lv_coord_t value);
     17 void lv_style_set_pad_bottom(lv_style_t * style, lv_coord_t value);
     18 void lv_style_set_pad_left(lv_style_t * style, lv_coord_t value);
     19 void lv_style_set_pad_right(lv_style_t * style, lv_coord_t value);
     20 void lv_style_set_pad_row(lv_style_t * style, lv_coord_t value);
     21 void lv_style_set_pad_column(lv_style_t * style, lv_coord_t value);
     22 void lv_style_set_bg_color(lv_style_t * style, lv_color_t value);
     23 void lv_style_set_bg_opa(lv_style_t * style, lv_opa_t value);
     24 void lv_style_set_bg_grad_color(lv_style_t * style, lv_color_t value);
     25 void lv_style_set_bg_grad_dir(lv_style_t * style, lv_grad_dir_t value);
     26 void lv_style_set_bg_main_stop(lv_style_t * style, lv_coord_t value);
     27 void lv_style_set_bg_grad_stop(lv_style_t * style, lv_coord_t value);
     28 void lv_style_set_bg_grad(lv_style_t * style, const lv_grad_dsc_t * value);
     29 void lv_style_set_bg_dither_mode(lv_style_t * style, lv_dither_mode_t value);
     30 void lv_style_set_bg_img_src(lv_style_t * style, const void * value);
     31 void lv_style_set_bg_img_opa(lv_style_t * style, lv_opa_t value);
     32 void lv_style_set_bg_img_recolor(lv_style_t * style, lv_color_t value);
     33 void lv_style_set_bg_img_recolor_opa(lv_style_t * style, lv_opa_t value);
     34 void lv_style_set_bg_img_tiled(lv_style_t * style, bool value);
     35 void lv_style_set_border_color(lv_style_t * style, lv_color_t value);
     36 void lv_style_set_border_opa(lv_style_t * style, lv_opa_t value);
     37 void lv_style_set_border_width(lv_style_t * style, lv_coord_t value);
     38 void lv_style_set_border_side(lv_style_t * style, lv_border_side_t value);
     39 void lv_style_set_border_post(lv_style_t * style, bool value);
     40 void lv_style_set_outline_width(lv_style_t * style, lv_coord_t value);
     41 void lv_style_set_outline_color(lv_style_t * style, lv_color_t value);
     42 void lv_style_set_outline_opa(lv_style_t * style, lv_opa_t value);
     43 void lv_style_set_outline_pad(lv_style_t * style, lv_coord_t value);
     44 void lv_style_set_shadow_width(lv_style_t * style, lv_coord_t value);
     45 void lv_style_set_shadow_ofs_x(lv_style_t * style, lv_coord_t value);
     46 void lv_style_set_shadow_ofs_y(lv_style_t * style, lv_coord_t value);
     47 void lv_style_set_shadow_spread(lv_style_t * style, lv_coord_t value);
     48 void lv_style_set_shadow_color(lv_style_t * style, lv_color_t value);
     49 void lv_style_set_shadow_opa(lv_style_t * style, lv_opa_t value);
     50 void lv_style_set_img_opa(lv_style_t * style, lv_opa_t value);
     51 void lv_style_set_img_recolor(lv_style_t * style, lv_color_t value);
     52 void lv_style_set_img_recolor_opa(lv_style_t * style, lv_opa_t value);
     53 void lv_style_set_line_width(lv_style_t * style, lv_coord_t value);
     54 void lv_style_set_line_dash_width(lv_style_t * style, lv_coord_t value);
     55 void lv_style_set_line_dash_gap(lv_style_t * style, lv_coord_t value);
     56 void lv_style_set_line_rounded(lv_style_t * style, bool value);
     57 void lv_style_set_line_color(lv_style_t * style, lv_color_t value);
     58 void lv_style_set_line_opa(lv_style_t * style, lv_opa_t value);
     59 void lv_style_set_arc_width(lv_style_t * style, lv_coord_t value);
     60 void lv_style_set_arc_rounded(lv_style_t * style, bool value);
     61 void lv_style_set_arc_color(lv_style_t * style, lv_color_t value);
     62 void lv_style_set_arc_opa(lv_style_t * style, lv_opa_t value);
     63 void lv_style_set_arc_img_src(lv_style_t * style, const void * value);
     64 void lv_style_set_text_color(lv_style_t * style, lv_color_t value);
     65 void lv_style_set_text_opa(lv_style_t * style, lv_opa_t value);
     66 void lv_style_set_text_font(lv_style_t * style, const lv_font_t * value);
     67 void lv_style_set_text_letter_space(lv_style_t * style, lv_coord_t value);
     68 void lv_style_set_text_line_space(lv_style_t * style, lv_coord_t value);
     69 void lv_style_set_text_decor(lv_style_t * style, lv_text_decor_t value);
     70 void lv_style_set_text_align(lv_style_t * style, lv_text_align_t value);
     71 void lv_style_set_radius(lv_style_t * style, lv_coord_t value);
     72 void lv_style_set_clip_corner(lv_style_t * style, bool value);
     73 void lv_style_set_opa(lv_style_t * style, lv_opa_t value);
     74 void lv_style_set_color_filter_dsc(lv_style_t * style, const lv_color_filter_dsc_t * value);
     75 void lv_style_set_color_filter_opa(lv_style_t * style, lv_opa_t value);
     76 void lv_style_set_anim(lv_style_t * style, const lv_anim_t * value);
     77 void lv_style_set_anim_time(lv_style_t * style, uint32_t value);
     78 void lv_style_set_anim_speed(lv_style_t * style, uint32_t value);
     79 void lv_style_set_transition(lv_style_t * style, const lv_style_transition_dsc_t * value);
     80 void lv_style_set_blend_mode(lv_style_t * style, lv_blend_mode_t value);
     81 void lv_style_set_layout(lv_style_t * style, uint16_t value);
     82 void lv_style_set_base_dir(lv_style_t * style, lv_base_dir_t value);
     83 
     84 #define LV_STYLE_CONST_WIDTH(val) \
     85     { \
     86         .prop = LV_STYLE_WIDTH, .value = { .num = (int32_t)val } \
     87     }
     88 
     89 #define LV_STYLE_CONST_MIN_WIDTH(val) \
     90     { \
     91         .prop = LV_STYLE_MIN_WIDTH, .value = { .num = (int32_t)val } \
     92     }
     93 
     94 #define LV_STYLE_CONST_MAX_WIDTH(val) \
     95     { \
     96         .prop = LV_STYLE_MAX_WIDTH, .value = { .num = (int32_t)val } \
     97     }
     98 
     99 #define LV_STYLE_CONST_HEIGHT(val) \
    100     { \
    101         .prop = LV_STYLE_HEIGHT, .value = { .num = (int32_t)val } \
    102     }
    103 
    104 #define LV_STYLE_CONST_MIN_HEIGHT(val) \
    105     { \
    106         .prop = LV_STYLE_MIN_HEIGHT, .value = { .num = (int32_t)val } \
    107     }
    108 
    109 #define LV_STYLE_CONST_MAX_HEIGHT(val) \
    110     { \
    111         .prop = LV_STYLE_MAX_HEIGHT, .value = { .num = (int32_t)val } \
    112     }
    113 
    114 #define LV_STYLE_CONST_X(val) \
    115     { \
    116         .prop = LV_STYLE_X, .value = { .num = (int32_t)val } \
    117     }
    118 
    119 #define LV_STYLE_CONST_Y(val) \
    120     { \
    121         .prop = LV_STYLE_Y, .value = { .num = (int32_t)val } \
    122     }
    123 
    124 #define LV_STYLE_CONST_ALIGN(val) \
    125     { \
    126         .prop = LV_STYLE_ALIGN, .value = { .num = (int32_t)val } \
    127     }
    128 
    129 #define LV_STYLE_CONST_TRANSFORM_WIDTH(val) \
    130     { \
    131         .prop = LV_STYLE_TRANSFORM_WIDTH, .value = { .num = (int32_t)val } \
    132     }
    133 
    134 #define LV_STYLE_CONST_TRANSFORM_HEIGHT(val) \
    135     { \
    136         .prop = LV_STYLE_TRANSFORM_HEIGHT, .value = { .num = (int32_t)val } \
    137     }
    138 
    139 #define LV_STYLE_CONST_TRANSLATE_X(val) \
    140     { \
    141         .prop = LV_STYLE_TRANSLATE_X, .value = { .num = (int32_t)val } \
    142     }
    143 
    144 #define LV_STYLE_CONST_TRANSLATE_Y(val) \
    145     { \
    146         .prop = LV_STYLE_TRANSLATE_Y, .value = { .num = (int32_t)val } \
    147     }
    148 
    149 #define LV_STYLE_CONST_TRANSFORM_ZOOM(val) \
    150     { \
    151         .prop = LV_STYLE_TRANSFORM_ZOOM, .value = { .num = (int32_t)val } \
    152     }
    153 
    154 #define LV_STYLE_CONST_TRANSFORM_ANGLE(val) \
    155     { \
    156         .prop = LV_STYLE_TRANSFORM_ANGLE, .value = { .num = (int32_t)val } \
    157     }
    158 
    159 #define LV_STYLE_CONST_PAD_TOP(val) \
    160     { \
    161         .prop = LV_STYLE_PAD_TOP, .value = { .num = (int32_t)val } \
    162     }
    163 
    164 #define LV_STYLE_CONST_PAD_BOTTOM(val) \
    165     { \
    166         .prop = LV_STYLE_PAD_BOTTOM, .value = { .num = (int32_t)val } \
    167     }
    168 
    169 #define LV_STYLE_CONST_PAD_LEFT(val) \
    170     { \
    171         .prop = LV_STYLE_PAD_LEFT, .value = { .num = (int32_t)val } \
    172     }
    173 
    174 #define LV_STYLE_CONST_PAD_RIGHT(val) \
    175     { \
    176         .prop = LV_STYLE_PAD_RIGHT, .value = { .num = (int32_t)val } \
    177     }
    178 
    179 #define LV_STYLE_CONST_PAD_ROW(val) \
    180     { \
    181         .prop = LV_STYLE_PAD_ROW, .value = { .num = (int32_t)val } \
    182     }
    183 
    184 #define LV_STYLE_CONST_PAD_COLUMN(val) \
    185     { \
    186         .prop = LV_STYLE_PAD_COLUMN, .value = { .num = (int32_t)val } \
    187     }
    188 
    189 #define LV_STYLE_CONST_BG_COLOR(val) \
    190     { \
    191         .prop = LV_STYLE_BG_COLOR, .value = { .color = val } \
    192     }
    193 
    194 #define LV_STYLE_CONST_BG_OPA(val) \
    195     { \
    196         .prop = LV_STYLE_BG_OPA, .value = { .num = (int32_t)val } \
    197     }
    198 
    199 #define LV_STYLE_CONST_BG_GRAD_COLOR(val) \
    200     { \
    201         .prop = LV_STYLE_BG_GRAD_COLOR, .value = { .color = val } \
    202     }
    203 
    204 #define LV_STYLE_CONST_BG_GRAD_DIR(val) \
    205     { \
    206         .prop = LV_STYLE_BG_GRAD_DIR, .value = { .num = (int32_t)val } \
    207     }
    208 
    209 #define LV_STYLE_CONST_BG_MAIN_STOP(val) \
    210     { \
    211         .prop = LV_STYLE_BG_MAIN_STOP, .value = { .num = (int32_t)val } \
    212     }
    213 
    214 #define LV_STYLE_CONST_BG_GRAD_STOP(val) \
    215     { \
    216         .prop = LV_STYLE_BG_GRAD_STOP, .value = { .num = (int32_t)val } \
    217     }
    218 
    219 #define LV_STYLE_CONST_BG_GRAD(val) \
    220     { \
    221         .prop = LV_STYLE_BG_GRAD, .value = { .ptr = val } \
    222     }
    223 
    224 #define LV_STYLE_CONST_BG_DITHER_MODE(val) \
    225     { \
    226         .prop = LV_STYLE_BG_DITHER_MODE, .value = { .num = (int32_t)val } \
    227     }
    228 
    229 #define LV_STYLE_CONST_BG_IMG_SRC(val) \
    230     { \
    231         .prop = LV_STYLE_BG_IMG_SRC, .value = { .ptr = val } \
    232     }
    233 
    234 #define LV_STYLE_CONST_BG_IMG_OPA(val) \
    235     { \
    236         .prop = LV_STYLE_BG_IMG_OPA, .value = { .num = (int32_t)val } \
    237     }
    238 
    239 #define LV_STYLE_CONST_BG_IMG_RECOLOR(val) \
    240     { \
    241         .prop = LV_STYLE_BG_IMG_RECOLOR, .value = { .color = val } \
    242     }
    243 
    244 #define LV_STYLE_CONST_BG_IMG_RECOLOR_OPA(val) \
    245     { \
    246         .prop = LV_STYLE_BG_IMG_RECOLOR_OPA, .value = { .num = (int32_t)val } \
    247     }
    248 
    249 #define LV_STYLE_CONST_BG_IMG_TILED(val) \
    250     { \
    251         .prop = LV_STYLE_BG_IMG_TILED, .value = { .num = (int32_t)val } \
    252     }
    253 
    254 #define LV_STYLE_CONST_BORDER_COLOR(val) \
    255     { \
    256         .prop = LV_STYLE_BORDER_COLOR, .value = { .color = val } \
    257     }
    258 
    259 #define LV_STYLE_CONST_BORDER_OPA(val) \
    260     { \
    261         .prop = LV_STYLE_BORDER_OPA, .value = { .num = (int32_t)val } \
    262     }
    263 
    264 #define LV_STYLE_CONST_BORDER_WIDTH(val) \
    265     { \
    266         .prop = LV_STYLE_BORDER_WIDTH, .value = { .num = (int32_t)val } \
    267     }
    268 
    269 #define LV_STYLE_CONST_BORDER_SIDE(val) \
    270     { \
    271         .prop = LV_STYLE_BORDER_SIDE, .value = { .num = (int32_t)val } \
    272     }
    273 
    274 #define LV_STYLE_CONST_BORDER_POST(val) \
    275     { \
    276         .prop = LV_STYLE_BORDER_POST, .value = { .num = (int32_t)val } \
    277     }
    278 
    279 #define LV_STYLE_CONST_OUTLINE_WIDTH(val) \
    280     { \
    281         .prop = LV_STYLE_OUTLINE_WIDTH, .value = { .num = (int32_t)val } \
    282     }
    283 
    284 #define LV_STYLE_CONST_OUTLINE_COLOR(val) \
    285     { \
    286         .prop = LV_STYLE_OUTLINE_COLOR, .value = { .color = val } \
    287     }
    288 
    289 #define LV_STYLE_CONST_OUTLINE_OPA(val) \
    290     { \
    291         .prop = LV_STYLE_OUTLINE_OPA, .value = { .num = (int32_t)val } \
    292     }
    293 
    294 #define LV_STYLE_CONST_OUTLINE_PAD(val) \
    295     { \
    296         .prop = LV_STYLE_OUTLINE_PAD, .value = { .num = (int32_t)val } \
    297     }
    298 
    299 #define LV_STYLE_CONST_SHADOW_WIDTH(val) \
    300     { \
    301         .prop = LV_STYLE_SHADOW_WIDTH, .value = { .num = (int32_t)val } \
    302     }
    303 
    304 #define LV_STYLE_CONST_SHADOW_OFS_X(val) \
    305     { \
    306         .prop = LV_STYLE_SHADOW_OFS_X, .value = { .num = (int32_t)val } \
    307     }
    308 
    309 #define LV_STYLE_CONST_SHADOW_OFS_Y(val) \
    310     { \
    311         .prop = LV_STYLE_SHADOW_OFS_Y, .value = { .num = (int32_t)val } \
    312     }
    313 
    314 #define LV_STYLE_CONST_SHADOW_SPREAD(val) \
    315     { \
    316         .prop = LV_STYLE_SHADOW_SPREAD, .value = { .num = (int32_t)val } \
    317     }
    318 
    319 #define LV_STYLE_CONST_SHADOW_COLOR(val) \
    320     { \
    321         .prop = LV_STYLE_SHADOW_COLOR, .value = { .color = val } \
    322     }
    323 
    324 #define LV_STYLE_CONST_SHADOW_OPA(val) \
    325     { \
    326         .prop = LV_STYLE_SHADOW_OPA, .value = { .num = (int32_t)val } \
    327     }
    328 
    329 #define LV_STYLE_CONST_IMG_OPA(val) \
    330     { \
    331         .prop = LV_STYLE_IMG_OPA, .value = { .num = (int32_t)val } \
    332     }
    333 
    334 #define LV_STYLE_CONST_IMG_RECOLOR(val) \
    335     { \
    336         .prop = LV_STYLE_IMG_RECOLOR, .value = { .color = val } \
    337     }
    338 
    339 #define LV_STYLE_CONST_IMG_RECOLOR_OPA(val) \
    340     { \
    341         .prop = LV_STYLE_IMG_RECOLOR_OPA, .value = { .num = (int32_t)val } \
    342     }
    343 
    344 #define LV_STYLE_CONST_LINE_WIDTH(val) \
    345     { \
    346         .prop = LV_STYLE_LINE_WIDTH, .value = { .num = (int32_t)val } \
    347     }
    348 
    349 #define LV_STYLE_CONST_LINE_DASH_WIDTH(val) \
    350     { \
    351         .prop = LV_STYLE_LINE_DASH_WIDTH, .value = { .num = (int32_t)val } \
    352     }
    353 
    354 #define LV_STYLE_CONST_LINE_DASH_GAP(val) \
    355     { \
    356         .prop = LV_STYLE_LINE_DASH_GAP, .value = { .num = (int32_t)val } \
    357     }
    358 
    359 #define LV_STYLE_CONST_LINE_ROUNDED(val) \
    360     { \
    361         .prop = LV_STYLE_LINE_ROUNDED, .value = { .num = (int32_t)val } \
    362     }
    363 
    364 #define LV_STYLE_CONST_LINE_COLOR(val) \
    365     { \
    366         .prop = LV_STYLE_LINE_COLOR, .value = { .color = val } \
    367     }
    368 
    369 #define LV_STYLE_CONST_LINE_OPA(val) \
    370     { \
    371         .prop = LV_STYLE_LINE_OPA, .value = { .num = (int32_t)val } \
    372     }
    373 
    374 #define LV_STYLE_CONST_ARC_WIDTH(val) \
    375     { \
    376         .prop = LV_STYLE_ARC_WIDTH, .value = { .num = (int32_t)val } \
    377     }
    378 
    379 #define LV_STYLE_CONST_ARC_ROUNDED(val) \
    380     { \
    381         .prop = LV_STYLE_ARC_ROUNDED, .value = { .num = (int32_t)val } \
    382     }
    383 
    384 #define LV_STYLE_CONST_ARC_COLOR(val) \
    385     { \
    386         .prop = LV_STYLE_ARC_COLOR, .value = { .color = val } \
    387     }
    388 
    389 #define LV_STYLE_CONST_ARC_OPA(val) \
    390     { \
    391         .prop = LV_STYLE_ARC_OPA, .value = { .num = (int32_t)val } \
    392     }
    393 
    394 #define LV_STYLE_CONST_ARC_IMG_SRC(val) \
    395     { \
    396         .prop = LV_STYLE_ARC_IMG_SRC, .value = { .ptr = val } \
    397     }
    398 
    399 #define LV_STYLE_CONST_TEXT_COLOR(val) \
    400     { \
    401         .prop = LV_STYLE_TEXT_COLOR, .value = { .color = val } \
    402     }
    403 
    404 #define LV_STYLE_CONST_TEXT_OPA(val) \
    405     { \
    406         .prop = LV_STYLE_TEXT_OPA, .value = { .num = (int32_t)val } \
    407     }
    408 
    409 #define LV_STYLE_CONST_TEXT_FONT(val) \
    410     { \
    411         .prop = LV_STYLE_TEXT_FONT, .value = { .ptr = val } \
    412     }
    413 
    414 #define LV_STYLE_CONST_TEXT_LETTER_SPACE(val) \
    415     { \
    416         .prop = LV_STYLE_TEXT_LETTER_SPACE, .value = { .num = (int32_t)val } \
    417     }
    418 
    419 #define LV_STYLE_CONST_TEXT_LINE_SPACE(val) \
    420     { \
    421         .prop = LV_STYLE_TEXT_LINE_SPACE, .value = { .num = (int32_t)val } \
    422     }
    423 
    424 #define LV_STYLE_CONST_TEXT_DECOR(val) \
    425     { \
    426         .prop = LV_STYLE_TEXT_DECOR, .value = { .num = (int32_t)val } \
    427     }
    428 
    429 #define LV_STYLE_CONST_TEXT_ALIGN(val) \
    430     { \
    431         .prop = LV_STYLE_TEXT_ALIGN, .value = { .num = (int32_t)val } \
    432     }
    433 
    434 #define LV_STYLE_CONST_RADIUS(val) \
    435     { \
    436         .prop = LV_STYLE_RADIUS, .value = { .num = (int32_t)val } \
    437     }
    438 
    439 #define LV_STYLE_CONST_CLIP_CORNER(val) \
    440     { \
    441         .prop = LV_STYLE_CLIP_CORNER, .value = { .num = (int32_t)val } \
    442     }
    443 
    444 #define LV_STYLE_CONST_OPA(val) \
    445     { \
    446         .prop = LV_STYLE_OPA, .value = { .num = (int32_t)val } \
    447     }
    448 
    449 #define LV_STYLE_CONST_COLOR_FILTER_DSC(val) \
    450     { \
    451         .prop = LV_STYLE_COLOR_FILTER_DSC, .value = { .ptr = val } \
    452     }
    453 
    454 #define LV_STYLE_CONST_COLOR_FILTER_OPA(val) \
    455     { \
    456         .prop = LV_STYLE_COLOR_FILTER_OPA, .value = { .num = (int32_t)val } \
    457     }
    458 
    459 #define LV_STYLE_CONST_ANIM(val) \
    460     { \
    461         .prop = LV_STYLE_ANIM, .value = { .ptr = val } \
    462     }
    463 
    464 #define LV_STYLE_CONST_ANIM_TIME(val) \
    465     { \
    466         .prop = LV_STYLE_ANIM_TIME, .value = { .num = (int32_t)val } \
    467     }
    468 
    469 #define LV_STYLE_CONST_ANIM_SPEED(val) \
    470     { \
    471         .prop = LV_STYLE_ANIM_SPEED, .value = { .num = (int32_t)val } \
    472     }
    473 
    474 #define LV_STYLE_CONST_TRANSITION(val) \
    475     { \
    476         .prop = LV_STYLE_TRANSITION, .value = { .ptr = val } \
    477     }
    478 
    479 #define LV_STYLE_CONST_BLEND_MODE(val) \
    480     { \
    481         .prop = LV_STYLE_BLEND_MODE, .value = { .num = (int32_t)val } \
    482     }
    483 
    484 #define LV_STYLE_CONST_LAYOUT(val) \
    485     { \
    486         .prop = LV_STYLE_LAYOUT, .value = { .num = (int32_t)val } \
    487     }
    488 
    489 #define LV_STYLE_CONST_BASE_DIR(val) \
    490     { \
    491         .prop = LV_STYLE_BASE_DIR, .value = { .num = (int32_t)val } \
    492     }