X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.0%2Fcinelerra%2Fshbtnprefs.C;h=737c84c8bb659831bc64cbe878599ec939fbcf9c;hb=c0b71a7151437c681fe832d1e446924a49ab29aa;hp=7c6a5f4120ed63bccc93e3177ce3f823c052fc9e;hpb=91efd376233a15f6572e6f68d28a5bee69797e87;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.0/cinelerra/shbtnprefs.C b/cinelerra-5.0/cinelerra/shbtnprefs.C index 7c6a5f41..737c84c8 100644 --- a/cinelerra-5.0/cinelerra/shbtnprefs.C +++ b/cinelerra-5.0/cinelerra/shbtnprefs.C @@ -3,9 +3,11 @@ #include "bcdialog.h" #include "language.h" #include "mainerror.h" +#include "mwindow.h" #include "shbtnprefs.h" #include "preferences.h" #include "preferencesthread.h" +#include "theme.h" #include @@ -327,18 +329,8 @@ int MainShBtnItem::handle_event() return 1; } -#include "data/shbtn_up_png.h" -#include "data/shbtn_hi_png.h" -#include "data/shbtn_dn_png.h" - -static VFrame *shbtn_images[] = { - new VFrame(shbtn_up_png), - new VFrame(shbtn_hi_png), - new VFrame(shbtn_dn_png), -}; - MainShBtns::MainShBtns(MWindow *mwindow, int x, int y) - : BC_PopupMenu(x, y, 0, "", -1, shbtn_images) + : BC_PopupMenu(x, y, 0, "", -1, mwindow->theme->shbtn_data) { this->mwindow = mwindow; set_tooltip(_("shell cmds"));