};
private:
- const GL::Texture2D *image;
+ const GL::Texture2D *image = nullptr;
std::string icon_name;
- bool keep_aspect;
+ bool keep_aspect = true;
public:
- Image(const GL::Texture2D * = 0);
+ Image(const GL::Texture2D * = nullptr);
virtual const char *get_class() const { return "image"; }