summaryrefslogtreecommitdiffstats
path: root/src/SampleWindow.hh
blob: f17314b8b076429d9af52b95dcb17c0b2992c359 (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
32
33
#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,
        *lazyLabel,
        *filenameLabel;

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

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

#endif