summaryrefslogtreecommitdiff
path: root/src/drivers/Android
AgeCommit message (Collapse)Author
2018-06-26Moving headers Fl_XXX_Driver.H from FL/ to src/ --- continuedManolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12979 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-06-26Move Fl_Window_Driver.H from FL/ to src/Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12974 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-06-23Doxygen only: fixed all block comments starting with an asterisk to ↵Matthias Melcher
space-only, fixed doxygen keywords prepended with @ to use a backward slash instead. No code was changed. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12970 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-06-23Android: Android Developer Documentation would work but needs some changes ↵Matthias Melcher
in Doxyfile: - if develoer doc is wantedn, add 'ENABLED_SECTIONS = AndroidDev' - currently, Doxyfile enables everything related to drivers, so remove 'EXCLUDE = /Users/matt/dev/fltk-1.4.svn/src/driversxx/' With this, we get a sparsely filled module named 'Android Developer Documentation' and a lot of other driver related classes, which could also be encapsulated in doxygen '@if DriverDev'. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12967 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-06-23Android: added a few more Doxygen commentsMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12966 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-06-23Android: fixed fl_beep to plat different sound for differen beep types, ↵Matthias Melcher
testing Doxygen to generate driver developer documentation git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12965 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-06-21Android: roughly fixed Fl::grab() to make menus easier to navigateMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12960 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-06-21Android: Windows are now centered on screen if no position is defined, ↵Matthias Melcher
dialogs pop up in a more logical position. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12958 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-06-21Android: Lazy scroll is working. AT some point we should implement fast ↵Matthias Melcher
scrolling git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12957 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-06-21Android: Teaching FLTK to beep. test/button works.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12955 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-06-21Android: Implemented window positioning and sizingMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12954 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-06-19Android: Clearing the desktop when a window is hidden.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12949 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-05-12Remove public member function Fl_Window_Driver *Fl_Window::driver() so class ↵Manolo Gouy
Fl_Window_Driver is not in FLTK public API. This function is replaced by static Fl_Window_Driver* Fl_Window_Driver::(const Fl_Window *win). The purpose is to have class Fl_Window_Driver outside from FLTK ABI. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12915 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-05-06Improve fl_overlay_rect() when GUI is scaled.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12901 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-04-21Complete Fl_Android_Graphics_Driver::cache() functions that should assign ↵Manolo Gouy
the image's cache_w_ and cache_h_ member variables. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12866 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-04-20Remove debugging statementManolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12863 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-04-20Fix direct use of fl_draw_pixmap() whithout Fl_Pixmap object.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12862 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-04-16Add Fl_Android_Graphics_Driver::delete_bitmask() needed to uncache a cached ↵Manolo Gouy
Fl_Bitmap image. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12840 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-04-13Homogenise and simplify the API of Fl_Graphics_Driver::cache(image-type *) ↵Manolo Gouy
virtual member functions. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12833 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-04-12Image drawing: simplify the code organisation to better support ↵Manolo Gouy
Fl_Image::scale(). Graphics drivers now use up to 6 virtual member functions to support Fl_Image drawing in the context of GUI and image rescaling : virtual void draw_pixmap(Fl_Pixmap *pxm, int XP, int YP, int WP, int HP, int cx, int cy) virtual void draw_bitmap(Fl_Bitmap *bm, int XP, int YP, int WP, int HP, int cx, int cy) virtual void draw_rgb(Fl_RGB_Image *rgb, int XP, int YP, int WP, int HP, int cx, int cy) and virtual void draw_fixed(Fl_Pixmap *pxm, int XP, int YP, int WP, int HP, int cx, int cy) virtual void draw_fixed(Fl_Bitmap *bm, int XP, int YP, int WP, int HP, int cx, int cy) virtual void draw_fixed(Fl_RGB_Image *rgb, int XP, int YP, int WP, int HP, int cx, int cy) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12828 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-04-01Android: Drawing RGB and monochrome image data on the fly from a buffer. ↵Matthias Melcher
Untested. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12819 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-04-01Android: Drawing RGB image data on the fly via callbackMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12818 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-03-31Android: Drawing RGB image data (and probaly rgba and grayscale as well). ↵Matthias Melcher
Testing unsing test/color_chooser.cxx git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12817 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-03-27Android: Implemented Pixmap drawing, also much cleanup in ↵Matthias Melcher
Fl_Android_Graphics_Driver. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12810 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-03-27Android: Fl_Android_Graphics_Driver now derives from Fl_Graphics_Driver and ↵Matthias Melcher
no longer from the dpi-aware scaling version. I may add this level of complexity later, but for now, unscaled drivers are difficult enough. Also, the new setup lets me easily find unimplemented methods of the driver. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12809 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-03-26Android: Draws Fl_Bitmap.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12807 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-03-26Android: Avoids hiding and showing keyboard when focus changes from text ↵Matthias Melcher
input to text input git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12805 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-03-26Android: Keyboard handles modifiers like Shift and Alt... .Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12803 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-03-25Android: Added keycodes to make arrow keys, delete, return, and other non ↵Matthias Melcher
text-keys work. ALso added a Java helper class to make Java call easier. We may need more Java/JNI in the future. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12801 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-03-25Android: Separating keyboard stuff into a new fileMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12800 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-03-25Android: Improved event handling to handle all pending events before ↵Matthias Melcher
redrawing the interface. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12799 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-03-24Android: Tried to fix flaws in the Android Native interface. Only Matthias Melcher
solution I found involves Java, so, no. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12797 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-03-24Android: Even rougherer cut to make the keyboard pop up.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12795 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-03-24Android: Rough, verz rough kezboard handling.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12794 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-03-24Android: Made popup and menu windows work, fixed Fl::wait() recursion,Matthias Melcher
fixed incompatible Fl::wait() behavior. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12793 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-03-23Android: Using floating point calls to make thigs look slightly better.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12791 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-03-23Android: Using xlib shortcut to draw circles and ellipses.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12790 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-03-23Android: Added fl_polygon and fl_loop calls. All boxtypes draw well now.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12788 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-03-23Android: Posting well behaved pie drawing method. Needs refactoring.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12787 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-03-22Android: Posting pretty buggy pie method; must visit later!Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12785 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-03-22Android: Implemented vector drawing and polygons.Matthias Melcher
Started to implement arc and pie drawing git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12783 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-03-18Android: Implemented font changing ( Fl::set_font(ix, name); )Matthias Melcher
and other font stuff. Fixed horizontal and vertical line drawing to include last pixel. Added stippling to focus rect. Added point drawing (slooow). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12774 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-03-18Android: Fixed another bug when deleting complex clipping areasMatthias Melcher
Better complex region cleanup - should be compete now... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12772 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-03-18Android: Fixed bug when deleting complex clipping areasMatthias Melcher
Tested FLTK schemes - nice! Fixed crashbug in timer Fixed crashbug in mouse handler git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12771 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-03-17Android: intersetcing a complex clipping region with a rectangleMatthias Melcher
However I did disable the complex region optimizer - too tired to get the pointers right... . git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12770 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-03-17Android: added text clipping in all its uglyness.Matthias Melcher
Next: intersetcing a complex clipping region with a rectangle git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12769 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-03-17Android: added fontattributes, so formatting works well now.Matthias Melcher
Next: add clipping git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12768 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-03-17Android: added font access into Android package via Assets, added fontMatthias Melcher
fallbacks, added emergency font as an asset, added graceful behavior when absolutely no font could be loaded. Next: add other font related calls, add clipping git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12767 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-03-17Android: added chachingMatthias Melcher
Next: add other font related calls, add clipping, add font paths for package resources git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12766 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-03-17Android: yes, we can unicode; cleanup; documentdMatthias Melcher
Next: add caching, add other font related calls, add clipping, add font paths for package resources git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12765 ea41ed52-d2ee-0310-a9c1-e6b18d33e121