1 /* 2 * Copyright 2009, Haiku Inc. All rights reserved. 3 * Distributed under the terms of the MIT License. 4 * 5 * Authors: 6 * Alexandre Deckner <alex@zappotek.com> 7 */ 8 #ifndef _BITMAP_TEXTURE_H 9 #define _BITMAP_TEXTURE_H 10 11 #include "Texture.h" 12 13 class BBitmap; 14 15 class BitmapTexture : public Texture { 16 public: 17 BitmapTexture(BBitmap* bitmap); 18 virtual ~BitmapTexture(); 19 20 protected: 21 void _Load(BBitmap* bitmap); 22 }; 23 24 #endif /* _BITMAP_TEXTURE_H */ 25