mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 02:14:50 +00:00
Use a larger font for displaying the version number on the splash screen
* src/frontends/qt4/GuiWorkArea.C (GuiWorkArea::doGreyOut): don't use LyXFont::SIZE_XXXX directly as a font size as these are enum values and not the actual sizes. Move the version number slightly to the right to make it more readable against the splash screen. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16353 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
8f90d0bb96
commit
b892a6bc43
@ -244,9 +244,6 @@ PAINTING & PERFORMANCE
|
||||
this is important for the test case); add a character into the note
|
||||
=> the complete footnote is expanded but only the current line is repainted
|
||||
|
||||
* In the splash screen, the LyX version number is printed with a very, very
|
||||
small font size such that it becomes almost invisible on Windows.
|
||||
|
||||
* END_LABEL_* handling in RowPainer::paintLast() is broken. In regular text,
|
||||
label boxes are not completely visible (because we shrinked the margin on
|
||||
screen?). Inside of insets, they don't work at all.
|
||||
@ -611,3 +608,7 @@ CREDITS:
|
||||
(bug 3034). It was introduced by the conversion of mathed to unicode,
|
||||
because two methods Parser::tokenize() with different semantics existed.
|
||||
|
||||
* In the splash screen, the LyX version number is printed with a very, very
|
||||
small font size such that it becomes almost invisible on Windows.
|
||||
FIXED (Enrico 2006-12-21)
|
||||
|
||||
|
@ -31,6 +31,7 @@
|
||||
|
||||
#include "support/filetools.h" // LibFileSearch
|
||||
#include "support/os.h"
|
||||
#include "support/convert.h"
|
||||
|
||||
#include "graphics/GraphicsImage.h"
|
||||
#include "graphics/GraphicsLoader.h"
|
||||
@ -487,7 +488,7 @@ void GuiWorkArea::doGreyOut(QLPainter & pain)
|
||||
// The font used to display the version info
|
||||
font.setStyleHint(QFont::SansSerif);
|
||||
font.setWeight(QFont::Bold);
|
||||
font.setPointSize(LyXFont::SIZE_NORMAL);
|
||||
font.setPointSize(convert<int>(lyxrc.font_sizes[LyXFont::SIZE_LARGE]));
|
||||
|
||||
int const w = pm.width();
|
||||
int const h = pm.height();
|
||||
@ -497,7 +498,7 @@ void GuiWorkArea::doGreyOut(QLPainter & pain)
|
||||
|
||||
pain.drawPixmap(x, y, pm);
|
||||
|
||||
x += 260;
|
||||
x += 300;
|
||||
y += 265;
|
||||
|
||||
pain.setPen(QColor(255, 255, 0));
|
||||
|
Loading…
Reference in New Issue
Block a user