aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/TextButton.hh
AgeCommit message (Collapse)AuthorFilesLines
2015-01-10Remove dead codeMathias Gumz1-4/+0
2012-10-03Improved vertical alignment of text in FbTk::TextButtonMathias Gumz1-2/+2
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-6/+5
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).
2008-08-16some cleanupMark Tiefenbruck1-10/+0
2008-05-05add tooltips for iconbar buttons when title is too long to fitMatteo Galiazzo1-0/+2
2008-01-15split Text.hh into Orientation.hh and TextUtils.{cc,hh}Mathias Gumz1-1/+0
2008-01-04remove old svn $Id$ tagsMark Tiefenbruck1-2/+0
2007-12-30remove some (hopefully) unneeded header includesMark Tiefenbruck1-1/+0
2007-12-29'inline' in class declaration is implicitly inlineMathias Gumz1-4/+4
2006-07-01more dead functionsmarkt1-0/+4
2006-07-01more dead functionsmarkt1-0/+2
2006-04-15implement vertical toolbar placement optionssimonb1-0/+1
2006-03-26rotated fonts, buttons, containers. Used for tabs for nowsimonb1-5/+8
2005-04-26extension of previous big patch. Move a bunch of menu things onto simonb1-2/+6
background pixmap. Same for textbuttons.
2005-04-10Big changes to how transparency workssimonb1-1/+0
Consequently rearrange lots of rendering ops, and strip calls to updateTransparent
2004-11-19svn propset svn:keywords "Id"mathias1-1/+1
2004-10-10added padding: space between text and the borderakir1-1/+10
2004-01-08cleaningfluxgen1-2/+2
2003-12-16fixed some icc warningsfluxgen1-2/+2
2003-09-14less flickerfluxgen1-1/+3
2003-09-10reduced flicker with bufferfluxgen1-2/+13
2003-08-18moved from fluxbox main sourcefluxgen1-0/+67