Hi Raegis,
CCing to the ufo devel list, as this might be interesting for others as well.
Am Montag, 30. April 2007 09:48 schrieb raegis:
> Message body follows:
>
> I would just say...
>
> Thanks, I was searching for a GUI library like UFO for
> month. I was desperate and I was starting to code my own
> library, but UFO appears... That's exactly what I was
> searching for.
> So thanks a lot for it.
> Continue, it's a very good job.
> Just a little remark.
> Is it envisaged to separate video drivers from the code and
> to load them at runtime ?
> Because, if I want to program my own UFO driver, it is
> required that I modify UFO code and released it under a GPL
> licence... This is too bad, just for few lines...
It is theoretically possible and supposed to work, but I haven't tried it yet.
Video drivers can be injected via UVideoPlugin. See include/ufo/uplugin.hpp
But in the beginning, it might be easier to use the dummy video
driver "dummygl" and set up the window in your application. See for example
test/sdl.cpp
It takes a little bit of time to create a video driver which supports all
attributes (and probably none of the provided video drivers support all
stuff).
> Just an another thing,
> In UXul::createRootPane(), I have replaced :
>
> node = m_doc->IterateChildren(node);
> unknown = node->ToUnknown();
>
> by this :
> node = m_doc->IterateChildren(node);
> if(node != NULL) {
> unknown = node->ToUnknown();
> }
>
> I don't know which tinyxml version you use, but with me, (I
> have also removed the tinyxml source files from UFO), it
> doesn't worked like this.
Thanks, I will look into this.
Regards,
Johannes
|