- int &x,
- int &y,
- int &w,
- int &h)
-{
-#define MARGIN 10
- int real_w = this->get_w() - box_r * 2 - MARGIN;
- int real_h = this->get_h() - box_r * 2 - MARGIN;
+ int &x, int &y, int &w, int &h)
+{
+ int xs10 = xS(10), ys10 = yS(10);
+ int real_w = this->get_w() - box_r * 2 - xs10;
+ int real_h = this->get_h() - box_r * 2 - ys10;