Commit f6f0b19f authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

This was of course not intended...

parent bb6847fb
...@@ -93,96 +93,6 @@ static int DoControl( intf_thread_t *p_intf, void *p_win, int i_q, va_list a ) ...@@ -93,96 +93,6 @@ static int DoControl( intf_thread_t *p_intf, void *p_win, int i_q, va_list a )
MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf ) MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf )
{ {
QPalette palette;
QBrush brush(QColor(255, 0, 255, 255));
brush.setStyle(Qt::SolidPattern);
palette.setBrush(QPalette::Active, QPalette::WindowText, brush);
QBrush brush1(QColor(232, 23, 142, 255));
brush1.setStyle(Qt::SolidPattern);
palette.setBrush(QPalette::Active, QPalette::Button, brush1);
QBrush brush2(QColor(255, 251, 121, 255));
brush2.setStyle(Qt::SolidPattern);
palette.setBrush(QPalette::Active, QPalette::Light, brush2);
QBrush brush3(QColor(233, 235, 177, 255));
brush3.setStyle(Qt::SolidPattern);
palette.setBrush(QPalette::Active, QPalette::Midlight, brush3);
QBrush brush4(QColor(84, 25, 109, 255));
brush4.setStyle(Qt::SolidPattern);
palette.setBrush(QPalette::Active, QPalette::Dark, brush4);
QBrush brush5(QColor(103, 76, 183, 255));
brush5.setStyle(Qt::SolidPattern);
palette.setBrush(QPalette::Active, QPalette::Mid, brush5);
QBrush brush6(QColor(192, 75, 59, 255));
brush6.setStyle(Qt::SolidPattern);
palette.setBrush(QPalette::Active, QPalette::Text, brush6);
QBrush brush7(QColor(255, 170, 0, 255));
brush7.setStyle(Qt::SolidPattern);
palette.setBrush(QPalette::Active, QPalette::BrightText, brush7);
QBrush brush8(QColor(170, 38, 170, 255));
brush8.setStyle(Qt::SolidPattern);
palette.setBrush(QPalette::Active, QPalette::ButtonText, brush8);
QBrush brush9(QColor(144, 235, 255, 255));
brush9.setStyle(Qt::SolidPattern);
palette.setBrush(QPalette::Active, QPalette::Base, brush9);
QBrush brush10(QColor(225, 75, 255, 255));
brush10.setStyle(Qt::SolidPattern);
palette.setBrush(QPalette::Active, QPalette::Window, brush10);
QBrush brush11(QColor(51, 10, 61, 255));
brush11.setStyle(Qt::SolidPattern);
palette.setBrush(QPalette::Active, QPalette::Shadow, brush11);
QBrush brush12(QColor(15, 212, 38, 255));
brush12.setStyle(Qt::SolidPattern);
palette.setBrush(QPalette::Active, QPalette::Highlight, brush12);
QBrush brush13(QColor(227, 255, 148, 255));
brush13.setStyle(Qt::SolidPattern);
palette.setBrush(QPalette::Active, QPalette::HighlightedText, brush13);
QBrush brush14(QColor(174, 69, 111, 255));
brush14.setStyle(Qt::SolidPattern);
palette.setBrush(QPalette::Active, QPalette::Link, brush14);
QBrush brush15(QColor(155, 64, 64, 255));
brush15.setStyle(Qt::SolidPattern);
palette.setBrush(QPalette::Active, QPalette::LinkVisited, brush15);
QBrush brush16(QColor(245, 248, 49, 255));
brush16.setStyle(Qt::SolidPattern);
palette.setBrush(QPalette::Active, QPalette::AlternateBase, brush16);
palette.setBrush(QPalette::Inactive, QPalette::WindowText, brush);
palette.setBrush(QPalette::Inactive, QPalette::Button, brush1);
palette.setBrush(QPalette::Inactive, QPalette::Light, brush2);
palette.setBrush(QPalette::Inactive, QPalette::Midlight, brush3);
palette.setBrush(QPalette::Inactive, QPalette::Dark, brush4);
palette.setBrush(QPalette::Inactive, QPalette::Mid, brush5);
palette.setBrush(QPalette::Inactive, QPalette::Text, brush6);
palette.setBrush(QPalette::Inactive, QPalette::BrightText, brush7);
palette.setBrush(QPalette::Inactive, QPalette::ButtonText, brush8);
palette.setBrush(QPalette::Inactive, QPalette::Base, brush9);
palette.setBrush(QPalette::Inactive, QPalette::Window, brush10);
palette.setBrush(QPalette::Inactive, QPalette::Shadow, brush11);
palette.setBrush(QPalette::Inactive, QPalette::Highlight, brush12);
palette.setBrush(QPalette::Inactive, QPalette::HighlightedText, brush13);
palette.setBrush(QPalette::Inactive, QPalette::Link, brush14);
palette.setBrush(QPalette::Inactive, QPalette::LinkVisited, brush15);
palette.setBrush(QPalette::Inactive, QPalette::AlternateBase, brush16);
palette.setBrush(QPalette::Disabled, QPalette::WindowText, brush4);
palette.setBrush(QPalette::Disabled, QPalette::Button, brush1);
palette.setBrush(QPalette::Disabled, QPalette::Light, brush2);
palette.setBrush(QPalette::Disabled, QPalette::Midlight, brush3);
palette.setBrush(QPalette::Disabled, QPalette::Dark, brush4);
palette.setBrush(QPalette::Disabled, QPalette::Mid, brush5);
palette.setBrush(QPalette::Disabled, QPalette::Text, brush4);
palette.setBrush(QPalette::Disabled, QPalette::BrightText, brush7);
palette.setBrush(QPalette::Disabled, QPalette::ButtonText, brush4);
palette.setBrush(QPalette::Disabled, QPalette::Base, brush10);
palette.setBrush(QPalette::Disabled, QPalette::Window, brush10);
palette.setBrush(QPalette::Disabled, QPalette::Shadow, brush11);
QBrush brush17(QColor(214, 213, 211, 255));
brush17.setStyle(Qt::SolidPattern);
palette.setBrush(QPalette::Disabled, QPalette::Highlight, brush17);
palette.setBrush(QPalette::Disabled, QPalette::HighlightedText, brush13);
palette.setBrush(QPalette::Disabled, QPalette::Link, brush14);
palette.setBrush(QPalette::Disabled, QPalette::LinkVisited, brush15);
palette.setBrush(QPalette::Disabled, QPalette::AlternateBase, brush16);
setPalette( palette );
/* Variables initialisation */ /* Variables initialisation */
// need_components_update = false; // need_components_update = false;
bgWidget = NULL; bgWidget = NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment