-rw-r--r-- | library/inlinepics_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/inlinepics_p.h b/library/inlinepics_p.h index daa7413..c796326 100644 --- a/library/inlinepics_p.h +++ b/library/inlinepics_p.h | |||
@@ -3620,121 +3620,121 @@ static struct EmbedImage { | |||
3620 | { 14, 14, 32, (const unsigned char*)UtilsIcon_data, 0, 0, TRUE, "UtilsIcon" }, | 3620 | { 14, 14, 32, (const unsigned char*)UtilsIcon_data, 0, 0, TRUE, "UtilsIcon" }, |
3621 | { 14, 14, 32, (const unsigned char*)accessories_data, 0, 0, TRUE, "accessories" }, | 3621 | { 14, 14, 32, (const unsigned char*)accessories_data, 0, 0, TRUE, "accessories" }, |
3622 | { 16, 16, 32, (const unsigned char*)appearance_data, 0, 0, TRUE, "appearance" }, | 3622 | { 16, 16, 32, (const unsigned char*)appearance_data, 0, 0, TRUE, "appearance" }, |
3623 | { 14, 14, 32, (const unsigned char*)back_data, 0, 0, TRUE, "back" }, | 3623 | { 14, 14, 32, (const unsigned char*)back_data, 0, 0, TRUE, "back" }, |
3624 | { 14, 14, 32, (const unsigned char*)back_inactive_data, 0, 0, TRUE, "back_inactive" }, | 3624 | { 14, 14, 32, (const unsigned char*)back_inactive_data, 0, 0, TRUE, "back_inactive" }, |
3625 | { 14, 14, 32, (const unsigned char*)beam_data, 0, 0, TRUE, "beam" }, | 3625 | { 14, 14, 32, (const unsigned char*)beam_data, 0, 0, TRUE, "beam" }, |
3626 | { 14, 14, 32, (const unsigned char*)bell_data, 0, 0, TRUE, "bell" }, | 3626 | { 14, 14, 32, (const unsigned char*)bell_data, 0, 0, TRUE, "bell" }, |
3627 | { 14, 14, 32, (const unsigned char*)binary_data, 0, 0, TRUE, "binary" }, | 3627 | { 14, 14, 32, (const unsigned char*)binary_data, 0, 0, TRUE, "binary" }, |
3628 | { 16, 16, 32, (const unsigned char*)bold_data, 0, 0, TRUE, "bold" }, | 3628 | { 16, 16, 32, (const unsigned char*)bold_data, 0, 0, TRUE, "bold" }, |
3629 | { 16, 16, 8, (const unsigned char*)c_src_data, 41, c_src_ctable, TRUE, "c_src" }, | 3629 | { 16, 16, 8, (const unsigned char*)c_src_data, 41, c_src_ctable, TRUE, "c_src" }, |
3630 | { 14, 14, 32, (const unsigned char*)calculator_data, 0, 0, TRUE, "calculator" }, | 3630 | { 14, 14, 32, (const unsigned char*)calculator_data, 0, 0, TRUE, "calculator" }, |
3631 | { 16, 16, 32, (const unsigned char*)center_data, 0, 0, TRUE, "center" }, | 3631 | { 16, 16, 32, (const unsigned char*)center_data, 0, 0, TRUE, "center" }, |
3632 | { 16, 16, 8, (const unsigned char*)citytime_icon_data, 14, citytime_icon_ctable, TRUE, "citytime_icon" }, | 3632 | { 16, 16, 8, (const unsigned char*)citytime_icon_data, 14, citytime_icon_ctable, TRUE, "citytime_icon" }, |
3633 | { 14, 14, 32, (const unsigned char*)close_data, 0, 0, TRUE, "close" }, | 3633 | { 14, 14, 32, (const unsigned char*)close_data, 0, 0, TRUE, "close" }, |
3634 | { 14, 14, 32, (const unsigned char*)copy_data, 0, 0, TRUE, "copy" }, | 3634 | { 14, 14, 32, (const unsigned char*)copy_data, 0, 0, TRUE, "copy" }, |
3635 | { 14, 14, 32, (const unsigned char*)copy_inactive_data, 0, 0, TRUE, "copy_inactive" }, | 3635 | { 14, 14, 32, (const unsigned char*)copy_inactive_data, 0, 0, TRUE, "copy_inactive" }, |
3636 | { 14, 14, 32, (const unsigned char*)cut_data, 0, 0, TRUE, "cut" }, | 3636 | { 14, 14, 32, (const unsigned char*)cut_data, 0, 0, TRUE, "cut" }, |
3637 | { 14, 14, 32, (const unsigned char*)cut_inactive_data, 0, 0, TRUE, "cut_inactive" }, | 3637 | { 14, 14, 32, (const unsigned char*)cut_inactive_data, 0, 0, TRUE, "cut_inactive" }, |
3638 | { 14, 14, 32, (const unsigned char*)datebook_icon_data, 0, 0, TRUE, "datebook_icon" }, | 3638 | { 14, 14, 32, (const unsigned char*)datebook_icon_data, 0, 0, TRUE, "datebook_icon" }, |
3639 | { 14, 14, 32, (const unsigned char*)day_data, 0, 0, TRUE, "day" }, | 3639 | { 14, 14, 32, (const unsigned char*)day_data, 0, 0, TRUE, "day" }, |
3640 | { 14, 14, 32, (const unsigned char*)done_data, 0, 0, TRUE, "done" }, | 3640 | { 14, 14, 32, (const unsigned char*)done_data, 0, 0, TRUE, "done" }, |
3641 | { 14, 14, 32, (const unsigned char*)down_data, 0, 0, TRUE, "down" }, | 3641 | { 14, 14, 32, (const unsigned char*)down_data, 0, 0, TRUE, "down" }, |
3642 | { 14, 14, 32, (const unsigned char*)edit_data, 0, 0, TRUE, "edit" }, | 3642 | { 14, 14, 32, (const unsigned char*)edit_data, 0, 0, TRUE, "edit" }, |
3643 | { 14, 14, 32, (const unsigned char*)editdelete_data, 0, 0, TRUE, "editdelete" }, | 3643 | { 14, 14, 32, (const unsigned char*)editdelete_data, 0, 0, TRUE, "editdelete" }, |
3644 | { 14, 14, 32, (const unsigned char*)enter_data, 0, 0, TRUE, "enter" }, | 3644 | { 14, 14, 32, (const unsigned char*)enter_data, 0, 0, TRUE, "enter" }, |
3645 | { 16, 16, 8, (const unsigned char*)exec_data, 11, exec_ctable, TRUE, "exec" }, | 3645 | { 16, 16, 8, (const unsigned char*)exec_data, 11, exec_ctable, TRUE, "exec" }, |
3646 | { 14, 14, 32, (const unsigned char*)fastback_data, 0, 0, TRUE, "fastback" }, | 3646 | { 14, 14, 32, (const unsigned char*)fastback_data, 0, 0, TRUE, "fastback" }, |
3647 | { 14, 14, 32, (const unsigned char*)fastforward_data, 0, 0, TRUE, "fastforward" }, | 3647 | { 14, 14, 32, (const unsigned char*)fastforward_data, 0, 0, TRUE, "fastforward" }, |
3648 | { 14, 14, 32, (const unsigned char*)fileopen_data, 0, 0, TRUE, "fileopen" }, | 3648 | { 14, 14, 32, (const unsigned char*)fileopen_data, 0, 0, TRUE, "fileopen" }, |
3649 | { 14, 14, 32, (const unsigned char*)find_data, 0, 0, TRUE, "find" }, | 3649 | { 14, 14, 32, (const unsigned char*)find_data, 0, 0, TRUE, "find" }, |
3650 | { 14, 14, 32, (const unsigned char*)finish_data, 0, 0, TRUE, "finish" }, | 3650 | { 14, 14, 32, (const unsigned char*)finish_data, 0, 0, TRUE, "finish" }, |
3651 | { 14, 14, 32, (const unsigned char*)folder_data, 0, 0, TRUE, "folder" }, | 3651 | { 14, 14, 32, (const unsigned char*)folder_data, 0, 0, TRUE, "folder" }, |
3652 | { 16, 16, 8, (const unsigned char*)folder_open_data, 11, folder_open_ctable, TRUE, "folder_open" }, | 3652 | { 16, 16, 8, (const unsigned char*)folder_open_data, 11, folder_open_ctable, TRUE, "folder_open" }, |
3653 | { 14, 14, 32, (const unsigned char*)forward_data, 0, 0, TRUE, "forward" }, | 3653 | { 14, 14, 32, (const unsigned char*)forward_data, 0, 0, TRUE, "forward" }, |
3654 | { 14, 14, 32, (const unsigned char*)forward_inactive_data, 0, 0, TRUE, "forward_inactive" }, | 3654 | { 14, 14, 32, (const unsigned char*)forward_inactive_data, 0, 0, TRUE, "forward_inactive" }, |
3655 | { 14, 14, 32, (const unsigned char*)fullscreen_data, 0, 0, TRUE, "fullscreen" }, | 3655 | { 14, 14, 32, (const unsigned char*)fullscreen_data, 0, 0, TRUE, "fullscreen" }, |
3656 | { 19, 19, 32, (const unsigned char*)go_data, 0, 0, FALSE, "go" }, | 3656 | { 19, 19, 32, (const unsigned char*)go_data, 0, 0, FALSE, "go" }, |
3657 | { 16, 16, 8, (const unsigned char*)h_src_data, 41, h_src_ctable, TRUE, "h_src" }, | 3657 | { 16, 16, 8, (const unsigned char*)h_src_data, 41, h_src_ctable, TRUE, "h_src" }, |
3658 | { 14, 14, 32, (const unsigned char*)help_icon_data, 0, 0, TRUE, "help_icon" }, | 3658 | { 14, 14, 32, (const unsigned char*)help_icon_data, 0, 0, TRUE, "help_icon" }, |
3659 | { 14, 14, 32, (const unsigned char*)home_data, 0, 0, TRUE, "home" }, | 3659 | { 14, 14, 32, (const unsigned char*)home_data, 0, 0, TRUE, "home" }, |
3660 | { 14, 14, 8, (const unsigned char*)install_data, 10, install_ctable, TRUE, "install" }, | 3660 | { 14, 14, 8, (const unsigned char*)install_data, 10, install_ctable, TRUE, "install" }, |
3661 | { 14, 14, 32, (const unsigned char*)installed_data, 0, 0, TRUE, "installed" }, | 3661 | { 14, 14, 32, (const unsigned char*)installed_data, 0, 0, TRUE, "installed" }, |
3662 | { 16, 16, 32, (const unsigned char*)italic_data, 0, 0, TRUE, "italic" }, | 3662 | { 16, 16, 32, (const unsigned char*)italic_data, 0, 0, TRUE, "italic" }, |
3663 | { 16, 16, 8, (const unsigned char*)konsole_data, 5, konsole_ctable, TRUE, "konsole" }, | 3663 | { 16, 16, 8, (const unsigned char*)konsole_data, 5, konsole_ctable, TRUE, "konsole" }, |
3664 | { 16, 16, 32, (const unsigned char*)language_data, 0, 0, TRUE, "language" }, | 3664 | { 16, 16, 32, (const unsigned char*)language_data, 0, 0, TRUE, "language" }, |
3665 | { 32, 32, 32, (const unsigned char*)launching_data, 0, 0, TRUE, "launching" }, | 3665 | { 32, 32, 32, (const unsigned char*)launching_data, 0, 0, TRUE, "launching" }, |
3666 | { 16, 16, 32, (const unsigned char*)left_data, 0, 0, TRUE, "left" }, | 3666 | { 16, 16, 32, (const unsigned char*)left_data, 0, 0, TRUE, "left" }, |
3667 | { 14, 14, 32, (const unsigned char*)library_data, 0, 0, TRUE, "library" }, | 3667 | { 14, 14, 32, (const unsigned char*)library_data, 0, 0, TRUE, "library" }, |
3668 | { 16, 16, 8, (const unsigned char*)locked_data, 8, locked_ctable, TRUE, "locked" }, | 3668 | { 16, 16, 8, (const unsigned char*)locked_data, 8, locked_ctable, TRUE, "locked" }, |
3669 | { 16, 16, 8, (const unsigned char*)lockedfolder_data, 10, lockedfolder_ctable, TRUE, "lockedfolder" }, | 3669 | { 16, 16, 8, (const unsigned char*)lockedfolder_data, 10, lockedfolder_ctable, TRUE, "lockedfolder" }, |
3670 | { 10, 10, 32, (const unsigned char*)mag_data, 0, 0, TRUE, "mag" }, | 3670 | { 10, 10, 32, (const unsigned char*)mag_data, 0, 0, TRUE, "mag" }, |
3671 | { 14, 14, 32, (const unsigned char*)month_data, 0, 0, TRUE, "month" }, | 3671 | { 14, 14, 32, (const unsigned char*)month_data, 0, 0, TRUE, "month" }, |
3672 | { 14, 14, 32, (const unsigned char*)mute_data, 0, 0, TRUE, "mute" }, | 3672 | { 14, 14, 32, (const unsigned char*)mute_data, 0, 0, TRUE, "mute" }, |
3673 | { 14, 14, 32, (const unsigned char*)new_data, 0, 0, TRUE, "new" }, | 3673 | { 14, 14, 32, (const unsigned char*)new_data, 0, 0, TRUE, "new" }, |
3674 | { 14, 14, 32, (const unsigned char*)newfolder_data, 0, 0, TRUE, "newfolder" }, | 3674 | { 14, 14, 32, (const unsigned char*)newfolder_data, 0, 0, TRUE, "newfolder" }, |
3675 | { 14, 14, 32, (const unsigned char*)next_data, 0, 0, TRUE, "next" }, | 3675 | { 14, 14, 32, (const unsigned char*)next_data, 0, 0, TRUE, "next" }, |
3676 | { 13, 11, 8, (const unsigned char*)oneoverx_data, 2, oneoverx_ctable, TRUE, "oneoverx" }, | 3676 | { 13, 11, 8, (const unsigned char*)oneoverx_data, 2, oneoverx_ctable, TRUE, "oneoverx" }, |
3677 | { 16, 14, 8, (const unsigned char*)pass_data, 3, pass_ctable, TRUE, "pass" }, | 3677 | { 16, 14, 8, (const unsigned char*)pass_data, 3, pass_ctable, TRUE, "pass" }, |
3678 | { 14, 14, 32, (const unsigned char*)paste_data, 0, 0, TRUE, "paste" }, | 3678 | { 14, 14, 32, (const unsigned char*)paste_data, 0, 0, TRUE, "paste" }, |
3679 | { 14, 14, 32, (const unsigned char*)paste_inactive_data, 0, 0, TRUE, "paste_inactive" }, | 3679 | { 14, 14, 32, (const unsigned char*)paste_inactive_data, 0, 0, TRUE, "paste_inactive" }, |
3680 | { 16, 16, 8, (const unsigned char*)pixmap_data, 20, pixmap_ctable, TRUE, "pixmap" }, | 3680 | { 16, 16, 8, (const unsigned char*)pixmap_data, 20, pixmap_ctable, TRUE, "pixmap" }, |
3681 | { 14, 14, 32, (const unsigned char*)play_data, 0, 0, TRUE, "play" }, | 3681 | { 14, 14, 32, (const unsigned char*)play_data, 0, 0, TRUE, "play" }, |
3682 | { 14, 14, 32, (const unsigned char*)play2_data, 0, 0, TRUE, "play2" }, | 3682 | { 14, 14, 32, (const unsigned char*)play2_data, 0, 0, TRUE, "play2" }, |
3683 | { 14, 14, 32, (const unsigned char*)programs_data, 0, 0, TRUE, "programs" }, | 3683 | { 14, 14, 32, (const unsigned char*)programs_data, 0, 0, TRUE, "programs" }, |
3684 | { 14, 14, 32, (const unsigned char*)quit_icon_data, 0, 0, TRUE, "quit_icon" }, | 3684 | { 14, 14, 32, (const unsigned char*)quit_icon_data, 0, 0, TRUE, "quit_icon" }, |
3685 | { 15, 15, 32, (const unsigned char*)repeat_data, 0, 0, TRUE, "repeat" }, | 3685 | { 15, 15, 32, (const unsigned char*)repeat_data, 0, 0, TRUE, "repeat" }, |
3686 | { 14, 14, 8, (const unsigned char*)reset_data, 3, reset_ctable, TRUE, "reset" }, | 3686 | { 14, 14, 8, (const unsigned char*)reset_data, 3, reset_ctable, TRUE, "reset" }, |
3687 | { 16, 16, 32, (const unsigned char*)right_data, 0, 0, TRUE, "right" }, | 3687 | { 16, 16, 32, (const unsigned char*)right_data, 0, 0, TRUE, "right" }, |
3688 | { 14, 14, 32, (const unsigned char*)rotate_data, 0, 0, TRUE, "rotate" }, | 3688 | { 14, 14, 32, (const unsigned char*)rotate_data, 0, 0, TRUE, "rotate" }, |
3689 | { 14, 14, 32, (const unsigned char*)start_data, 0, 0, TRUE, "start" }, | 3689 | { 14, 14, 32, (const unsigned char*)start_data, 0, 0, TRUE, "start" }, |
3690 | { 14, 14, 32, (const unsigned char*)stop_data, 0, 0, TRUE, "stop" }, | 3690 | { 14, 14, 32, (const unsigned char*)stop_data, 0, 0, TRUE, "stop" }, |
3691 | { 16, 16, 32, (const unsigned char*)style_data, 0, 0, TRUE, "style" }, | 3691 | { 16, 16, 32, (const unsigned char*)style_data, 0, 0, TRUE, "style" }, |
3692 | { 16, 16, 32, (const unsigned char*)table_pattern_data, 0, 0, TRUE, "table_pattern" }, | 3692 | { 16, 16, 32, (const unsigned char*)table_pattern_data, 0, 0, TRUE, "table_pattern" }, |
3693 | { 16, 16, 8, (const unsigned char*)tgz_data, 7, tgz_ctable, TRUE, "tgz" }, | 3693 | { 16, 16, 8, (const unsigned char*)tgz_data, 7, tgz_ctable, TRUE, "tgz" }, |
3694 | { 14, 14, 32, (const unsigned char*)toys_data, 0, 0, TRUE, "toys" }, | 3694 | { 14, 14, 32, (const unsigned char*)toys_data, 0, 0, TRUE, "toys" }, |
3695 | { 16, 16, 8, (const unsigned char*)trash_data, 10, trash_ctable, TRUE, "trash" }, | 3695 | { 16, 16, 8, (const unsigned char*)trash_data, 10, trash_ctable, TRUE, "trash" }, |
3696 | { 16, 16, 8, (const unsigned char*)txt_data, 41, txt_ctable, TRUE, "txt" }, | 3696 | { 16, 16, 8, (const unsigned char*)txt_data, 41, txt_ctable, TRUE, "txt" }, |
3697 | { 16, 16, 32, (const unsigned char*)underline_data, 0, 0, TRUE, "underline" }, | 3697 | { 16, 16, 32, (const unsigned char*)underline_data, 0, 0, TRUE, "underline" }, |
3698 | { 14, 14, 32, (const unsigned char*)uninstall_data, 0, 0, TRUE, "uninstall" }, | 3698 | { 14, 14, 32, (const unsigned char*)uninstall_data, 0, 0, TRUE, "uninstall" }, |
3699 | { 14, 14, 8, (const unsigned char*)uninstalled_data, 6, uninstalled_ctable, TRUE, "uninstalled" }, | 3699 | { 14, 14, 8, (const unsigned char*)uninstalled_data, 6, uninstalled_ctable, TRUE, "uninstalled" }, |
3700 | { 14, 14, 32, (const unsigned char*)up_data, 0, 0, TRUE, "up" }, | 3700 | { 14, 14, 32, (const unsigned char*)up_data, 0, 0, TRUE, "up" }, |
3701 | { 14, 14, 32, (const unsigned char*)volume_data, 0, 0, TRUE, "volume" }, | 3701 | { 14, 14, 32, (const unsigned char*)volume_data, 0, 0, TRUE, "volume" }, |
3702 | { 14, 14, 32, (const unsigned char*)wait_data, 0, 0, TRUE, "wait" }, | 3702 | { 14, 14, 32, (const unsigned char*)wait_data, 0, 0, TRUE, "wait" }, |
3703 | { 14, 14, 32, (const unsigned char*)week_data, 0, 0, TRUE, "week" }, | 3703 | { 14, 14, 32, (const unsigned char*)week_data, 0, 0, TRUE, "week" }, |
3704 | { 14, 14, 32, (const unsigned char*)wordgame_data, 0, 0, TRUE, "wordgame" }, | 3704 | { 14, 14, 32, (const unsigned char*)wordgame_data, 0, 0, TRUE, "wordgame" }, |
3705 | { 9, 8, 8, (const unsigned char*)xtopowerofy_data, 2, xtopowerofy_ctable, TRUE, "xtopowerofy" }, | 3705 | { 9, 8, 8, (const unsigned char*)xtopowerofy_data, 2, xtopowerofy_ctable, TRUE, "xtopowerofy" }, |
3706 | { 13, 11, 8, (const unsigned char*)ythrootofx_data, 2, ythrootofx_ctable, TRUE, "ythrootofx" }, | 3706 | { 13, 11, 8, (const unsigned char*)ythrootofx_data, 2, ythrootofx_ctable, TRUE, "ythrootofx" }, |
3707 | { 20, 20, 8, (const unsigned char*)zoom_data, 7, zoom_ctable, TRUE, "zoom" }, | 3707 | { 20, 20, 8, (const unsigned char*)zoom_data, 7, zoom_ctable, TRUE, "zoom" }, |
3708 | }; | 3708 | }; |
3709 | 3709 | ||
3710 | static int cmpEmbedImage(const void *a, const void *b) | 3710 | static int cmpEmbedImage(const void *a, const void *b) |
3711 | { | 3711 | { |
3712 | const EmbedImage* ea = (const EmbedImage*)a; | 3712 | const EmbedImage* ea = (const EmbedImage*)a; |
3713 | const EmbedImage* eb = (const EmbedImage*)b; | 3713 | const EmbedImage* eb = (const EmbedImage*)b; |
3714 | return strcmp(ea->name,eb->name); | 3714 | return strcmp(ea->name,eb->name); |
3715 | } | 3715 | } |
3716 | inline const QImage& qembed_findImage(const char* name) | 3716 | inline static const QImage& qembed_findImage(const char* name) |
3717 | { | 3717 | { |
3718 | EmbedImage key; key.name = name; | 3718 | EmbedImage key; key.name = name; |
3719 | EmbedImage* r = (EmbedImage*)bsearch( &key, embed_image_vec, | 3719 | EmbedImage* r = (EmbedImage*)bsearch( &key, embed_image_vec, |
3720 | sizeof(embed_image_vec)/sizeof(EmbedImage), sizeof(EmbedImage), cmpEmbedImage ); | 3720 | sizeof(embed_image_vec)/sizeof(EmbedImage), sizeof(EmbedImage), cmpEmbedImage ); |
3721 | QImage* img; | 3721 | QImage* img; |
3722 | if ( r ) { | 3722 | if ( r ) { |
3723 | img = new QImage((uchar*)r->data, | 3723 | img = new QImage((uchar*)r->data, |
3724 | r->width, | 3724 | r->width, |
3725 | r->height, | 3725 | r->height, |
3726 | r->depth, | 3726 | r->depth, |
3727 | (QRgb*)r->colorTable, | 3727 | (QRgb*)r->colorTable, |
3728 | r->numColors, | 3728 | r->numColors, |
3729 | QImage::BigEndian | 3729 | QImage::BigEndian |
3730 | ); | 3730 | ); |
3731 | if ( r->alpha ) | 3731 | if ( r->alpha ) |
3732 | img->setAlphaBuffer(TRUE); | 3732 | img->setAlphaBuffer(TRUE); |
3733 | } else { | 3733 | } else { |
3734 | static QImage dummy; | 3734 | static QImage dummy; |
3735 | img = &dummy; | 3735 | img = &dummy; |
3736 | } | 3736 | } |
3737 | return *img; | 3737 | return *img; |
3738 | } | 3738 | } |
3739 | 3739 | ||
3740 | #endif | 3740 | #endif |