Advertisement
apl-mhd

igraphics

Nov 8th, 2016
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.60 KB | None | 0 0
  1. #include "iGraphics.h"
  2. void iDraw()
  3. {
  4.  
  5. iSetColor(0,255,0);
  6. iFilledRectangle(200,150,400,240);
  7. //iSetColor(255,0,0);
  8. //iFilledCircle(400,270,80);
  9. iCircle(400,270,100);
  10.  
  11. //place your drawing codes here
  12. }
  13. void iMouseMove(int mx, int my)
  14. {
  15. //place your codes here
  16. }
  17. void iMouse(int button, int state, int mx, int my)
  18. {
  19. //place your codes here
  20. }
  21. void iKeyboard(unsigned char key)
  22. {
  23. //place your codes here
  24. }
  25. void iSpecialKeyboard(unsigned char key)
  26. {
  27. //place your codes for other keys here
  28. }
  29. int main()
  30. {
  31. //place your own initialization codes here.
  32. iInitialize(600, 400, "");
  33. return 0;
  34. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement