Re: Unified libraries to allow porting code to other oses
- Posted by ryanj May 23, 2015
- 2882 views
This is one of the goals of Redy: to make a non-platform-specific GUI api. As a purist, i like to have as little non-euphoria code as possible, so my approach was different than the others: i use only foundational window and graphics functions so that there is much less api to wrap on each platform. The hard thing about that approach is i had to create my own widget toolkit from scratch. It took a few years of failures and learning how to be a better programmer before i finally found a design that works well. But, i believe it was worth the effort. There are still many missing features, but Redy works very well so far. What i am missing is a wrapper for x-windows or xcb for Linux to be able to create and manage windows and draw graphics on them. Once I have that, it won't be difficult to make Redy cross-platform.