1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-04-13 20:41:58 +02:00

* Moved POPUP consts into TomahawkStyle namespace.

This commit is contained in:
Christian Muehlhaeuser 2013-04-29 17:48:20 +02:00
parent 98724c3457
commit 7276b805d5
2 changed files with 7 additions and 7 deletions

View File

@ -16,15 +16,15 @@
* along with Tomahawk. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef TOMAHAWKCOLORS_H
#define TOMAHAWKCOLORS_H
#ifndef TOMAHAWKSTYLE_H
#define TOMAHAWKSTYLE_H
#include "TomahawkUtils.h"
#include "DllMacro.h"
#include <QColor>
namespace TomahawkColors
namespace TomahawkStyle
{
static const QColor BORDER_LINE = QColor( "#8c8c8c" );
static const QColor POPUP_BACKGROUND = QColor( "#ffffff" );
@ -33,6 +33,9 @@ namespace TomahawkColors
static const QColor NOW_PLAYING_ITEM_TEXT = QColor( "#ffffff" );
static const QColor SELECTION_BACKGROUND = QColor( "#962c26" );
static const QColor SELECTION_FOREGROUND = QColor( "#ffffff" );
static const int POPUP_ROUNDING_RADIUS = 6;
static const float POPUP_OPACITY = 0.96;
}
#endif // TOMAHAWKCOLORS_H
#endif // TOMAHAWKSTYLE_H

View File

@ -76,9 +76,6 @@ namespace TomahawkUtils
DLLEXPORT QPixmap squareCenterPixmap( const QPixmap& sourceImage );
DLLEXPORT void drawCompositedPopup( QWidget* widget, const QPainterPath& outline, const QColor& lineColor, const QBrush& backgroundBrush, qreal opacity );
static const int POPUP_ROUNDING_RADIUS = 6;
static const float POPUP_OPACITY = 0.96;
}
#endif // TOMAHAWKUTILSGUI_H