initial import

This commit is contained in:
ghorvath
2010-01-01 11:52:33 +00:00
commit 35da4bbfb7
511 changed files with 109473 additions and 0 deletions

33
rtgui/recentbrowser.h.old Executable file
View File

@@ -0,0 +1,33 @@
#ifndef _RECENTBROWSER_
#define _RECENTBROWSER_
#include <gtkmm.h>
#include <dirbrowserremoteinterface.h>
#include <dirselectionlistener.h>
class RecentBrowser : public Gtk::VBox, public DirSelectionListener {
class RecentColumns : public Gtk::TreeModel::ColumnRecord {
public:
Gtk::TreeModelColumn<Glib::ustring> dir;
RecentColumns() { add(dir); }
};
RecentColumns recentColumns;
Gtk::ScrolledWindow* scrollw;
Gtk::TreeView* treeView;
Glib::RefPtr<Gtk::ListStore> recentModel;
DirBrowserRemoteInterface* listener;
public:
RecentBrowser ();
void setDirBrowserRemoteInterface (DirBrowserRemoteInterface* l) { listener = l; }
void selectionChanged ();
void dirSelected (const Glib::ustring& dirname, const Glib::ustring& openfile="");
};
#endif