30 lines
571 B
C++
30 lines
571 B
C++
/* -----------------------------------------------------------------------------
|
|
GSFramework
|
|
Copyright 2001-2013 Emmanuel Julien. All Rights Reserved.
|
|
----------------------------------------------------------------------------- */
|
|
|
|
|
|
#ifndef __NUI_WIDGET_BITMAP__
|
|
#define __NUI_WIDGET_BITMAP__
|
|
|
|
|
|
#include "ui/widget_drawable.h"
|
|
|
|
|
|
namespace GS {
|
|
namespace S2D {
|
|
|
|
/// Bitmap widget.
|
|
struct BitmapWidget : public DrawableWidget
|
|
{
|
|
void SetPicture(Picture *);
|
|
|
|
BitmapWidget(int id = -1, Picture *bitmap = 0);
|
|
};
|
|
|
|
} // S2D
|
|
} // GS
|
|
|
|
|
|
#endif // __NUI_WIDGET_BITMAP__
|