[fltk.coredev] Re: SDL

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.coredev  ]
Previous Message ]New Message | Reply ]Next Message ]

Re: SDL "'melcher.... 05:01 Jul 03 top right image
  I should add that I may not have pushed all Android changes into the repos either, so I may be promising stuff that is not yet uploaded. Please let me know how important this is, and I will try to schedule updating the branch asap.

melcher....@googlemail.com schrieb am Samstag, 3. Juli 2021 um 13:49:45 UTC+2:
Sorry sorry sorry sorry. I have not touched Pico in years. Much of the development went into the Android driver, which is basically the idea of Pico in a much more interesting environment. The Android driver has a complete implementation of clipped drawing of text, fonts, polygons, arc, etc. . The missing features are line width and line patters. It supports multiple windows, but not yet a window decoration or desktop. Nevertheless, it is absolutely usable, and most of the non-OpenGL apps compile and run just fine on Android.

I always meant to merge Pico and Android to finally get this idea working, but my job has kept me extremely busy. I'll be happy to help, either in a public forum or by PM: fltk AT matthiasm DOT com , if you feel like investing time into this idea. Starting September, I will have half the work load, and I will hopefully tie all the strings together and implement the original idea of porting FLTK by implementing only three functions (positional event/klick/touch, timer event, and draw a pixel).

LM schrieb am Donnerstag, 1. Juli 2021 um 21:05:29 UTC+2:
I downloaded fltk-1.4.x-20210618-713d1bfd and began to check the state of the PicoSDL driver.  After some experimentation, I decided to copy the code for PicoSDL and Pico and create a new SDL driver.  Added some code for drawing various shapes and made some other modifications.  I'm able to get it to compile and build with a SDL backend.  It's really buggy and crashes a lot at this point.  However, I can run some applications and I'm starting to see some of the windows rendered.  Needs a lot of work.  Thought it might be useful to have a working SDL backend though.  That might allow for easier porting to any systems that support SDL.  I'm using SDL2 now, but I can add SDL 1.2.15 support as well for older systems.  It wouldn't require much to get that working if SDL2 support is working properly. 

Thought I'd mention it in case anyone else might be interested in development of a SDL backend for FLTK.


You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkcoredev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/4ea6f78b-3280-4c9c-a555-93973dd4a2f5n%40googlegroups.com.
Direct Link to Message ]
bottom left image   bottom right image
Previous Message ]New Message | Reply ]Next Message ]

Comments are owned by the poster. All other content is copyright 1998-2022 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.