diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2018-03-14 23:13:48 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2018-03-14 23:13:48 +0000 |
| commit | 1bb5eea696bfabdb3000b8430e539133af81fe67 (patch) | |
| tree | 669c3659e666f740c320e84b5cc8d5686bea1f5c /ide | |
| parent | 737d8bef2425d0373a8890b49f9b0babb7f994db (diff) | |
Android: implemented complex clipping at the first level.
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
Diffstat (limited to 'ide')
| -rw-r--r-- | ide/AndroidStudio3/app/src/main/cpp/HelloAndroid.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ide/AndroidStudio3/app/src/main/cpp/HelloAndroid.cxx b/ide/AndroidStudio3/app/src/main/cpp/HelloAndroid.cxx index 7e8d11b72..f42550958 100644 --- a/ide/AndroidStudio3/app/src/main/cpp/HelloAndroid.cxx +++ b/ide/AndroidStudio3/app/src/main/cpp/HelloAndroid.cxx @@ -55,7 +55,7 @@ void hello_cb(void*) int main(int argc, char **argv) { - win1 = new Fl_Window(10, 10, 200, 200, "back"); + win1 = new Fl_Window(10+50, 10, 200, 200, "back"); win1->color(FL_RED); win1->box(FL_DOWN_BOX); Fl_Button *b1 = new Fl_Button(10, 10, 180, 180, "back"); @@ -78,7 +78,7 @@ int main(int argc, char **argv) win->end(); win->show(argc, argv); - win2 = new Fl_Window(390, 10, 200, 200, "front"); + win2 = new Fl_Window(390-50, 10, 200, 200, "front"); win2->color(FL_BLUE); win2->box(FL_UP_BOX); Fl_Button *b2 = new Fl_Button(10, 10, 180, 180, "front"); |
