… | |
… | |
1083 | void bg_init (); |
1083 | void bg_init (); |
1084 | void bg_destroy (); |
1084 | void bg_destroy (); |
1085 | |
1085 | |
1086 | enum { |
1086 | enum { |
1087 | BG_IS_VALID = 1 << 0, |
1087 | BG_IS_VALID = 1 << 0, |
1088 | BG_NEEDS_TINT = 1 << 1, |
|
|
1089 | BG_NEEDS_BLUR = 1 << 2, |
|
|
1090 | |
|
|
1091 | BG_EFFECTS_FLAGS = BG_NEEDS_TINT | BG_NEEDS_BLUR, |
|
|
1092 | |
1088 | |
1093 | BG_KEEP_ASPECT = 1 << 3, |
1089 | BG_KEEP_ASPECT = 1 << 3, |
1094 | BG_ROOT_ALIGN = 1 << 4, |
1090 | BG_ROOT_ALIGN = 1 << 4, |
1095 | BG_TILE = 1 << 14, |
1091 | BG_TILE = 1 << 14, |
1096 | BG_GEOMETRY_FLAGS = BG_KEEP_ASPECT | BG_ROOT_ALIGN | BG_TILE, |
1092 | BG_GEOMETRY_FLAGS = BG_KEEP_ASPECT | BG_ROOT_ALIGN | BG_TILE, |
… | |
… | |
1145 | void bg_set_transparent () |
1141 | void bg_set_transparent () |
1146 | { |
1142 | { |
1147 | bg_flags |= BG_IS_TRANSPARENT; |
1143 | bg_flags |= BG_IS_TRANSPARENT; |
1148 | } |
1144 | } |
1149 | void bg_set_root_pixmap (); |
1145 | void bg_set_root_pixmap (); |
1150 | void set_tint_shade_flags (); |
|
|
1151 | bool bg_set_tint (rxvt_color &new_tint); |
1146 | bool bg_set_tint (rxvt_color &new_tint); |
1152 | bool bg_set_shade (const char *shade_str); |
1147 | bool bg_set_shade (const char *shade_str); |
1153 | bool bg_set_blur (const char *geom); |
1148 | bool bg_set_blur (const char *geom); |
1154 | |
1149 | |
1155 | bool blur_pixmap (Pixmap pixmap, Visual *visual, int width, int height, int depth); |
1150 | bool blur_pixmap (Pixmap pixmap, Visual *visual, int width, int height, int depth); |