From 630fc8e9839ac534ad445ddfda8f175365009439 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Thu, 15 Mar 2018 00:07:53 +0000 Subject: 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 --- ide/AndroidStudio3/app/src/main/cpp/HelloAndroid.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ide/AndroidStudio3/app/src/main/cpp/HelloAndroid.cxx') 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(); -- cgit v1.2.3