summaryrefslogtreecommitdiff
path: root/src/ui/paint.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/paint.h')
-rw-r--r--src/ui/paint.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ui/paint.h b/src/ui/paint.h
index 90cc2aef..e894b62f 100644
--- a/src/ui/paint.h
+++ b/src/ui/paint.h
@@ -36,6 +36,8 @@ struct Impl_Paint {
36 uint8_t alpha; 36 uint8_t alpha;
37}; 37};
38 38
39extern iInt2 origin_Paint; /* add this to all drawn positions so buffered graphics are correctly offset */
40
39void init_Paint (iPaint *); 41void init_Paint (iPaint *);
40 42
41void beginTarget_Paint (iPaint *, SDL_Texture *target); 43void beginTarget_Paint (iPaint *, SDL_Texture *target);
@@ -61,4 +63,6 @@ iLocalDef void drawVLine_Paint(const iPaint *d, iInt2 pos, int len, int color) {
61 drawLine_Paint(d, pos, addY_I2(pos, len), color); 63 drawLine_Paint(d, pos, addY_I2(pos, len), color);
62} 64}
63 65
66void drawPin_Paint (iPaint *, iRect rangeRect, int dir, int pinColor);
67
64iInt2 size_SDLTexture (SDL_Texture *); 68iInt2 size_SDLTexture (SDL_Texture *);