downix wrote:
The problem with this is that you would then be reinventing the wheel when such an OOP GUI library already exists for all of the platforms: MUI.
I agree that MUI is fine as it stands but I feel you are missing our point here.
An abstraction layer has many benefits. For MUI and reaction both, such a layer would be very thin.
Enforcing MUI as an interface is not a good idea - plenty of people don't like it, it may not be ideal under one or other versions of the OS (ie OS4).
Having to use MUI or Zune on a system which already has GUI results in an underutilisation of that systems existing abilites and increases the memory overhead of the program (having to load MUI resources etc). Reinventing the wheel as you yourself describe it :-)
By contrast the abstraction layer would be relatively small since it relies on the underlying native GUI to do all the work.
One overwhelming advantage, as codesmith pointed out would be to use an API which is source compatible with one of the Linux APIs which would reduce the work required to port software.
I feel this idea has a lot of potential, but that's my humble opinion :-)