diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2018-03-17 19:32:05 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2018-03-17 19:32:05 +0000 |
| commit | e599a0194d14ff36b29b8baa2dfc47230d382f92 (patch) | |
| tree | 400ba94847e6ed898e33421944b79b050fe7f172 /README.Android.txt | |
| parent | 07f18616cbecdc9670d4775cdac480efc18f4ee3 (diff) | |
Android: added font access into Android package via Assets, added font
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
Diffstat (limited to 'README.Android.txt')
| -rw-r--r-- | README.Android.txt | 35 |
1 files changed, 22 insertions, 13 deletions
diff --git a/README.Android.txt b/README.Android.txt index 58c817e48..899229996 100644 --- a/README.Android.txt +++ b/README.Android.txt @@ -1,20 +1,21 @@ + README.Android.txt - Building and using FLTK with Android Studio 3 ------------------------------------------------------------------- +================================================================== WARNING: FLTK FOR ANDROID IS WORK IN PROGRESS IN A PRETTY EARLY STAGE. - CONTENTS -========== +CONTENTS +-------- 1 Building FLTK with Android Studio 3 - 2 Limitation of FLTK on Android + 2 Extensions and limitation of FLTK on Android 3 DOCUMENT HISTORY - BUILDING FLTK SAMPLE WITH ANDROID STUDIO 3 -============================================ +BUILDING FLTK SAMPLE WITH ANDROID STUDIO 3 +------------------------------------------ There is no need to ever write a single line of Java. @@ -32,19 +33,27 @@ device, you are ready to install FLTK. - click "run"; the project should compile and run out of the box - Limitation of FLTK on Android -=============================== +Extensions and limitation of FLTK on Android +-------------------------------------------- Android support for FLTK is in a very early stage. As of March 2018, very basic -rendering work and mouse clicks are detected. +rendering works, text rendering work, clipping works, window layering works, +and mouse clicks (touch events) are detected. + +When loading fonts: + - font names starting with a $ will have the system font path inserted + - font names starting with an @ will be loaded via the Asset Manager + - all other names will be used verbatim -- the screen size is currently always 600x800 and is scaled up -- there is no support for multiple windows (yet) +Limitations: + - the screen size is currently fixed to 600x800 and is scaled up + - many many big and little functions are not yet implemented - DOCUMENT HISTORY -================== +DOCUMENT HISTORY +---------------- +Mar 17 2018 - matt: added Android extensions for fonts Mar 12 2018 - matt: started list of limitation that serevs as information to the user as much as a todo list for core developers Mar 6 2018 - matt: moved project to ide/AndroidStudio3/ |
