Index: ui/views/painter.h |
diff --git a/ui/views/painter.h b/ui/views/painter.h |
index c0ff443d3ac57433f48deb672d9bde7ba0483214..cbd4d6263a40297cbba135d01d6f4c3b301d9845 100644 |
--- a/ui/views/painter.h |
+++ b/ui/views/painter.h |
@@ -23,6 +23,11 @@ class Size; |
x ## _LEFT, x ## _CENTER, x ## _RIGHT, \ |
x ## _BOTTOM_LEFT, x ## _BOTTOM, x ## _BOTTOM_RIGHT, } |
+#define IMAGE_GRID2(x, y) { \ |
sky
2013/12/02 21:28:55
Why do you need a new macro for this? Can't you em
hajimehoshi
2013/12/03 10:30:52
Done.
|
+ x ## _TOP_LEFT_ ## y, x ## _TOP_ ## y, x ## _TOP_RIGHT_ ## y, \ |
+ x ## _LEFT_ ## y, x ## _CENTER_ ## y, x ## _RIGHT_ ## y, \ |
+ x ## _BOTTOM_LEFT_ ## y, x ## _BOTTOM_ ## y, x ## _BOTTOM_RIGHT_ ## y, } |
+ |
namespace views { |
// Painter, as the name implies, is responsible for painting in a particular |