On 02/04/14 08:09, Andr EBERSOLD wrote:
> Hi Ian,
>
> Thanks for your reply. I'm not sure if not considering these platforms is the best strategy. The PC market decreased by 10% last year and this trend will probably continue this year.
> wxWidgets team has created the wxIOS project.
> I think that a C++ graphical user interface that would work on Both IOS and Android would be a big plus. It does not exist today and people who develop mobile application need to maintain two versions of the software. One written in Java and the other in Objective C. To be able to write code that would work on both platform is a big gain for programmer.
Someone new would have to step up to do the port.
I don't think any of the current fltk devs are familiar enough
with either platform to do a port.
If someone wants to step up to do it, they're free to do so.
But it might end up as a code fork unless it can be integrated
into FLTK. To ensure such a port goes well, the dev in question
should probably establish a running conversation with the devs
as the port progresses so that any changes to the core are done
in a way we'd be willing to integrate on completion.
What I'd advise /against/ is someone just going off and doing
a port, and then dropping a ginormous patch that changes large
parts of the core without input from the devs, as such a thing
is unlikely to be merged.
Regarding IOS..
I think Ian's right though about ios; Apple's store won't accept
apps developed in gui toolkits that aren't native in look+feel.
Unlike FLTK, wxwidgets uses /native/ widgets (IIRC) and therefore
has an advantage here in that apple might accept an app written
with it because the 'look and feel' will be apple's own.
FLTK is different in that it doesn't use native widgets,
it defines its own.
.
So if there were a port of FLTK for IOS, and one were to 'release'
a tool written with it, from what I've read of Apple's app store guidelines,
it would be rejected, and therefore be severely limited in use
only to other devs.
But perhaps they'll relax these restrictions, or perhaps there's
a use for non-istore apps among devs that makes it worth porting.
Regarding Android..
Google wants Android apps written in Java only, so that a single
app can run on all their different hardware (which is not all
binary compatible)
That said, the dev community has strongly pressured Google to
supply a C/C++ API, and this API has been growing. Google still
warns people not to write complete apps with the new C/C++ API,
advising the bulk of the app be written in Java, and the C/C++
code used only in small parts of the app where speed is needed.
But devs will do what they want regardless of the vendor's
desires, so there may be an opportunity for FLTK here.
Still, all the window manager stuff is different, so it'd
be a non-trivial port.