| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
#ifndef H_TAGEDIT_CHOOSER_TRACKS |
| 14 |
#define H_TAGEDIT_CHOOSER_TRACKS |
| 15 |
|
| 16 |
#include <smooth.h> |
| 17 |
#include <boca.h> |
| 18 |
|
| 19 |
using namespace smooth; |
| 20 |
using namespace smooth::GUI; |
| 21 |
|
| 22 |
using namespace BoCA; |
| 23 |
|
| 24 |
#include "chooser.h" |
| 25 |
|
| 26 |
namespace BoCA |
| 27 |
{ |
| 28 |
class ChooserTracks : public Chooser |
| 29 |
{ |
| 30 |
private: |
| 31 |
Array<Track> tracks; |
| 32 |
|
| 33 |
ListBox *list_tracks; |
| 34 |
DropArea *droparea_tracks; |
| 35 |
|
| 36 |
Shortcut *shortcut_previous; |
| 37 |
Shortcut *shortcut_next; |
| 38 |
Shortcut *shortcut_first; |
| 39 |
Shortcut *shortcut_last; |
| 40 |
Shortcut *shortcut_remove; |
| 41 |
slots: |
| 42 |
Void OnApplicationAddTrack(const Track &); |
| 43 |
Void OnApplicationModifyTrack(const Track &); |
| 44 |
Void OnApplicationRemoveTrack(const Track &); |
| 45 |
Void OnApplicationSelectTrack(const Track &); |
| 46 |
|
| 47 |
Void OnApplicationRemoveAllTracks(); |
| 48 |
|
| 49 |
Void OnDropFiles(const Array<String> &); |
| 50 |
|
| 51 |
Void OnSelectTrack(); |
| 52 |
|
| 53 |
Void OnShortcutPrevious(); |
| 54 |
Void OnShortcutNext(); |
| 55 |
Void OnShortcutFirst(); |
| 56 |
Void OnShortcutLast(); |
| 57 |
Void OnShortcutRemove(); |
| 58 |
|
| 59 |
Void OnChangeSize(const Size &); |
| 60 |
Void OnChangeLanguageSettings(); |
| 61 |
public: |
| 62 |
ChooserTracks(); |
| 63 |
~ChooserTracks(); |
| 64 |
|
| 65 |
Void ReselectEntry(); |
| 66 |
}; |
| 67 |
}; |
| 68 |
|
| 69 |
#endif |