X-Git-Url: http://git.cinelerra-gg.org/git/?p=goodguy%2Fhistory.git;a=blobdiff_plain;f=cinelerra-5.1%2Fguicast%2Fbcresources.C;h=5746e6c20ff895fad571e8fc994a408e4bd5ff21;hp=43343ca27a6fd81551e8cc0b3765269cb8bde4d5;hb=ae44cc4a24c9e04ee5e3b38baf6ce529832cfb39;hpb=6853a2c0b04cc5ff4e87a2022c914227f925cb7f diff --git a/cinelerra-5.1/guicast/bcresources.C b/cinelerra-5.1/guicast/bcresources.C index 43343ca2..5746e6c2 100644 --- a/cinelerra-5.1/guicast/bcresources.C +++ b/cinelerra-5.1/guicast/bcresources.C @@ -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() { @@ -383,6 +385,7 @@ BC_Resources::BC_Resources() filebox_history[i].path[0] = 0; #ifdef HAVE_XFT + xftInit(0); xftInitFtLibrary(); #endif @@ -665,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; @@ -674,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;