X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.0%2Fcinelerra%2Fmbuttons.C;fp=cinelerra-5.0%2Fcinelerra%2Fmbuttons.C;h=ab9e27fe7893e29740ae9a4e08070ec7eb5bd65e;hb=ac6cc6b87e596ffb6cc0e3c5b965f99893e70acd;hp=fff91679888410a53ea1e2c548498bdb7b8d5f85;hpb=63c49c5fdda77aadc2d0addc26a6884aadec8542;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.0/cinelerra/mbuttons.C b/cinelerra-5.0/cinelerra/mbuttons.C index fff91679..ab9e27fe 100644 --- a/cinelerra-5.0/cinelerra/mbuttons.C +++ b/cinelerra-5.0/cinelerra/mbuttons.C @@ -170,23 +170,9 @@ MainEditing::MainEditing(MWindow *mwindow, MButtons *mbuttons, int x, int y) } -#include "data/ff_checked_png.h" -#include "data/ff_down_png.h" -#include "data/ff_checkedhi_png.h" -#include "data/ff_up_png.h" -#include "data/ff_hi_png.h" - -static VFrame *ff_images[] = { - new VFrame(ff_up_png), - new VFrame(ff_hi_png), - new VFrame(ff_checked_png), - new VFrame(ff_down_png), - new VFrame(ff_checkedhi_png) -}; - MainFFMpegToggle::MainFFMpegToggle(MWindow *mwindow, MButtons *mbuttons, int x, int y) - : BC_Toggle(x - ff_images[0]->get_w(), y, &ff_images[0], - mwindow->preferences->ffmpeg_early_probe) + : BC_Toggle(x - mwindow->theme->ffmpeg_toggle[0]->get_w(), y, + mwindow->theme->ffmpeg_toggle, mwindow->preferences->ffmpeg_early_probe) { this->mwindow = mwindow; this->mbuttons = mbuttons;