diff options
author | Jim Ramsay <i.am@jimramsay.com> | 2009-05-01 22:15:34 (GMT) |
---|---|---|
committer | Jim Ramsay <i.am@jimramsay.com> | 2009-05-01 22:15:34 (GMT) |
commit | 8c7f2ea10eadb76de4eb42d1b4c841171539db17 (patch) | |
tree | bcf79ecd06a138ac560d79324aa80bebd08677d4 /src/FbTk/XFontImp.cc | |
parent | dfa360e8905509e3e19db4279fc4066e52014676 (diff) | |
download | fluxbox_lack-8c7f2ea10eadb76de4eb42d1b4c841171539db17.zip fluxbox_lack-8c7f2ea10eadb76de4eb42d1b4c841171539db17.tar.bz2 |
Everything but Text
Managed 32-bit visuals for everything, but text is broken (menus, titlebars,
etc)
Diffstat (limited to 'src/FbTk/XFontImp.cc')
-rw-r--r-- | src/FbTk/XFontImp.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FbTk/XFontImp.cc b/src/FbTk/XFontImp.cc index a94aa75..58bb07a 100644 --- a/src/FbTk/XFontImp.cc +++ b/src/FbTk/XFontImp.cc | |||
@@ -225,7 +225,7 @@ void XFontImp::rotate(FbTk::Orientation orient) { | |||
225 | // reserve memory for first XImage | 225 | // reserve memory for first XImage |
226 | vertdata = (unsigned char *)calloc((unsigned)(vert_len * vert_h), 1); | 226 | vertdata = (unsigned char *)calloc((unsigned)(vert_len * vert_h), 1); |
227 | 227 | ||
228 | XImage *I1 = XCreateImage(dpy, DefaultVisual(dpy, screen), | 228 | XImage *I1 = XCreateImage(dpy, App::instance()->defaultVisual(screen), |
229 | 1, XYBitmap, | 229 | 1, XYBitmap, |
230 | 0, (char *)vertdata, | 230 | 0, (char *)vertdata, |
231 | vert_w, vert_h, 8, 0); | 231 | vert_w, vert_h, 8, 0); |
@@ -269,7 +269,7 @@ void XFontImp::rotate(FbTk::Orientation orient) { | |||
269 | bitdata = (unsigned char *)calloc((unsigned)(bit_h * bit_len), 1); | 269 | bitdata = (unsigned char *)calloc((unsigned)(bit_h * bit_len), 1); |
270 | 270 | ||
271 | // create the image | 271 | // create the image |
272 | XImage *I2 = XCreateImage(dpy, DefaultVisual(dpy, screen), 1, XYBitmap, 0, | 272 | XImage *I2 = XCreateImage(dpy, App::instance()->defaultVisual(screen), 1, XYBitmap, 0, |
273 | (char *)bitdata, bit_w, bit_h, 8, 0); | 273 | (char *)bitdata, bit_w, bit_h, 8, 0); |
274 | 274 | ||
275 | if (I2 == None) { | 275 | if (I2 == None) { |