summaryrefslogtreecommitdiff
path: root/src/drivers/Android/Fl_Android_Graphics_Driver.H
AgeCommit message (Collapse)Author
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-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-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-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-16Android: loading and rendering multiple fonts at multiple sizes.Matthias Melcher
This code is still a total mess and incredibly inefficient. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12763 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-03-16Android: finally founded font functionality, freakishly fluttered first Matthias Melcher
files, further fostering follows. Or, to put it bluntly, I forgot how the font system works, and now I am digging through the implementations of other drivers, carrying bits and pieces together. But you know that I will clean my files eventually... . git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12762 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-03-16Android: clipping regions code grew so big, they moved into their ownMatthias Melcher
header and source file. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12758 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-03-15Android: clipping code cleanup, xy and yx lines are clippedMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12755 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-03-15Android: window clipping working fl_rectf. Matthias Melcher
This code is not very beautiful, but the resulting class should be easy to use. A range-based loop can be used to find all relevant clipping rectangles for a drawing call. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12754 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-03-15Android: implemented good complex clipping, but unoptimized.Matthias Melcher
fl_rectf is so far the only function that uses the complex clipping region successfully. Code is slow, but works. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12747 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-03-14Android: implemented complex clipping at the first level.Matthias Melcher
Clipping areas are calculated for overlapping windows, named "Desktop Windows". The first level implementation works if the resulting complex region is just a rectangle. Higher complexity (sub-rectangles) is next. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12746 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-03-14Android: adding stress test for complex clipping. Matthias Melcher
Complex clipping is needed to allow popup dialogs and menu window while still correctly rendering windows that are "below" those popups. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12745 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-03-12Android: Reinstated working simple cliping functionality based on anMatthias Melcher
improved Fl_Rect_Region class instead of Fl_Rect. Commented out complex clipping. Android lib and apps now use C++11 because they can (and I like it). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12741 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-03-11Android: Made Fl_Rect virtual. Maybe a bad idea?Matthias Melcher
Also, added rectangular clipping which works. Expanding now to a more complex clipping scheme to make multiple windows work. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12739 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-03-10Android: fixed some variables to avoid crashing.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12730 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-03-10Android: adding and fixing to the graphics clipping codeMatthias Melcher
Android has no classic window manager, so FLTK has to make sure that popup windows, dialog boxes and multi window interfaces work as expectd. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12729 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-03-10Android: crude graphics clippingMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12726 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-03-03Android: reorganizingMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12707 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-03-02Set svn properties on new Android source files.Albrecht Schlosser
The Android example files in directory Android/... are not touched. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12702 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-03-02Adding crude Android native screen driverMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12695 ea41ed52-d2ee-0310-a9c1-e6b18d33e121