Switch to unified view

a/HelperStructs/Style.h b/HelperStructs/Style.h
1
/* Style.h */
2
3
/* Copyright (C) 2011  Lucio Carreras
1
/* Copyright (C) 2011  Lucio Carreras
4
 *
2
 *
5
 * This file is part of sayonara player
3
 * This file is part of sayonara player
6
 *
4
 *
7
 * This program is free software: you can redistribute it and/or modify
5
 * This program is free software: you can redistribute it and/or modify
...
...
16
14
17
 * You should have received a copy of the GNU General Public License
15
 * You should have received a copy of the GNU General Public License
18
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
16
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
19
 */
17
 */
20
18
21
22
/*
23
 * Style.h
24
 *
25
 *  Created on: Oct 27, 2011
26
 *      Author: luke
27
 */
28
29
#ifndef STYLE_H_
19
#ifndef STYLE_H_
30
#define STYLE_H_
20
#define STYLE_H_
31
32
21
33
#include <QString>
22
#include <QString>
34
#include <QPalette>
23
#include <QPalette>
35
24
25
namespace Style {
36
26
37
38
namespace Style{
39
40
  QString get_style(bool dark);
27
    QString get_style(bool dark);
41
28
42
    QString get_tv_style(bool dark, QPalette* p=0);
29
    QString get_tv_style(bool dark, QPalette* p=0);
43
30
44
    QString get_v_slider_style(bool dark, int percent = -1);
31
    QString get_v_slider_style(bool dark, int percent = -1);
45
32
46
47
};
33
};
48
34
49
35
50
#endif /* STYLE_H_ */
36
#endif /* STYLE_H_ */