Answered step by step
Verified Expert Solution
Question
1 Approved Answer
We are required to do this in C++ using FLTK graphics on a Putty Server. Please be very detailed in your explanation because I am
We are required to do this in C++ using FLTK graphics on a Putty Server. Please be very detailed in your explanation because I am very confused. Thank you!
1. Make an 800-by-1000 Simple_window 2. Put an 8-by-8 grid on the leftmost 800- by-800 part of that window (so that each square is 100 by 100). 3. Make the eight squares on the diagonal starting from the top left corner red (use Rectangle). 4. Find a 200-by-200-pixel image (JPEG or GIF) and place three copies of it on the grid (each image covering four squares) If you can't find an image that is exactly 200 by 200, use set mask0 to pick a 200- by-200 section of a larger image. Don't obscure the red squares 5. Add a 100-by-100 image. Have it move around from square to square when you click the "Next" button. Just put wait_for_button) in a loop with some code that picks a new square for your image. 1. Make an 800-by-1000 Simple_window 2. Put an 8-by-8 grid on the leftmost 800- by-800 part of that window (so that each square is 100 by 100). 3. Make the eight squares on the diagonal starting from the top left corner red (use Rectangle). 4. Find a 200-by-200-pixel image (JPEG or GIF) and place three copies of it on the grid (each image covering four squares) If you can't find an image that is exactly 200 by 200, use set mask0 to pick a 200- by-200 section of a larger image. Don't obscure the red squares 5. Add a 100-by-100 image. Have it move around from square to square when you click the "Next" button. Just put wait_for_button) in a loop with some code that picks a new square for your imageStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started