"Darius Blaszyk" <dhkblas...@zeelandnet.nl> wrote in message news:1292870518.1851.35.ca...@darius-desktop... > On Mon, 2010-12-20 at 18:58 +0100, Darius Blaszyk wrote: >> > The above explains why it is useful for an application developer to >> > use an openGL backend. >> > >> > It does not explain the following: Since fpGUI already has two >> > backends (afaik, X and winap), why can't openGL a third one? Did you >> > change the way fpGUI interfaces with its backend? Is this change so >> > incompatible with the current backends, that they cannot be modified? >> >> The changes I think are pretty incompatible. This is because the GLut >> library also provides messaging, whereas in fpGUI the messages are >> implemented outside of the backend. Therefore hacks are needed to keep >> the drawing messages coming correctly. With a pascal context library >> everything could be merged seamless I suppose. > > I've been badly mistaking. With some minor adjustments it will be > possible to create an OpenGL back-end most probably. At least to a > higher degree that I was proclaiming previously. I've now been able to > hook most fpGUI messages to GLut. > > Regards, Darius >
Hi Darius, nicely done :) I for one, would be interested in the code :) cheers, Paul _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal