Changeset 79437 in vbox for trunk/src/VBox
- Timestamp:
- Jul 1, 2019 11:59:42 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/softkeyboard/UISoftKeyboard.cpp
r79434 r79437 1695 1695 void UISoftKeyboardLayout::drawText(int iKeyPosition, const QRect &keyGeometry, QPainter &painter) 1696 1696 { 1697 painter.setPen(QColor(0,0,0));1698 painter.setRenderHint(QPainter::Antialiasing);1699 1697 QFont painterFont(painter.font()); 1700 1698 … … 1751 1749 : m_colors(QVector<QColor>(KeyboardColorType_Max)) 1752 1750 { 1753 m_colors[KeyboardColorType_Background] = QColor(103, 128, 159);1754 m_colors[KeyboardColorType_ Hover] = QColor(108, 122, 137);1755 m_colors[KeyboardColorType_ Font] = QColor(46, 49, 49);1756 m_colors[KeyboardColorType_ Pressed] = QColor(149, 165, 166);1757 m_colors[KeyboardColorType_ Edit] = QColor(249, 165, 166);1751 m_colors[KeyboardColorType_Background].setNamedColor("#ff878787"); 1752 m_colors[KeyboardColorType_Font].setNamedColor("#ff000000"); 1753 m_colors[KeyboardColorType_Hover].setNamedColor("#ff676767"); 1754 m_colors[KeyboardColorType_Edit].setNamedColor("#ff9b6767"); 1755 m_colors[KeyboardColorType_Pressed].setNamedColor("#fffafafa"); 1758 1756 } 1759 1757 … … 1895 1893 ledColor = color(KeyboardColorType_Font); 1896 1894 else if (key.state() == UIKeyState_Pressed) 1897 ledColor = QColor(0, 255, 0);1895 ledColor = QColor(0, 191, 204); 1898 1896 else 1899 ledColor = QColor(255, 0,0);1897 ledColor = QColor(255, 50, 50); 1900 1898 painter.setBrush(ledColor); 1901 1899 painter.setPen(ledColor);
Note:
See TracChangeset
for help on using the changeset viewer.