add zoom slider, fix stop_playback on quit, new msg.txt, rework filelist
[goodguy/history.git] / cinelerra-5.1 / plugins / theme_hulk / hulktheme.C
index 9626350c8c54debe306fe75bbb10c2f0a823d0ae..57ada334709ab0e6095128f7c67d0eeca38870d9 100644 (file)
@@ -5,7 +5,7 @@
  * Copyright (C) 2008 Adam Williams <broadcast at earthling dot net>
  * by Paolo Rampino <akir4d at gmail dot com>
  *
- * 
+ *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
@@ -338,6 +338,16 @@ void HULKTHEME::initialize()
                        "hslider_bg_up.png",
                        "hslider_bg_hi.png",
                        "hslider_bg_dn.png");
+       resources->vertical_slider_data = new_image_set(6,
+                       "hslider_fg_up.png",
+                       "hslider_fg_hi.png",
+                       "hslider_fg_dn.png",
+                       "hslider_bg_up.png",
+                       "hslider_bg_hi.png",
+                       "hslider_bg_dn.png");
+       for( int i=0; i<6; ++i )
+               resources->vertical_slider_data[i]->rotate90();
+
        resources->progress_images = new_image_set(2,
                        "progress_bg.png",
                        "progress_hi.png");
@@ -929,7 +939,7 @@ void HULKTHEME::draw_mwindow_bg(MWindowGUI *gui)
 
 // Zoombar
        gui->set_color(0x75b697);
-       gui->draw_box(mzoom_x, 
+       gui->draw_box(mzoom_x,
                mzoom_y,
                mwindow->session->mwindow_w,
                25);