aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/TextButton.cc
AgeCommit message (Collapse)AuthorFilesLines
2012-12-30Fix double text rendering if using parentRelativeVladimir A. Pavlov1-2/+0
2012-10-03Improved vertical alignment of text in FbTk::TextButtonMathias Gumz1-26/+52
The old formula for vertical align text inside FbTk::TextButton ('height/2 + font_ascent/2 - 1') produced not always good looking results, escpecially when different fonts are involved (eg, ClockTool and WorkspaceName have different fonts and font-sizes). '(height - font_ascent) / 2 - 1' produces better results. Additional changes: * added ASCII-Art to document the involved entities when calculating the baseline * rewritten tests/testFont.cc to accept multiples texts and multiple fonts * removed some internal parts of FbTk::Font from the public interface
2010-09-08introduced FbTk::BidiStringMathias Gumz1-17/+16
a 'BidiString' holds both the logical content and the visual reordered version of the content of a string. this helps to reduce the number of calls to reorder the string before drawing it (as introduced in the patch from Ken Bloom) and to be more consistent in menus and textboxes (drawing cursors and underlining text).
2010-09-05avoid constructing new strings implicitMathias Gumz1-2/+2
2008-08-16revert focus when closing dialogsMark Tiefenbruck1-4/+4
2008-08-16some cleanupMark Tiefenbruck1-16/+0
2008-05-05add tooltips for iconbar buttons when title is too long to fitMatteo Galiazzo1-4/+19
2008-04-21some fixes for gcc 3.4Thomas Orgis1-1/+1
2008-01-15split Text.hh into Orientation.hh and TextUtils.{cc,hh}Mathias Gumz1-0/+1
2008-01-14moved code a bit around, cleaned up some classesMathias Gumz1-1/+1
2008-01-04remove old svn $Id$ tagsMark Tiefenbruck1-2/+0
2006-07-01more dead functionsmarkt1-0/+2
2006-07-01more dead functionsmarkt1-0/+2
2006-06-24fix more x errors due to using an invalid backgroundsimonb1-3/+4
2006-05-07handle utf-8 strings properly.simonb1-3/+3
use utf8 internally
2006-04-17fix some rotation issuessimonb1-0/+2
2006-04-15implement vertical toolbar placement optionssimonb1-0/+1
2006-04-02size_t fixes, thanks Semushin Slava aka php-coderfluxgen1-1/+1
2006-03-26rotated fonts, buttons, containers. Used for tabs for nowsimonb1-8/+41
2006-02-16updated copyright infomathias1-1/+1
2005-04-27fix a few more bugs with recent reworking stuffsimonb1-1/+1
Some fixes could incidentally fix a few other bugs... the flaws were pre-existing, I've just been weeding out a lot of duplication
2005-04-26extension of previous big patch. Move a bunch of menu things onto simonb1-10/+20
background pixmap. Same for textbuttons.
2005-04-13fix a few small bugs from recent big patchsimonb1-1/+0
2005-04-10Big changes to how transparency workssimonb1-47/+8
Consequently rearrange lots of rendering ops, and strip calls to updateTransparent
2005-04-02Tidy up some redundant pixmap allocssimonb1-4/+12
2005-02-07white-space cosmeticmathias1-10/+10
2005-01-24copyright datemathias1-1/+1
2004-11-19svn propset svn:keywords "Id"mathias1-1/+1
2004-10-10added padding: space between text and the borderakir1-6/+18
2004-09-11Font::drawText takes reference to FbDrawable instead of X Drawable + some ↵fluxgen1-2/+5
code cleaning
2004-01-09use m_buffer for gc instead since it is the targetfluxgen1-2/+5
2003-10-31out-by-one correctionrathnor1-2/+2
2003-09-14less flickerfluxgen1-5/+12
2003-09-10reduced flicker with bufferfluxgen1-11/+62
2003-08-18moved from fluxbox main sourcefluxgen1-0/+96