| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
#ifndef H_FREAC_CONFIG_ALBUM_ART |
| 14 |
#define H_FREAC_CONFIG_ALBUM_ART |
| 15 |
|
| 16 |
#include <smooth.h> |
| 17 |
#include <boca.h> |
| 18 |
|
| 19 |
namespace freac |
| 20 |
{ |
| 21 |
class ConfigureAlbumArt : public BoCA::ConfigLayer |
| 22 |
{ |
| 23 |
private: |
| 24 |
GroupBox *group_albumart_tags; |
| 25 |
CheckBox *check_albumart_read_tags; |
| 26 |
CheckBox *check_albumart_write_tags; |
| 27 |
ListBox *list_albumart_write_tags_format; |
| 28 |
|
| 29 |
GroupBox *group_albumart_files; |
| 30 |
CheckBox *check_albumart_read_files; |
| 31 |
CheckBox *check_albumart_read_patterns; |
| 32 |
EditBox *edit_albumart_read_patterns; |
| 33 |
List *list_albumart_read_patterns; |
| 34 |
Text *text_albumart_read_max; |
| 35 |
Slider *slider_albumart_read_max; |
| 36 |
Text *text_albumart_read_max_value; |
| 37 |
CheckBox *check_albumart_write_files; |
| 38 |
Text *text_albumart_write_files_name; |
| 39 |
EditBox *edit_albumart_write_files_name; |
| 40 |
CheckBox *check_albumart_write_files_ref; |
| 41 |
|
| 42 |
Bool enableAlbumArtReadFromTags; |
| 43 |
Bool enableAlbumArtWriteToTags; |
| 44 |
|
| 45 |
Bool enableAlbumArtReadFromFiles; |
| 46 |
Bool enableAlbumArtWriteToFiles; |
| 47 |
|
| 48 |
Bool albumArtUsePatterns; |
| 49 |
Int albumArtMaxFileSize; |
| 50 |
|
| 51 |
Bool albumArtWriteRef; |
| 52 |
slots: |
| 53 |
Void ToggleReadAlbumArt(); |
| 54 |
Void ToggleWriteAlbumArt(); |
| 55 |
Void ToggleUsePatterns(); |
| 56 |
|
| 57 |
Void ChangeMaxAlbumArtSize(Int); |
| 58 |
public: |
| 59 |
ConfigureAlbumArt(); |
| 60 |
~ConfigureAlbumArt(); |
| 61 |
|
| 62 |
Int SaveSettings(); |
| 63 |
}; |
| 64 |
}; |
| 65 |
|
| 66 |
#endif |