Hi Banlu,

There are two possible approaches. 

The easy way would to be write a new GNUstep backend, then you can just 
recompile EtoileUI as it is. This way, EtoileUI can reuse existing AppKit 
controls. 

The other approach is to write a EtoileUI backend for Android. It's far more 
work but EtoileUI would then support Android native widgets. Here are the 
various things to do:

- Finish to rewrite drawing implementation to let EtoileUI controls it entirely
- Formalize a bit more the subset of the AppKit that EtoileUI uses for drawing 
(NSFont, NSImage, NSBezierPath etc.) and reimplement it on top of Android 
(something like Skia I suppose)
- ETLayoutItem and ETView needs to be adjusted to support embedding widgets 
other then AppKit controls
- ETLayoutItemFactory will require some changes to return item using native 
widgets
- Turn ETApplication into a standalone class (it's a NSApplication subclass 
currently)
- Split various classes e.g. ETWindowItem into abstract class vs backend 
implementation class (and provide a Android backend implementation for these 
classes)
- Implement a ETEventProcessor subclass for Android

Cheers,
Quentin.

Le 22 juil. 2013 à 04:13, OÖM Keeler a écrit :

> Anyway it should be useful to have a brief of AppKit working, I guess I could 
> use something like Terminal.app. Current terminals are pretty terrible. I 
> think Ivan is porting base currently?
> May be I should just wait so he can finish the rest..so I better keep my 
> focus on my complex raster
> module and may be putting up on SDL for any test.
> 
> 
> On Mon, Jul 22, 2013 at 5:21 AM, OÖM Keeler <obj...@gmail.com> wrote:
> Better through the list.
> 
> PS. Drawn with SketchBook Pro and Phothoshop Touch in Note 8
> 
> https://plus.google.com/u/0/118202229301775249838/posts/DfM73GisuJf
> 
> Seriously I now need a free software app to replace those 2. So I'll pay less 
> attention
> to the 3D module of AP3, to converge my dev toward the raster module.
> 
> 
> ---------- Forwarded message ----------
> From: OÖM Keeler <obj...@gmail.com>
> Date: Mon, Jul 22, 2013 at 5:11 AM
> Subject: I just got Android phone.
> To: Quentin Mathé <qma...@gmail.com>
> 
> 
> Hi Quentin, what's up? I just got android galaxy note 8 now I wonder how I 
> start working
> toward to goal to get ETUI working on this. Should I start trying to get 
> NSWindow to
> work? ie. implement android windowing backend in -back?
> 
> 
> -- 
> I used to be a GNUstep developer like them, then I took an arrow in the 
> knee...
> 
> 
> 
> -- 
> I used to be a GNUstep developer like them, then I took an arrow in the 
> knee...
> 
> 
> 
> -- 
> I used to be a GNUstep developer like them, then I took an arrow in the 
> knee...
> _______________________________________________
> Etoile-dev mailing list
> Etoile-dev@gna.org
> https://mail.gna.org/listinfo/etoile-dev


_______________________________________________
Etoile-dev mailing list
Etoile-dev@gna.org
https://mail.gna.org/listinfo/etoile-dev

Reply via email to