From ecc5d648dfefd7949b7508c724790dd452814fb2 Mon Sep 17 00:00:00 2001 From: frosch Date: Sat, 28 Jun 2008 15:44:24 +0000 Subject: (svn r13649) -Codechange: Split the GfxFillRect() special flags from 'color' into their own parameter. --- src/gfx_type.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/gfx_type.h') diff --git a/src/gfx_type.h b/src/gfx_type.h index 298513c84..983b95205 100644 --- a/src/gfx_type.h +++ b/src/gfx_type.h @@ -216,4 +216,11 @@ enum StringColorFlags { IS_PALETTE_COLOR = 0x100, ///< color value is already a real palette color index, not an index of a StringColor }; +/** Define the operation GfxFillRect performs */ +enum FillRectMode { + FILLRECT_OPAQUE, ///< Fill rectangle with a single color + FILLRECT_CHECKER, ///< Draw only every second pixel, used for greying-out + FILLRECT_RECOLOR, ///< Apply a recolor sprite to the screen content +}; + #endif /* GFX_TYPE_H */ -- cgit v1.2.3-54-g00ecf