Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while (window.pollEvent()){ //это все еще в одном цикле - пока приложение работает
- float y = 1.05;
- float x = 1.05;
- float x1 = 1;
- float y1 = 1;
- if (event.type == Event::MouseWheelScrolled){
- int mouse = event.mouseWheelScroll.delta;
- if (mouse == -1) {TabScrollLine(0, 00,640*1.1*(x1 + x), 480*1.1*(y1 + y) );}
- else(...)
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement