ui/paint: rename the draw package

The draw package name clashes with the standard library draw package.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-08-07 20:11:53 +02:00
parent 6e26c92c75
commit dd35a48a61
10 changed files with 36 additions and 35 deletions
+3 -3
View File
@@ -14,7 +14,7 @@ const (
TypeLayer
TypeInvalidate
TypeImage
TypeDraw
TypePaint
TypeColor
TypeArea
TypePointerHandler
@@ -35,7 +35,7 @@ const (
TypeLayerLen = 1
TypeRedrawLen = 1 + 8
TypeImageLen = 1 + 4*4
TypeDrawLen = 1 + 4*4
TypePaintLen = 1 + 4*4
TypeColorLen = 1 + 4
TypeAreaLen = 1 + 1 + 4*4
TypePointerHandlerLen = 1 + 1
@@ -57,7 +57,7 @@ func (t OpType) Size() int {
TypeLayerLen,
TypeRedrawLen,
TypeImageLen,
TypeDrawLen,
TypePaintLen,
TypeColorLen,
TypeAreaLen,
TypePointerHandlerLen,