A good idea, some random stuff:
I don't expect this will be done by mbed staff, so it is something for users to do.
Then afaik most of the current LCD libraries use something like this one does: http://mbed.org/users/star297/code/HY-1_8TFT_ST7735/. They already do use a 'standard' GraphicsLCD class, but that is just two files, a first step could be making that into a proper library and ask the owners of those libraries to use that one, so they are forced to be equal to each other (That isn't too much work for the owners). Then you already got all the basic stuff covered (circles, lines, fonts, etc).
Would then NeatGUI add more than what is in the GraphicsLCD class? I scrolled through it, and saw already some stuff like triangles, but that could also simply be added in GraphicsLCD. I could imagine also stuff like buttons, check boxes, etc. But then an option would be to make a class that takes a pointer to a GraphicsLCD in its constructor, and uses the functions it knows will be there to draw stuff.
So the TL;DR comes down to: Good idea, but wouldn't it be easier to start with GraphicsLCD? And then mainly not because it would be better than NeatGUI, but it is already there in many.
I'd like to see an official lightweight GUI library for the online compiler. Preferably driver-independant so users can code their own display drivers. That way, all display projects could use a common API for creating GUIs, instead of having separate libraries and APIs for every display like it's done now. I had hoped to build something like this with my NeatGUI project, but I haven't had the time to finish it. I have some experience with other embedded GUI libraries, and I find the lack of standardization to be very frustrating. Each library has it's own font format, and it's own image format, etc. With an official GUI library, the mbed platform would be much more applicable to development boards with onboard displays, since only a display driver would need to be provided.
Import libraryNeatGUI
A simple yet powerful library for controlling graphical displays. Multiple display controllers are supported using inheritance.
Last commit 27 May 2014 by Neil Thiessen