template inline Rect::Rect() : x(0) , y(0) , w(0) , h(0) { } template inline Rect::Rect(T X, T Y, T W, T H) : x(X) , y(Y) , w(W) , h(H) { } template void Rect::Set(T X, T Y, T W, T H) { x = X; y = Y; w = W; h = H; }