Freya  0.0.1
A Gtk3 MPD Client
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
src/Browser/NowPlaying/ImageWall.hh
Go to the documentation of this file.
00001 #ifndef FREYA_IMAGEWALL_HH
00002 #define FREYA_IMAGEWALL_HH
00003 
00004 #include <gtkmm.h>
00005 #include <glyr/glyr.h>
00006 
00007 namespace Browser 
00008 {
00009     class ImageWall : public Gtk::Grid 
00010     {
00011         public:
00012             ImageWall(int xmax, int ymax);
00013 
00014             void add(Widget& w);
00015             void add(std::string& path);
00016             void add(GlyrMemCache * c, int width = 75, int height = 75, bool aspect = false);
00017             void clear();
00018 
00019         private:
00020 
00021             int col,row;
00022             int xmax, ymax;
00023     };
00024 }
00025 
00026 #endif /* end of include guard: FREYA_IMAGEWALL_HH */