/*
          __
         / /_______________  ____  ___
        / __/ ___/ ___/ __ \/ __ \/ _ \
       / /_(__  ) /__/ /_/ / /_/ /  __/
       \__/____/\___/\____/ .___/\___/
                         /_/

    text1.c
    printf functions
*/

#include <tscope.h>

int main()
{
    ts_printf(0, 30, "left aligned text");
    ts_printf_centre(0, 10, "centred text");
    ts_printf_right(0, -10, "right aligned text");
    ts_printf_justify(0, XMAX, -30, "some outlined text");

    ts_line(0, -YMAX, 0, YMAX);

    ts_button(XMAX - 20, -YMAX + 20);
    return 0;
}

END_OF_MAIN();


top
Persoonlijke pagina Universiteit GentTscope
Allegro | Cygwin | Gcc
© See license.html for copyright information