Fix geometry window sizing (W is wider than 0), plus vertical centring (font ascent, not height).
rathnor rathnor
1 files changed,
4 insertions(+),
4 deletions(-)
jump to
M
src/Screen.cc
→
src/Screen.cc
@@ -22,7 +22,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: Screen.cc,v 1.76 2002/10/25 20:58:14 fluxgen Exp $ +// $Id: Screen.cc,v 1.77 2002/11/12 14:37:18 rathnor Exp $ #include "Screen.hh"@@ -287,7 +287,7 @@
const char *s = i18n->getMessage( FBNLS::ScreenSet, FBNLS::ScreenPositionLength, - "0: 0000 x 0: 0000"); + "W: 0000 x H: 0000"); // W is wide! int l = strlen(s);@@ -520,7 +520,7 @@ I18n *i18n = I18n::instance();
const char *s = i18n->getMessage( FBNLS::ScreenSet, FBNLS::ScreenPositionLength, - "0: 0000 x 0: 0000"); + "W: 0000 x H: 0000"); int l = strlen(s); //TODO: repeat from somewhere else?@@ -1648,7 +1648,7 @@ getScreenNumber(),
theme->getWindowStyle().l_text_focus_gc, label, strlen(label), theme->getBevelWidth(), theme->getBevelWidth() + - theme->getWindowStyle().font.height()); + theme->getWindowStyle().font.ascent()); }