diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2018-03-15 00:07:53 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2018-03-15 00:07:53 +0000 |
| commit | 630fc8e9839ac534ad445ddfda8f175365009439 (patch) | |
| tree | ec3a16bdccba10d6a1c6a0734aae94d3bb39e916 /ide | |
| parent | 1bb5eea696bfabdb3000b8430e539133af81fe67 (diff) | |
Android: implemented good complex clipping, but unoptimized.
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
Diffstat (limited to 'ide')
| -rw-r--r-- | ide/AndroidStudio3/app/src/main/cpp/HelloAndroid.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ide/AndroidStudio3/app/src/main/cpp/HelloAndroid.cxx b/ide/AndroidStudio3/app/src/main/cpp/HelloAndroid.cxx index f42550958..af6358fd2 100644 --- a/ide/AndroidStudio3/app/src/main/cpp/HelloAndroid.cxx +++ b/ide/AndroidStudio3/app/src/main/cpp/HelloAndroid.cxx @@ -59,6 +59,7 @@ int main(int argc, char **argv) win1->color(FL_RED); win1->box(FL_DOWN_BOX); Fl_Button *b1 = new Fl_Button(10, 10, 180, 180, "back"); + b1->color(FL_DARK_RED); win1->end(); win1->show(); @@ -82,6 +83,7 @@ int main(int argc, char **argv) win2->color(FL_BLUE); win2->box(FL_UP_BOX); Fl_Button *b2 = new Fl_Button(10, 10, 180, 180, "front"); + b2->color(FL_DARK_BLUE); win2->end(); win2->show(); |
