Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int x = padding + (buttons.size() % 2) * (butSize + padding);
- int y = padding + ((butSize + padding) * (buttons.size() / 2));
- ButtonTool button(x, y, butSize, tool);
- button.load();
- buttons.push_back(button);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement