diff options
Diffstat (limited to 'src/ui/paint.h')
-rw-r--r-- | src/ui/paint.h | 4 |
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 | ||
39 | extern iInt2 origin_Paint; /* add this to all drawn positions so buffered graphics are correctly offset */ | ||
40 | |||
39 | void init_Paint (iPaint *); | 41 | void init_Paint (iPaint *); |
40 | 42 | ||
41 | void beginTarget_Paint (iPaint *, SDL_Texture *target); | 43 | void 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 | ||
66 | void drawPin_Paint (iPaint *, iRect rangeRect, int dir, int pinColor); | ||
67 | |||
64 | iInt2 size_SDLTexture (SDL_Texture *); | 68 | iInt2 size_SDLTexture (SDL_Texture *); |