Style image implementation.
You can find more information in comments below. Overrided methods can be found in corresponding base interface.
class CStyleImage :public virtual IStyleImage
{
protected:
Bitmap m_sImageData;
public:
String getName() override;
const Bitmap &getImage() override;
CStyleImage(const String &name, const Bitmap &data); // Create with image copied from "data"
CStyleImage(const String &name, const int width, const int height, const Color *data); // Create with image stored in "data"
virtual ~CStyleImage() = default;
};
Namespace: | nitisa |
Include: | Nitisa/Core/Styles.h |