Re: Redy Project Questions
- Posted by xecronix Oct 02, 2015
- 1687 views
I appreciate your interest. My design philosophy for Redy is to be as purist as possible. I want to rely on minimal 3rd party libraries, using direct win32api, x11, or other commonly installed C libraries as much as possible. Because all widgets in Redy are pure euphoria code, only basic window, event, graphics, and OS integration wrappers are needed on each platform.
Thanks. Very cool idea. And your progress is remarkable!
On linux, Redy will basically have to do everything wxwidgets or gtk can do.
I'm not an expert here but I don't think they actually to the same thing. I think WxWidgets is much closer to your implementation of Redy thus far. WxWidgets has it's own widget set. But it sits on top of win32 or gtk in order to draw them. If the WxWidgets team wanted to implement their own clipboard, dnd, etc, there would have been no reason to link against GTK. They could have simply linked against X, which is what GTK does.
I'm not saying either is a better design. In fact, let me reiterate that I believe the team that has done this task the best so far has been the Java team. And they did not link against GTK. Instead they link straight to X. (Which is what you're planning to do.)
What I am saying though is "OS" integration was implemented in Motif, again in GTK, again in QT, and again in Java. And one day, again for Redy.
So my questions are:
- In light of Irv M. efforts in keeping GTK up to date for years now, why not use GTK as your win32 substitute?
I'm not sure I was as clear as I could have been here. But just to be sure, what I meant was that for the Linux platform only, using GTK for drawing and OS integration. GTK is so popular on Linux you can hardly consider it 3rd party.
Another possibility is to use opengl to draw all the widgets, but i haven't really looked into that yet. I don't know how window management or clipboard functions work, so i will have to do alot of research. In the end, i suppose i'll have a much better understanding of how linux works.
This is what I was thinking when I first started looking into your project. I think this sounds like a lot of fun. Though, I didn't consider OS integration until I learned (a bunch) from your Redy code. It's a tough problem you're solving.