Mercurial > otakunoraifu
diff window/render.cc @ 56:c7bcc0ec2267
* replaced Grp and Text classes by the TextImpl and GrpImpl ones
* splitted scn2k.h into smaller header files
* moved some definitions from scn2k_*.cc to the header files
* moved opcode implementation to scn2k_*impl.cc
author | thib |
---|---|
date | Thu, 30 Apr 2009 19:05:09 +0000 |
parents | 15a18fbe6f21 |
children | e16e13d8cd68 |
line wrap: on
line diff
--- a/window/render.cc +++ b/window/render.cc @@ -27,20 +27,12 @@ #include "font/font.h" #include "font/text.h" +#include "SDL.h" +#include "render.h" #include "rect.h" -#include "SDL.h" #include "surface.h" #include <stdio.h> -Rect DSurfaceRenderText(TextGlyphStream::iterator start, TextGlyphStream::iterator end, const Rect& srcrect, - Surface* dst, const Rect& dstrect); // 文字描画 -void DSurfaceFill(Surface* src, const Rect& rect, int r, int g, int b, int a); // クリア -void DSurfaceFillA(Surface* src, const Rect& rect, int r, int g, int b, int a); // テキストウィンドウ背景の設定 -void DSurfaceMove(Surface* src_o, const Rect& srcrect, Surface* dst_o, const Rect& dstrect); // コピー -void DSurfaceBlitAlpha(Surface* src_o, const Rect& srcrect_o, Surface* dst_o, const Rect& dstrect_o, const unsigned char* alpha, const Rect& alpharect); -void DSurfaceBlitSaturate(Surface* src_o, const Rect& srcrect, Surface* dst_o, const Rect& dstrect, unsigned char alpha); -void DSurfaceBlitMultiply(Surface* src_o, const Rect& srcrect_o, Surface* dst_o, const Rect& dstrect_o); - #ifndef ALPHA_MAX #define ALPHA_MAX 255 #endif