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