add resource wdw folder expanders, fix plugin close deadlock detect
[goodguy/history.git] / cinelerra-5.1 / guicast / bcresources.C
index 955aa5f5281a05b7ec2912c759253f78a3a53748..5746e6c20ff895fad571e8fc994a408e4bd5ff21 100644 (file)
@@ -358,6 +358,8 @@ VFrame *BC_Resources::default_listbox_dn = 0;
 VFrame *BC_Resources::default_pot_images[3] = { 0, };
 VFrame *BC_Resources::default_progress_images[2] = { 0, };
 VFrame *BC_Resources::default_medium_7segment[20] = { 0, };
+VFrame *BC_Resources::default_vscroll_data[10] = { 0, };
+VFrame *BC_Resources::default_hscroll_data[10] = { 0, };
 
 BC_Resources::BC_Resources()
 {
@@ -666,6 +668,50 @@ new_vframes(20,default_medium_7segment,
        new VFramePng(space_png),
        new VFramePng(dash_png));
 
+#include "images/hscroll_handle_up_png.h"
+#include "images/hscroll_handle_hi_png.h"
+#include "images/hscroll_handle_dn_png.h"
+#include "images/hscroll_handle_bg_png.h"
+#include "images/hscroll_left_up_png.h"
+#include "images/hscroll_left_hi_png.h"
+#include "images/hscroll_left_dn_png.h"
+#include "images/hscroll_right_up_png.h"
+#include "images/hscroll_right_hi_png.h"
+#include "images/hscroll_right_dn_png.h"
+new_vframes(10,default_hscroll_data,
+       new VFramePng(hscroll_handle_up_png),
+       new VFramePng(hscroll_handle_hi_png),
+       new VFramePng(hscroll_handle_dn_png),
+       new VFramePng(hscroll_handle_bg_png),
+       new VFramePng(hscroll_left_up_png),
+       new VFramePng(hscroll_left_hi_png),
+       new VFramePng(hscroll_left_dn_png),
+       new VFramePng(hscroll_right_up_png),
+       new VFramePng(hscroll_right_hi_png),
+       new VFramePng(hscroll_right_dn_png));
+
+#include "images/vscroll_handle_up_png.h"
+#include "images/vscroll_handle_hi_png.h"
+#include "images/vscroll_handle_dn_png.h"
+#include "images/vscroll_handle_bg_png.h"
+#include "images/vscroll_left_up_png.h"
+#include "images/vscroll_left_hi_png.h"
+#include "images/vscroll_left_dn_png.h"
+#include "images/vscroll_right_up_png.h"
+#include "images/vscroll_right_hi_png.h"
+#include "images/vscroll_right_dn_png.h"
+new_vframes(10,default_vscroll_data,
+       new VFramePng(vscroll_handle_up_png),
+       new VFramePng(vscroll_handle_hi_png),
+       new VFramePng(vscroll_handle_dn_png),
+       new VFramePng(vscroll_handle_bg_png),
+       new VFramePng(vscroll_left_up_png),
+       new VFramePng(vscroll_left_hi_png),
+       new VFramePng(vscroll_left_dn_png),
+       new VFramePng(vscroll_right_up_png),
+       new VFramePng(vscroll_right_hi_png),
+       new VFramePng(vscroll_right_dn_png));
+
        type_to_icon = default_type_to_icon;
        bar_data = default_bar;
        check = default_check_image;
@@ -675,6 +721,9 @@ new_vframes(20,default_medium_7segment,
        listbox_column = default_listbox_column;
        listbox_up = default_listbox_up;
        listbox_dn = default_listbox_dn;
+       hscroll_data = default_hscroll_data;
+       vscroll_data = default_vscroll_data;
+
        listbox_title_overlap = 0;
        listbox_title_margin = 0;
        listbox_title_color = BLACK;