X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fguicast%2Fbcresources.h;h=978425aeb86a7635fc07af00392e752284e6ec0e;hb=a24acc0d8a58eb3f5c98b3633a0c83d8e66d36ac;hp=91199a490bb12a568a7a09142395abd5281f5f99;hpb=30bdb85eb33a8ee7ba675038a86c6be59c43d7bd;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/guicast/bcresources.h b/cinelerra-5.1/guicast/bcresources.h index 91199a49..978425ae 100644 --- a/cinelerra-5.1/guicast/bcresources.h +++ b/cinelerra-5.1/guicast/bcresources.h @@ -127,6 +127,8 @@ public: int popup_title_text; // Right and left margin for text not including triangle space. int popupmenu_margin; +// post popup on button release event + int popupmenu_btnup; // Right margin for triangle not including text margin. int popupmenu_triangle_margin; // color for item text @@ -151,6 +153,7 @@ public: int tooltip_delay; int tooltip_bg_color; int tooltips_enabled; + int textbox_focus_policy; int audiovideo_color; @@ -168,6 +171,7 @@ public: int text_border4; int text_highlight; int text_inactive_highlight; + int text_selected_highlight; // Not used int text_background_noborder; @@ -327,6 +331,7 @@ public: static const char *large_font_xft2; static const char *big_font_xft2; void init_font_defs(double scale); + void finit_font_defs(); VFrame **medium_7segment; @@ -356,6 +361,41 @@ public: static int find_font_by_char(FT_ULong char_code, char *path_new, const FT_Face oldface); static void dump_fonts(FILE *fp = stdout); + static void new_vframes(int n, VFrame *vframes[], ...); + static void del_vframes(VFrame *vframes[], int n); +// default images + static VFrame *default_type_to_icon[6]; + static VFrame *default_bar; + static VFrame *default_cancel_images[3]; + static VFrame *default_ok_images[3]; + static VFrame *default_usethis_images[3]; +#if 0 + static VFrame *default_checkbox_images[5]; + static VFrame *default_radial_images[5]; + static VFrame *default_label_images[5]; +#endif + static VFrame *default_menuitem_data[3]; + static VFrame *default_menubar_data[3]; + static VFrame *default_menu_popup_bg; + static VFrame *default_menu_bar_bg; + static VFrame *default_check_image; + static VFrame *default_filebox_text_images[3]; + static VFrame *default_filebox_icons_images[3]; + static VFrame *default_filebox_updir_images[3]; + static VFrame *default_filebox_newfolder_images[3]; + static VFrame *default_filebox_rename_images[3]; + static VFrame *default_filebox_delete_images[3]; + static VFrame *default_filebox_reload_images[3]; + static VFrame *default_listbox_button[4]; + static VFrame *default_listbox_bg; + static VFrame *default_listbox_expand[5]; + static VFrame *default_listbox_column[3]; + static VFrame *default_listbox_up; + static VFrame *default_listbox_dn; + static VFrame *default_pot_images[3]; + static VFrame *default_progress_images[2]; + static VFrame *default_medium_7segment[20]; + // Make VFrame use shm int vframe_shm; int use_vframe_shm() { return use_shm && vframe_shm ? 1 : 0; }