Set Qt TAS piano roll font to bold for marker frame text.
This commit is contained in:
parent
570aab926f
commit
5ea57a6b49
|
@ -77,12 +77,21 @@
|
||||||
#define UNDOHINT_INPUT_COLOR1 0xE1, 0xD2, 0xF7
|
#define UNDOHINT_INPUT_COLOR1 0xE1, 0xD2, 0xF7
|
||||||
#define UNDOHINT_INPUT_COLOR2 0xD1, 0xBE, 0xE9
|
#define UNDOHINT_INPUT_COLOR2 0xD1, 0xBE, 0xE9
|
||||||
|
|
||||||
#define MARKED_FRAMENUM_COLOR 0xAEF0FF
|
//#define MARKED_FRAMENUM_COLOR 0xAEF0FF
|
||||||
#define CUR_MARKED_FRAMENUM_COLOR 0xCAEDEA
|
//#define CUR_MARKED_FRAMENUM_COLOR 0xCAEDEA
|
||||||
#define MARKED_UNDOHINT_FRAMENUM_COLOR 0xDDE5E9
|
//#define MARKED_UNDOHINT_FRAMENUM_COLOR 0xDDE5E9
|
||||||
|
|
||||||
#define BINDMARKED_FRAMENUM_COLOR 0xC9FFF7
|
#define MARKED_FRAMENUM_COLOR 0xFF, 0xF0, 0xAE
|
||||||
#define CUR_BINDMARKED_FRAMENUM_COLOR 0xD5F2EC
|
#define CUR_MARKED_FRAMENUM_COLOR 0xEA, 0xED, 0xCA
|
||||||
#define BINDMARKED_UNDOHINT_FRAMENUM_COLOR 0xE1EBED
|
#define MARKED_UNDOHINT_FRAMENUM_COLOR 0xE9, 0xE5, 0xDD
|
||||||
|
|
||||||
#define PLAYBACK_MARKER_COLOR 0xC9AF00
|
//#define BINDMARKED_FRAMENUM_COLOR 0xC9FFF7
|
||||||
|
//#define CUR_BINDMARKED_FRAMENUM_COLOR 0xD5F2EC
|
||||||
|
//#define BINDMARKED_UNDOHINT_FRAMENUM_COLOR 0xE1EBED
|
||||||
|
|
||||||
|
#define BINDMARKED_FRAMENUM_COLOR 0xF7, 0xFF, 0xC9
|
||||||
|
#define CUR_BINDMARKED_FRAMENUM_COLOR 0xEC, 0xF2, 0xD5
|
||||||
|
#define BINDMARKED_UNDOHINT_FRAMENUM_COLOR 0xED, 0xEB, 0xE1
|
||||||
|
|
||||||
|
//#define PLAYBACK_MARKER_COLOR 0xC9AF00
|
||||||
|
#define PLAYBACK_MARKER_COLOR 0x00, 0xAF, 0xC9
|
||||||
|
|
|
@ -3923,6 +3923,15 @@ void QPianoRoll::paintEvent(QPaintEvent *event)
|
||||||
|
|
||||||
sprintf( stmp, "%010i", lineNum );
|
sprintf( stmp, "%010i", lineNum );
|
||||||
|
|
||||||
|
if (markersManager->getMarkerAtFrame(lineNum))
|
||||||
|
{
|
||||||
|
font.setBold(true);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
font.setBold(false);
|
||||||
|
}
|
||||||
|
painter.setFont(font);
|
||||||
painter.drawText( x, y+pxLineTextOfs, tr(stmp) );
|
painter.drawText( x, y+pxLineTextOfs, tr(stmp) );
|
||||||
|
|
||||||
x = -pxLineXScroll;
|
x = -pxLineXScroll;
|
||||||
|
|
Loading…
Reference in New Issue