]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/image.cpp
Add a signal to notify when the automatic size of a widget changes
[libs/gltk.git] / source / image.cpp
index eb3bd6ef4da556337e712c14b81fa4fa656b6559..3c0cfa53465a6f1befc6044c07a98652ed8a15bf 100644 (file)
@@ -50,6 +50,7 @@ void Image::autosize()
 void Image::set_image(const GL::Texture2D *i)
 {
        image = i;
+       signal_autosize_changed.emit();
 }
 
 void Image::set_keep_aspect(bool ka)