… | |
… | |
45 | |
45 | |
46 | #include "feature.h" |
46 | #include "feature.h" |
47 | |
47 | |
48 | #if defined (ISO_14755) || defined (ENABLE_PERL) |
48 | #if defined (ISO_14755) || defined (ENABLE_PERL) |
49 | # define ENABLE_OVERLAY 1 |
49 | # define ENABLE_OVERLAY 1 |
|
|
50 | # undef NO_RESOURCES |
50 | #endif |
51 | #endif |
51 | |
52 | |
52 | #if ENABLE_PERL |
53 | #if ENABLE_PERL |
53 | # define ENABLE_FRILLS 1 |
54 | # define ENABLE_FRILLS 1 |
54 | # define ENABLE_COMBINING 1 |
55 | # define ENABLE_COMBINING 1 |
… | |
… | |
1197 | }; |
1198 | }; |
1198 | |
1199 | |
1199 | uint8_t bg_flags; |
1200 | uint8_t bg_flags; |
1200 | |
1201 | |
1201 | # if BG_IMAGE_FROM_FILE |
1202 | # if BG_IMAGE_FROM_FILE |
1202 | vector<rxvt_image> image_vec; |
|
|
1203 | rxvt_image *new_image () |
1203 | rxvt_image fimage; |
1204 | { |
|
|
1205 | image_vec.resize (image_vec.size () + 1); |
|
|
1206 | return &image_vec.back (); |
|
|
1207 | } |
|
|
1208 | void get_image_geometry (rxvt_image &image, int &w, int &h, int &x, int &y); |
1204 | void get_image_geometry (rxvt_image &image, int &w, int &h, int &x, int &y); |
1209 | bool render_image (rxvt_image &image); |
1205 | bool render_image (rxvt_image &image); |
1210 | void parse_image (int id, const char *type, const char *arg); |
|
|
1211 | # endif |
1206 | # endif |
1212 | |
1207 | |
1213 | # if ENABLE_TRANSPARENCY |
1208 | # if ENABLE_TRANSPARENCY |
1214 | Pixmap root_pixmap; /* current root pixmap set */ |
1209 | Pixmap root_pixmap; /* current root pixmap set */ |
1215 | image_effects root_effects; |
1210 | image_effects root_effects; |
… | |
… | |
1296 | #if ENABLE_FRILLS || ISO_14755 |
1291 | #if ENABLE_FRILLS || ISO_14755 |
1297 | // ISO 14755 entry support |
1292 | // ISO 14755 entry support |
1298 | unicode_t iso14755buf; |
1293 | unicode_t iso14755buf; |
1299 | void commit_iso14755 (); |
1294 | void commit_iso14755 (); |
1300 | # if ISO_14755 |
1295 | # if ISO_14755 |
1301 | void iso14755_51 (unicode_t ch, rend_t r = DEFAULT_RSTYLE, int x = 0, int y = -1); |
1296 | void iso14755_51 (unicode_t ch, rend_t r = DEFAULT_RSTYLE, int x = 0, int y = -1, int y2 = -1); |
1302 | void iso14755_54 (int x, int y); |
1297 | void iso14755_54 (int x, int y); |
1303 | # endif |
1298 | # endif |
1304 | #endif |
1299 | #endif |
1305 | |
1300 | |
1306 | long vt_emask, vt_emask_perl, vt_emask_xim, vt_emask_mouse; |
1301 | long vt_emask, vt_emask_perl, vt_emask_xim, vt_emask_mouse; |