lv_subject_init_string() function
Initialize a string type subject
Arguments
subject
pointer to the subject
buf
pointer to a buffer to store the string
prev_buf
pointer to a buffer to store the previous string, can be NULL if not used
value
initial value as a string, e.g. "hello"
Notes
the string subject stores the whole string, not only a pointer