X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fimage.cpp;fp=source%2Fimage.cpp;h=11003f4d1af56acbfb6b7367ec680f6e86bb1533;hb=91997dd3189b93a67179822ec2fed5f2a7bddb74;hp=f7f61bbb9a73e2b4b84d48228bd4e2f3217d5782;hpb=deb15ee122f963ca41121e8358d5845401ac43ca;p=libs%2Fgltk.git diff --git a/source/image.cpp b/source/image.cpp index f7f61bb..11003f4 100644 --- a/source/image.cpp +++ b/source/image.cpp @@ -16,13 +16,11 @@ using namespace std; namespace Msp { namespace GLtk { -Image::Image(const Resources &r, const GL::Texture2D *i): - Widget(r), +Image::Image(const GL::Texture2D *i): image(i), keep_aspect(true) { focusable = false; - update_style(); } void Image::set_image(const GL::Texture2D *i)