aboutsummaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2004-09-12 00:06:37 (GMT)
committerfluxgen <fluxgen>2004-09-12 00:06:37 (GMT)
commita4043853ffa0fa8f7b585facb45659964aadc459 (patch)
tree039cddd2526776fd6b9cd1150af5e5e8855e2639 /src/tests
parent82262ec0b86436f14ec27ba88175995725e9197a (diff)
downloadfluxbox_paul-a4043853ffa0fa8f7b585facb45659964aadc459.zip
fluxbox_paul-a4043853ffa0fa8f7b585facb45659964aadc459.tar.bz2
fix for Font drawText
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/testFont.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/testFont.cc b/src/tests/testFont.cc
index e8a3687..ca50661 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.7 2004/09/01 12:41:11 fluxgen Exp $ 22// $Id: testFont.cc,v 1.8 2004/09/12 00:06:37 fluxgen Exp $
23 23
24#include "App.hh" 24#include "App.hh"
25#include "FbWindow.hh" 25#include "FbWindow.hh"
@@ -87,7 +87,7 @@ public:
87 x, y, x + text_w, y); 87 x, y, x + text_w, y);
88 wingc.setForeground(FbTk::Color(m_foreground.c_str(), m_win.screenNumber())); 88 wingc.setForeground(FbTk::Color(m_foreground.c_str(), m_win.screenNumber()));
89 cerr<<"text width: "<<m_font.textWidth(m_text.c_str(), m_text.size())<<endl; 89 cerr<<"text width: "<<m_font.textWidth(m_text.c_str(), m_text.size())<<endl;
90 m_font.drawText(m_win.drawable(), 90 m_font.drawText(m_win,
91 0, wingc.gc(), 91 0, wingc.gc(),
92 m_text.c_str(), m_text.size(), 92 m_text.c_str(), m_text.size(),
93 x, y); 93 x, y);