Add lv_obj_set_style? and lv_obj_add_style behavior

I see now and I can suggest 2 things:

  1. The less elegant method: Use lv_obj_remove_style to remove the style(s) you don’t need. lv_obj_remove_style_all removes all styles so you can build it from scratch (not that internally the x, y, width, and height are also local style properties so they will be also removed with lv_obj_remove_style_all)
  2. The pro method: Let’s say you want to add style_red when state is true. You can add style_red to the LV_STATE_USER_1 and use lv_obj_add/clear_state(obj, LV_STATE_USER_1) depending on state in the PRESSED event.