all repos — fluxbox @ a4043853ffa0fa8f7b585facb45659964aadc459

custom fork of the fluxbox windowmanager

fix for Font drawText
fluxgen fluxgen
commit

a4043853ffa0fa8f7b585facb45659964aadc459

parent

82262ec0b86436f14ec27ba88175995725e9197a

1 files changed, 2 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.7 2004/09/01 12:41:11 fluxgen Exp $ +// $Id: testFont.cc,v 1.8 2004/09/12 00:06:37 fluxgen Exp $ #include "App.hh" #include "FbWindow.hh"

@@ -87,7 +87,7 @@ m_win.drawLine(wingc.gc(),

x, y, x + text_w, y); wingc.setForeground(FbTk::Color(m_foreground.c_str(), m_win.screenNumber())); cerr<<"text width: "<<m_font.textWidth(m_text.c_str(), m_text.size())<<endl; - m_font.drawText(m_win.drawable(), + m_font.drawText(m_win, 0, wingc.gc(), m_text.c_str(), m_text.size(), x, y);