Advertisement
SSS_Krut

float/int

Jul 26th, 2020 (edited)
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.36 KB | None | 0 0
  1. while (window.pollEvent()){ //это все еще в одном цикле - пока приложение работает
  2. float y = 1.05;
  3. float x = 1.05;
  4. float x1 = 1;
  5. float y1 = 1;
  6. if (event.type == Event::MouseWheelScrolled){
  7. int mouse = event.mouseWheelScroll.delta;
  8. if (mouse == -1) {TabScrollLine(0, 00,640*1.1*(x1 + x), 480*1.1*(y1 + y) );}
  9. else(...)
  10. }
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement