1 /* === S I N F G =========================================================== */
2 /*! \file layer_bitmap.h
3 ** \brief Template Header
5 ** $Id: layer_bitmap.h,v 1.2 2005/01/24 03:08:18 darco Exp $
8 ** Copyright (c) 2002 Robert B. Quattlebaum Jr.
10 ** This software and associated documentation
11 ** are CONFIDENTIAL and PROPRIETARY property of
12 ** the above-mentioned copyright holder.
14 ** You may not copy, print, publish, or in any
15 ** other way distribute this software without
16 ** a prior written agreement with
17 ** the copyright holder.
20 /* ========================================================================= */
22 /* === S T A R T =========================================================== */
24 #ifndef __SINFG_LAYER_BITMAP_H
25 #define __SINFG_LAYER_BITMAP_H
27 /* === H E A D E R S ======================================================= */
29 #include "layer_composite.h"
32 /* === M A C R O S ========================================================= */
34 /* === T Y P E D E F S ===================================================== */
36 /* === C L A S S E S & S T R U C T S ======================================= */
40 /*! \class Layer_Bitmap
43 class Layer_Bitmap : public Layer_Composite, public Layer_NoDeform
45 const Color& filter(const Color& c)const;
47 typedef etl::handle<Layer_Bitmap> Handle;
52 mutable Surface surface;
58 virtual bool set_param(const String & param, ValueBase value);
60 virtual ValueBase get_param(const String & param)const;
62 virtual Color get_color(Context context, const Point &pos)const;
64 virtual Vocab get_param_vocab()const;
66 virtual Rect get_bounding_rect()const;
68 virtual bool accelerated_render(Context context,Surface *surface,int quality, const RendDesc &rend_desc, ProgressCallback *callback)const;
70 virtual sinfg::Layer::Handle hit_check(sinfg::Context context, const sinfg::Point &point)const;
71 }; // END of class Layer_Bitmap
73 }; // END of namespace sinfg
75 /* === E N D =============================================================== */