rework histogram_bezier, init wm icon set_icon(gg), update de.po+msg/txt
[goodguy/history.git] / cinelerra-5.1 / guicast / bcresources.C
index 955aa5f5281a05b7ec2912c759253f78a3a53748..43a713e7a47ac80d49929fdebdca4bb09e83f8db 100644 (file)
@@ -358,6 +358,9 @@ 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, };
+VFrame *BC_Resources::default_icon_img = 0;
 
 BC_Resources::BC_Resources()
 {
@@ -666,6 +669,53 @@ 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));
+
+#include "images/default_icon_png.h"
+       default_icon_img = new VFramePng(default_icon_png);
+
        type_to_icon = default_type_to_icon;
        bar_data = default_bar;
        check = default_check_image;
@@ -675,6 +725,10 @@ 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;
+       default_icon = default_icon_img;
+
        listbox_title_overlap = 0;
        listbox_title_margin = 0;
        listbox_title_color = BLACK;
@@ -905,6 +959,7 @@ BC_Resources::~BC_Resources()
                fontlist->remove_all_objects();
                delete fontlist;
        }
+       delete default_icon_img;
        finit_font_defs();
 }