screen_print

Function screen_print 

Source
pub unsafe extern "C" fn screen_print(
    txt_fmt: text_format_e_t,
    line: i16,
    text: *const c_char,
    ...
) -> u32
Expand description

Print a formatted string to the screen on the specified line

Will default to a medium sized font by default if invalid txt_fmt is given.

\param txt_fmt Text format enum that determines if the text is medium, large, medium_center, or large_center. (DOES NOT SUPPORT SMALL) \param line The line number on which to print \param text Format string \param … Optional list of arguments for the format string

\return 1 if there were no errors, or PROS_ERR if an error occured taking or returning the screen mutex.