Advertisement
Guest User

Untitled

a guest
Apr 22nd, 2016
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. int x = padding + (buttons.size() % 2) * (butSize + padding);
  2. int y = padding + ((butSize + padding) * (buttons.size() / 2));
  3. ButtonTool button(x, y, butSize, tool);
  4.  
  5. button.load();
  6. buttons.push_back(button);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement