X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fguicast%2Fbctheme.C;h=a0c898c0cebaa1afabd1a79a5a95521e1b0d20b4;hb=2264753cd1968c95829dc01d3d9c394eacff34dc;hp=8268620fec8e6da95d73a2b6ac3a7891c8518428;hpb=30bdb85eb33a8ee7ba675038a86c6be59c43d7bd;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/guicast/bctheme.C b/cinelerra-5.1/guicast/bctheme.C index 8268620f..a0c898c0 100644 --- a/cinelerra-5.1/guicast/bctheme.C +++ b/cinelerra-5.1/guicast/bctheme.C @@ -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,