summaryrefslogtreecommitdiff
path: root/src/drivers/Android
AgeCommit message (Collapse)Author
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
2018-03-17Android: basic font management structure is complete.Matthias Melcher
Next: cleanup, document, 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@12764 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: starting to handle user clipping regions, but first I will Matthias Melcher
render better text, so I have something to test this on. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12761 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-03-16Android: added function to optimize complex regionsMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12760 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: commented the iterator code of the complex clipping area.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12756 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: fixed Fl_Rect.H commit.Matthias Melcher
Cleaned up some driver code. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12743 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-03-12Android: added support for Fl::add_timeout() and friends.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12742 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: finally taught AndroidStudio where the SVN root directory isMatthias Melcher
located. No more SVN from the command line. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12732 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-09Android: move Android specific platform events to FL/android.HMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12724 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-03-07Cleaning FLTK namespaceMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12721 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-03-07Android: specific event for Android. Use Fl::add_system_handler() and ↵Matthias Melcher
Fl::event(), for example: FL_ANDROID_EVENT_LOW_MEMORY git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12720 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-03-07Android: moved all Android code from the main app into the driver system. ↵Matthias Melcher
All non-driver-FLTK code and main app are now Android-free. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12719 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-03-07Android: using wait_for_expose to sync screen and windowsMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12718 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-03-07Android: improvements to Fl:flush() implementation. Initial draw, no wasted ↵Matthias Melcher
draw cycles. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12717 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-03-05Android: moved to IDE directory.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12711 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-03-05Android: drawing behaves nice enough. Fl::flush seems to bring the expected ↵Matthias Melcher
results, although optimization is required at some point. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12710 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-03-05Android: more cleanup. Trying to solve the problem of undefined screen ↵Matthias Melcher
buffer content. Moved gradlew.bat into gradlew.zip to make some svn's happy. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12709 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-03-04Android: beautified the Fl_Android_Application interface.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12708 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-03Android: case of .h and .HMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12706 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-03-03Android: need more source filesMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12705 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-02More Android changes.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12699 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