summaryrefslogtreecommitdiffstats
path: root/src/SampleWindow.hh
blob: 71c993040a238ddf634bb28e8f9e97e7bc58447c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#ifndef foosamplewindowhhfoo
#define foosamplewindowhhfoo

#include <gtkmm.h>
#include <libglademm.h>

class SampleWindow;

#include "ServerInfoManager.hh"

class SampleWindow : public Gtk::Window {
public:
    SampleWindow(BaseObjectType* cobject, const Glib::RefPtr<Gnome::Glade::Xml>& refGlade);
    static SampleWindow* create();

    Gtk::Label *nameLabel,
        *indexLabel,
        *volumeLabel,
        *sampleTypeLabel,
        *durationLabel,
        *sizeLabel;

    Gtk::Button *closeButton;
    
    void updateInfo(const SampleInfo &i);

    virtual void onCloseButton();
    virtual bool on_delete_event(GdkEventAny* e);
};

#endif