Designing the Main Window

Now that we've outlined the goals for our editor, we can begin with the design of our GUI. Obviously the first thing that we need is a window:

Fl_Window *window;

window = new Fl_Window(640, 480, "Text Editor");