Am a new c programmer. I refer to the code ' Bouncing Ball' which is a GUI, now there is a rectangle created, i managed to change the color the rectangle in the main window and what my may problem is how to make the rectangle fixed and not only increase to be a full rectangle after the ball has hit both ends, how do i achieve that? If you want to change the Color you only need to change the Assignment to this Variable (instead of using a 2nd Method). I would not create a kind of 'Random-Color' because there are to much combinations which makes absolut senseless Colors (which means: Colors are to near together or not good to be seen on the Background).
Comments are closed.
|
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |