#include <FL/Fl.H>
#include <FL/Fl_Window.H>
#include <FL/Fl_Multiline_Output.H>

enum {
    out_w = 300,
    out_h = 200,
    space = 10,
    win_h = out_h + 2 * space,
    win_w = out_w + 2 * space,
    font_size = 40
};

int main()
{
    Fl_Window win(win_w, win_h, "output");

    Fl_Multiline_Output out(space, space, out_w, out_h);
    out.textsize(font_size);
    out.box(FL_FLAT_BOX);
    out.color(FL_BACKGROUND_COLOR);
    out.value("hello there\nhow are you?\nAlright");

    win.end();
    win.show();
    return Fl::run();
}
