aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-11-12 22:50:36 (GMT)
committerfluxgen <fluxgen>2002-11-12 22:50:36 (GMT)
commitbe32c5c2e86899e435567381b0a82e4341f5491a (patch)
tree7335bdb8beb4c2f13328f55e4a6d39e8f18a435d
parente6a8acfe0d3f98a75301b397fee374ebafddca7f (diff)
downloadfluxbox-be32c5c2e86899e435567381b0a82e4341f5491a.zip
fluxbox-be32c5c2e86899e435567381b0a82e4341f5491a.tar.bz2
line
-rw-r--r--src/tests/testFont.cc8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/tests/testFont.cc b/src/tests/testFont.cc
index a2fda0f..b949dc8 100644
--- a/src/tests/testFont.cc
+++ b/src/tests/testFont.cc
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: testFont.cc,v 1.3 2002/10/19 14:13:05 fluxgen Exp $ 22// $Id: testFont.cc,v 1.4 2002/11/12 22:50:36 fluxgen Exp $
23 23
24#include "Font.hh" 24#include "Font.hh"
25#include "BaseDisplay.hh" 25#include "BaseDisplay.hh"
@@ -83,7 +83,11 @@ public:
83 x, y + m_font.descent(), x + text_w, y + m_font.descent()); 83 x, y + m_font.descent(), x + text_w, y + m_font.descent());
84 XSetForeground(getXDisplay(), wingc, 0xFF00FF); // don't care what color it is 84 XSetForeground(getXDisplay(), wingc, 0xFF00FF); // don't care what color it is
85 XDrawLine(getXDisplay(), m_win, wingc, 85 XDrawLine(getXDisplay(), m_win, wingc,
86 x, y - text_h , x + text_w, y - text_h ); 86 x, y - text_h , x + text_w, y - text_h );
87 XSetForeground(getXDisplay(), wingc, 0xFF0000); // don't care what color it is
88 XDrawLine(getXDisplay(), m_win, wingc,
89 x, y, x + text_w, y);
90
87 XSetForeground(getXDisplay(), wingc, 0); 91 XSetForeground(getXDisplay(), wingc, 0);
88 m_font.drawText(m_win, 0, wingc, 92 m_font.drawText(m_win, 0, wingc,
89 m_text.c_str(), m_text.size(), 93 m_text.c_str(), m_text.size(),