… | |
… | |
1035 | */ |
1035 | */ |
1036 | void |
1036 | void |
1037 | rxvt_term::set_colorfgbg () |
1037 | rxvt_term::set_colorfgbg () |
1038 | { |
1038 | { |
1039 | unsigned int i; |
1039 | unsigned int i; |
1040 | const char *xpmb = "\0"; |
1040 | const char *xpmb = ""; |
1041 | char fstr[sizeof ("default") + 1], bstr[sizeof ("default") + 1]; |
1041 | char fstr[sizeof ("default") + 1], bstr[sizeof ("default") + 1]; |
1042 | |
1042 | |
1043 | strcpy (fstr, "default"); |
1043 | strcpy (fstr, "default"); |
1044 | strcpy (bstr, "default"); |
1044 | strcpy (bstr, "default"); |
1045 | for (i = Color_Black; i <= Color_White; i++) |
1045 | for (i = Color_Black; i <= Color_White; i++) |
… | |
… | |
1745 | } |
1745 | } |
1746 | |
1746 | |
1747 | #ifdef HAVE_BG_PIXMAP |
1747 | #ifdef HAVE_BG_PIXMAP |
1748 | # if TRACE_PIXMAPS |
1748 | # if TRACE_PIXMAPS |
1749 | # undef update_background |
1749 | # undef update_background |
1750 | int rxvt_term::trace_update_background (const char* file, int line) |
1750 | int rxvt_term::trace_update_background (const char *file, int line) |
1751 | { |
1751 | { |
1752 | fprintf (stderr, "%s:%d:update_background()\n", file, line); |
1752 | fprintf (stderr, "%s:%d:update_background()\n", file, line); |
1753 | update_background (); |
1753 | update_background (); |
1754 | } |
1754 | } |
1755 | # endif |
1755 | # endif |
|
|
1756 | |
1756 | int |
1757 | int |
1757 | rxvt_term::update_background () |
1758 | rxvt_term::update_background () |
1758 | { |
1759 | { |
1759 | bgPixmap.invalidate (); |
1760 | bgPixmap.invalidate (); |
1760 | |
1761 | |