interp bilinear fix
[goodguy/history.git] / cinelerra-5.1 / guicast / bctheme.C
index 8268620fec8e6da95d73a2b6ac3a7891c8518428..a0c898c0cebaa1afabd1a79a5a95521e1b0d20b4 100644 (file)
@@ -41,6 +41,7 @@ BC_Theme::BC_Theme()
 BC_Theme::~BC_Theme()
 {
        image_sets.remove_all_objects();
+       contents.remove_all();
 }
 
 void BC_Theme::dump()
@@ -214,9 +215,9 @@ VFrame** BC_Theme::get_image_set(const char *title, int use_default)
 
 
 
-VFrame** BC_Theme::new_button(const char *overlay_path, 
-       const char *up_path, 
-       const char *hi_path, 
+VFrame** BC_Theme::new_button(const char *overlay_path,
+       const char *up_path,
+       const char *hi_path,
        const char *dn_path,
        const char *title)
 {
@@ -235,9 +236,9 @@ VFrame** BC_Theme::new_button(const char *overlay_path,
 }
 
 
-VFrame** BC_Theme::new_button4(const char *overlay_path, 
-       const char *up_path, 
-       const char *hi_path, 
+VFrame** BC_Theme::new_button4(const char *overlay_path,
+       const char *up_path,
+       const char *hi_path,
        const char *dn_path,
        const char *disabled_path,
        const char *title)
@@ -258,7 +259,7 @@ VFrame** BC_Theme::new_button4(const char *overlay_path,
 }
 
 
-VFrame** BC_Theme::new_button(const char *overlay_path, 
+VFrame** BC_Theme::new_button(const char *overlay_path,
        VFrame *up,
        VFrame *hi,
        VFrame *dn,
@@ -277,7 +278,7 @@ VFrame** BC_Theme::new_button(const char *overlay_path,
 }
 
 
-VFrame** BC_Theme::new_toggle(const char *overlay_path, 
+VFrame** BC_Theme::new_toggle(const char *overlay_path,
        const char *up_path,
        const char *hi_path,
        const char *checked_path,
@@ -299,7 +300,7 @@ VFrame** BC_Theme::new_toggle(const char *overlay_path,
        return result->data;
 }
 
-VFrame** BC_Theme::new_toggle(const char *overlay_path, 
+VFrame** BC_Theme::new_toggle(const char *overlay_path,
        VFrame *up,
        VFrame *hi,
        VFrame *checked,