all repos — fluxbox @ be32c5c2e86899e435567381b0a82e4341f5491a

custom fork of the fluxbox windowmanager

line
fluxgen fluxgen
commit

be32c5c2e86899e435567381b0a82e4341f5491a

parent

e6a8acfe0d3f98a75301b397fee374ebafddca7f

1 files changed, 6 insertions(+), 2 deletions(-)

jump to
M src/tests/testFont.ccsrc/tests/testFont.cc

@@ -19,7 +19,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: testFont.cc,v 1.3 2002/10/19 14:13:05 fluxgen Exp $ +// $Id: testFont.cc,v 1.4 2002/11/12 22:50:36 fluxgen Exp $ #include "Font.hh" #include "BaseDisplay.hh"

@@ -83,7 +83,11 @@ XDrawLine(getXDisplay(), m_win, wingc,

x, y + m_font.descent(), x + text_w, y + m_font.descent()); XSetForeground(getXDisplay(), wingc, 0xFF00FF); // don't care what color it is XDrawLine(getXDisplay(), m_win, wingc, - x, y - text_h , x + text_w, y - text_h ); + x, y - text_h , x + text_w, y - text_h ); + XSetForeground(getXDisplay(), wingc, 0xFF0000); // don't care what color it is + XDrawLine(getXDisplay(), m_win, wingc, + x, y, x + text_w, y); + XSetForeground(getXDisplay(), wingc, 0); m_font.drawText(m_win, 0, wingc, m_text.c_str(), m_text.size(),