00001 #ifndef APANEL_H
00002 #define APANEL_H
00003
00004
00005 #include "cwindowgui.inc"
00006 #include "guicast.h"
00007 #include "mwindow.inc"
00008 #include "track.inc"
00009
00010
00011
00012 class APanelPluginAuto;
00013 class APanelMute;
00014 class APanelPlay;
00015
00016 class APanel
00017 {
00018 public:
00019 APanel(MWindow *mwindow, CWindowGUI *subwindow, int x, int y, int w, int h);
00020 ~APanel();
00021
00022 int create_objects();
00023
00024 MWindow *mwindow;
00025 CWindowGUI *subwindow;
00026 int x, y, w, h;
00027 APanelPluginAuto *plugin_autos[PLUGINS];
00028 APanelMute *mute;
00029 APanelPlay *play;
00030 };
00031
00032 class APanelPluginAuto : public BC_FPot
00033 {
00034 public:
00035 APanelPluginAuto(MWindow *mwindow, APanel *gui, int x, int y);
00036 int handle_event();
00037 MWindow *mwindow;
00038 APanel *gui;
00039 };
00040
00041
00042 class APanelMute : public BC_CheckBox
00043 {
00044 public:
00045 APanelMute(MWindow *mwindow, APanel *gui, int x, int y);
00046 int handle_event();
00047 MWindow *mwindow;
00048 APanel *gui;
00049 };
00050
00051
00052 class APanelPlay : public BC_CheckBox
00053 {
00054 public:
00055 APanelPlay(MWindow *mwindow, APanel *gui, int x, int y);
00056 int handle_event();
00057 MWindow *mwindow;
00058 APanel *gui;
00059 };
00060
00061
00062 #endif