Beispiel #1
0
        public StatusUpdate(XbmControlEvo parent)
        {
            _parent 		= parent;
            firstRun 		= true;
            pathNowPlaying	= null;

            Start();
        }
Beispiel #2
0
        public StatusUpdate(XbmControlEvo parent)
        {
            _parent        = parent;
            firstRun       = true;
            pathNowPlaying = null;

            Start();
        }
Beispiel #3
0
        public SysTrayIcon(XbmControlEvo parent)
        {
            _parent = parent;

            siTray            = new StatusIcon(new Pixbuf("Interface/Images/icon.png"));
            siTray.Visible    = true;
            siTray.Activate  += OnActivate;
            siTray.PopupMenu += OnTrayIconPopup;
            siTray.Tooltip    = "XBMControl Evo";
        }
Beispiel #4
0
        public Configuration(XbmControlEvo parent)
        {
            fieldNames    = new sFieldNames(null);
            values        = new sValues(null);
            _parent       = parent;
            xmlDoc        = new XmlDocument();
            xmlConfigFile = new FileInfo(@_parent.configFile);

            Load();
        }
Beispiel #5
0
        public SysTrayIcon(XbmControlEvo parent)
        {
            _parent 			= parent;

            siTray 				= new StatusIcon(new Pixbuf (_parent.appDir + "/Interface/" + _parent.theme + "/icons/icon.png"));
            siTray.Visible 		= true;
            siTray.Activate 	+= OnActivate;
            siTray.PopupMenu 	+= OnTrayIconPopup;
            siTray.Tooltip 		= "XBMControl Evo";
        }
Beispiel #6
0
        public Configuration(XbmControlEvo parent)
        {
            fieldNames		= new sFieldNames(null);
            values			= new sValues(null);
            _parent 		= parent;
            xmlDoc			= new XmlDocument();
            xmlConfigFile 	= new FileInfo(@_parent.configFile);

            Load();
        }
Beispiel #7
0
        public Configuration(XbmControlEvo parent)
        {
            fieldName		= new sFieldName(null);
            values			= new sValues(null);
            _parent 		= parent;
            configFile		= _parent.appDir + "/config.xml";
            xmlDoc			= new XmlDocument();
            xmlConfigFile 	= new FileInfo(configFile);

            Load();
        }
Beispiel #8
0
        public Configuration(XbmControlEvo parent)
        {
            fieldName     = new sFieldName(null);
            values        = new sValues(null);
            _parent       = parent;
            configFile    = _parent.appDir + "/config.xml";
            xmlDoc        = new XmlDocument();
            xmlConfigFile = new FileInfo(configFile);

            Load();
        }
Beispiel #9
0
        public SysTrayIcon(XbmControlEvo parent)
        {
            _parent 			= parent;

            this.siTray 			= new StatusIcon(this._parent.oImages.menu.icon);
            this.siTray.Visible 	= true;
            this.siTray.Activate 	+= OnActivate;
            this.siTray.PopupMenu 	+= OnTrayIconPopup;
            this.siTray.Tooltip 	= "XBMControl Evo";
            this.balloonTip			= new Notification();

            //ShowBallonTip();
        }
Beispiel #10
0
        public SysTrayIcon(XbmControlEvo parent)
        {
            _parent = parent;

            this.siTray            = new StatusIcon(this._parent.oImages.menu.icon);
            this.siTray.Visible    = true;
            this.siTray.Activate  += OnActivate;
            this.siTray.PopupMenu += OnTrayIconPopup;
            this.siTray.Tooltip    = "XBMControl Evo";
            this.balloonTip        = new Notification();

            //ShowBallonTip();
        }
Beispiel #11
0
        public GenreBrowser(XbmControlEvo parent)
        {
            selectedIter = new TreeIter();
            _parent      = parent;

            tsGenres = new TreeStore(typeof(Pixbuf), typeof(string), typeof(string));

            tvcGenreIcons = _parent._tvGenres.AppendColumn("", new CellRendererPixbuf(), "pixbuf", 0);
            tvcGenreNames = _parent._tvGenres.AppendColumn("", new CellRendererText(), "text", 1);

            tvcGenreIcons.Sizing = TreeViewColumnSizing.Autosize;
            tvcGenreNames.Sizing = TreeViewColumnSizing.Autosize;
            _parent._tvGenres.ColumnsAutosize();
        }
Beispiel #12
0
        public GenreBrowser(XbmControlEvo parent)
        {
            selectedIter 	= new TreeIter();
            _parent 		= parent;

            tsGenres	 	= new TreeStore (typeof (Pixbuf), typeof (string), typeof (string));

            tvcGenreIcons 	= _parent.tvGenres.AppendColumn ("", new CellRendererPixbuf (), "pixbuf", 0);
            tvcGenreNames 	= _parent.tvGenres.AppendColumn ("", new CellRendererText (), "text", 1);

            tvcGenreIcons.Sizing 	= TreeViewColumnSizing.Autosize;
            tvcGenreNames.Sizing	= TreeViewColumnSizing.Autosize;
            _parent.tvGenres.ColumnsAutosize();
        }
Beispiel #13
0
        public AlbumBrowser(XbmControlEvo parent)
        {
            selectedIter = new TreeIter();
            _parent      = parent;

            tsAlbums = new TreeStore(typeof(Pixbuf), typeof(string), typeof(string));

            tvcAlbumIcons = _parent._tvAlbums.AppendColumn("", new CellRendererPixbuf(), "pixbuf", 0);
            tvcAlbumNames = _parent._tvAlbums.AppendColumn("", new CellRendererText(), "text", 1);
            tvcAlbumIds   = _parent._tvAlbums.AppendColumn("", new CellRendererText(), "text", 2);

            tvcAlbumIds.Visible  = false;
            tvcAlbumIcons.Sizing = TreeViewColumnSizing.Autosize;
            tvcAlbumNames.Sizing = TreeViewColumnSizing.Autosize;
            _parent._tvAlbums.ColumnsAutosize();
        }
Beispiel #14
0
        public AlbumBrowser(XbmControlEvo parent)
        {
            selectedIter 	= new TreeIter();
            _parent 		= parent;

            tsAlbums	 	= new TreeStore (typeof (Pixbuf), typeof (string), typeof (string));

            tvcAlbumIcons 	= _parent._tvAlbums.AppendColumn ("", new CellRendererPixbuf (), "pixbuf", 0);
            tvcAlbumNames 	= _parent._tvAlbums.AppendColumn ("", new CellRendererText (), "text", 1);
            tvcAlbumIds 	= _parent._tvAlbums.AppendColumn ("", new CellRendererText (), "text", 2);

            tvcAlbumIds.Visible 	= false;
            tvcAlbumIcons.Sizing 	= TreeViewColumnSizing.Autosize;
            tvcAlbumNames.Sizing	= TreeViewColumnSizing.Autosize;
            _parent._tvAlbums.ColumnsAutosize();
        }
Beispiel #15
0
        public Playlist(XbmControlEvo parent)
        {
            tsPlaylist = new TreeStore(typeof(Pixbuf), typeof(string), typeof(Pixbuf), typeof(string), typeof(string));
            _parent    = parent;

            TreeViewColumn tvcPlaying = _parent._tvPlaylist.AppendColumn("", new CellRendererPixbuf(), "pixbuf", 0);
            TreeViewColumn tvcNumber  = _parent._tvPlaylist.AppendColumn("", new Gtk.CellRendererText(), "text", 1);
            TreeViewColumn tvcIcon    = _parent._tvPlaylist.AppendColumn("", new CellRendererPixbuf(), "pixbuf", 2);
            TreeViewColumn tvcTitle   = _parent._tvPlaylist.AppendColumn("", new Gtk.CellRendererText(), "text", 3);
            TreeViewColumn tvcPath    = _parent._tvPlaylist.AppendColumn("", new Gtk.CellRendererText(), "text", 4);

            tvcPath.Visible = false;

            SetCurrentPlaylistType("0");

            Populate();
        }
Beispiel #16
0
        public Playlist(XbmControlEvo parent)
        {
            tsPlaylist	= new TreeStore (typeof (Pixbuf), typeof (string), typeof (Pixbuf), typeof (string), typeof (string));
            _parent 	= parent;

            TreeViewColumn tvcPlaying 	= _parent._tvPlaylist.AppendColumn ("", new CellRendererPixbuf(), "pixbuf", 0);
            TreeViewColumn tvcNumber 	= _parent._tvPlaylist.AppendColumn ("", new Gtk.CellRendererText (), "text", 1);
            TreeViewColumn tvcIcon	 	= _parent._tvPlaylist.AppendColumn ("", new CellRendererPixbuf(), "pixbuf", 2);
            TreeViewColumn tvcTitle 	= _parent._tvPlaylist.AppendColumn ("", new Gtk.CellRendererText (), "text", 3);
            TreeViewColumn tvcPath	 	= _parent._tvPlaylist.AppendColumn ("", new Gtk.CellRendererText(), "text", 4);

            tvcPath.Visible 					= false;

            SetCurrentPlaylistType("0");

            Populate();
        }
Beispiel #17
0
        public Playlist(XbmControlEvo parent)
        {
            tsPlaylist	 = new TreeStore (typeof (Pixbuf), typeof (string), typeof (Pixbuf), typeof (string), typeof (string));
            tiNowPlaying = new TreeIter();
            _parent 	 = parent;

            _parent._tvPlaylist.AppendColumn ("", new CellRendererPixbuf(), "pixbuf", 0);
            _parent._tvPlaylist.AppendColumn ("", new Gtk.CellRendererText (), "text", 1);
            _parent._tvPlaylist.AppendColumn ("", new CellRendererPixbuf(), "pixbuf", 2);
            _parent._tvPlaylist.AppendColumn ("", new Gtk.CellRendererText (), "text", 3);

            TreeViewColumn tvcPath	 			= _parent._tvPlaylist.AppendColumn ("", new Gtk.CellRendererText(), "text", 4);
            tvcPath.Visible 					= false;
            _parent._tvPlaylist.Selection.Mode 	= SelectionMode.Multiple;

            if (_parent.IsConnected())
                SetCurrentPlaylistType("0");
        }
Beispiel #18
0
        public FileBrowser(XbmControlEvo parent)
        {
            _parent = parent;

            tsFiles = new TreeStore(typeof(string), typeof(Pixbuf), typeof(string), typeof(string), typeof(string), typeof(string));

            tvcFileNumbers = _parent._tvFiles.AppendColumn("", new CellRendererText(), "text", 0);
            tvcFileIcons   = _parent._tvFiles.AppendColumn("", new CellRendererPixbuf(), "pixbuf", 1);
            tvcFileNames   = _parent._tvFiles.AppendColumn("", new CellRendererText(), "text", 2);
            tvcFilePaths   = _parent._tvFiles.AppendColumn("", new CellRendererText(), "text", 3);
            tvcFileTypes   = _parent._tvFiles.AppendColumn("", new CellRendererText(), "text", 4);

            tvcFilePaths.Visible = false;
            tvcFileTypes.Visible = false;
            tvcFileIcons.Sizing  = TreeViewColumnSizing.Autosize;
            tvcFileNames.Sizing  = TreeViewColumnSizing.Autosize;
            _parent._tvFiles.ColumnsAutosize();
        }
Beispiel #19
0
        public FileBrowser(XbmControlEvo parent)
        {
            _parent = parent;

            tsFiles			= new TreeStore (typeof (string), typeof (Pixbuf), typeof (string), typeof (string), typeof (string), typeof (string));

            tvcFileNumbers 	= _parent._tvFiles.AppendColumn ("", new CellRendererText (), "text", 0);
            tvcFileIcons 	= _parent._tvFiles.AppendColumn ("", new CellRendererPixbuf (), "pixbuf", 1);
            tvcFileNames 	= _parent._tvFiles.AppendColumn ("", new CellRendererText (), "text", 2);
            tvcFilePaths	= _parent._tvFiles.AppendColumn ("", new CellRendererText (), "text", 3);
            tvcFileTypes	= _parent._tvFiles.AppendColumn ("", new CellRendererText (), "text", 4);

            tvcFilePaths.Visible  	= false;
            tvcFileTypes.Visible  	= false;
            tvcFileIcons.Sizing		= TreeViewColumnSizing.Autosize;
            tvcFileNames.Sizing		= TreeViewColumnSizing.Autosize;
            _parent._tvFiles.ColumnsAutosize();
        }
Beispiel #20
0
        public ShareBrowser(XbmControlEvo parent)
        {
            this.selectedIter 	= new TreeIter();
            this._parent 		= parent;
            this.tsShares 		= new TreeStore (typeof (Pixbuf), typeof (string), typeof (string), typeof (string), typeof (string));
            this.tvcShareIcons 	= this._parent.tvShares.AppendColumn ("", new CellRendererPixbuf (), "pixbuf", 0);
            this.tvcShareNames 	= this._parent.tvShares.AppendColumn ("", new CellRendererText (), "text", 1);
            this.tvcSharePaths	= this._parent.tvShares.AppendColumn ("", new CellRendererText (), "text", 2);
            this.tvcShareTypes	= this._parent.tvShares.AppendColumn ("", new CellRendererText (), "text", 3);

            this.tvcSharePaths.Visible 	= false;
            this.tvcShareTypes.Visible 	= false;
            this.tvcShareIcons.Sizing 	= TreeViewColumnSizing.Autosize;
            this.tvcShareNames.Sizing	= TreeViewColumnSizing.Autosize;
            this._parent.tvShares.ColumnsAutosize();

            this.SetShareTypes();
            this.SetCurrentShareType(0);
        }
Beispiel #21
0
        public ShareBrowser(XbmControlEvo parent)
        {
            this.selectedIter  = new TreeIter();
            this._parent       = parent;
            this.tsShares      = new TreeStore(typeof(Pixbuf), typeof(string), typeof(string), typeof(string), typeof(string));
            this.tvcShareIcons = this._parent.tvShares.AppendColumn("", new CellRendererPixbuf(), "pixbuf", 0);
            this.tvcShareNames = this._parent.tvShares.AppendColumn("", new CellRendererText(), "text", 1);
            this.tvcSharePaths = this._parent.tvShares.AppendColumn("", new CellRendererText(), "text", 2);
            this.tvcShareTypes = this._parent.tvShares.AppendColumn("", new CellRendererText(), "text", 3);

            this.tvcSharePaths.Visible = false;
            this.tvcShareTypes.Visible = false;
            this.tvcShareIcons.Sizing  = TreeViewColumnSizing.Autosize;
            this.tvcShareNames.Sizing  = TreeViewColumnSizing.Autosize;
            this._parent.tvShares.ColumnsAutosize();

            this.SetShareTypes();
            this.SetCurrentShareType(0);
        }
Beispiel #22
0
        public FileBrowser(XbmControlEvo parent)
        {
            _parent 		= parent;
            selectedIter 	= new TreeIter();
            tsFiles			= new TreeStore (typeof (string), typeof (Pixbuf), typeof (string), typeof (string), typeof (string), typeof (string));

            this._parent.tvFiles.AppendColumn ("", new CellRendererText (), "text", 0);
            TreeViewColumn tvcFileIcons 	= this._parent.tvFiles.AppendColumn ("", new CellRendererPixbuf (), "pixbuf", 1);
            TreeViewColumn tvcFileNames 	= this._parent.tvFiles.AppendColumn ("", new CellRendererText (), "text", 2);
            TreeViewColumn tvcFilePaths		= this._parent.tvFiles.AppendColumn ("", new CellRendererText (), "text", 3);
            TreeViewColumn tvcFileTypes		= this._parent.tvFiles.AppendColumn ("", new CellRendererText (), "text", 4);

            tvcFilePaths.Visible  	= false;
            tvcFileTypes.Visible  	= false;
            tvcFileIcons.Sizing		= TreeViewColumnSizing.Autosize;
            tvcFileNames.Sizing		= TreeViewColumnSizing.Autosize;

            this._parent.tvFiles.ColumnsAutosize();
            this._parent.tvFiles.Selection.Mode = SelectionMode.Multiple;
        }
Beispiel #23
0
        public FileBrowser(XbmControlEvo parent)
        {
            _parent      = parent;
            selectedIter = new TreeIter();
            tsFiles      = new TreeStore(typeof(string), typeof(Pixbuf), typeof(string), typeof(string), typeof(string), typeof(string));

            this._parent.tvFiles.AppendColumn("", new CellRendererText(), "text", 0);
            TreeViewColumn tvcFileIcons = this._parent.tvFiles.AppendColumn("", new CellRendererPixbuf(), "pixbuf", 1);
            TreeViewColumn tvcFileNames = this._parent.tvFiles.AppendColumn("", new CellRendererText(), "text", 2);
            TreeViewColumn tvcFilePaths = this._parent.tvFiles.AppendColumn("", new CellRendererText(), "text", 3);
            TreeViewColumn tvcFileTypes = this._parent.tvFiles.AppendColumn("", new CellRendererText(), "text", 4);

            tvcFilePaths.Visible = false;
            tvcFileTypes.Visible = false;
            tvcFileIcons.Sizing  = TreeViewColumnSizing.Autosize;
            tvcFileNames.Sizing  = TreeViewColumnSizing.Autosize;

            this._parent.tvFiles.ColumnsAutosize();
            this._parent.tvFiles.Selection.Mode = SelectionMode.Multiple;
        }
Beispiel #24
0
        public Playlist(XbmControlEvo parent)
        {
            tsPlaylist   = new TreeStore(typeof(Pixbuf), typeof(string), typeof(Pixbuf), typeof(string), typeof(string));
            tiNowPlaying = new TreeIter();
            _parent      = parent;

            _parent._tvPlaylist.AppendColumn("", new CellRendererPixbuf(), "pixbuf", 0);
            _parent._tvPlaylist.AppendColumn("", new Gtk.CellRendererText(), "text", 1);
            _parent._tvPlaylist.AppendColumn("", new CellRendererPixbuf(), "pixbuf", 2);
            _parent._tvPlaylist.AppendColumn("", new Gtk.CellRendererText(), "text", 3);

            TreeViewColumn tvcPath = _parent._tvPlaylist.AppendColumn("", new Gtk.CellRendererText(), "text", 4);

            tvcPath.Visible = false;
            _parent._tvPlaylist.Selection.Mode = SelectionMode.Multiple;

            if (_parent.IsConnected())
            {
                SetCurrentPlaylistType("0");
            }
        }
Beispiel #25
0
 public MenuItems(XbmControlEvo parent)
 {
     _parent = parent;
 }
Beispiel #26
0
 public Controls(XbmControlEvo parent)
 {
     _parent = parent;
 }
Beispiel #27
0
 public NowPlaying(XbmControlEvo parent)
 {
     _parent = parent;
 }
Beispiel #28
0
        public Images(XbmControlEvo parent)
        {
            _parent 	= parent;

            imagePath 	= _parent.appUserDir + "/Interface/" + _parent.theme + "/";
            menu 		= new sMenu(imagePath);
            button		= new sButton(imagePath);
        }
Beispiel #29
0
 public NowPlaying(XbmControlEvo parent)
 {
     _parent = parent;
 }
Beispiel #30
0
 public Controls(XbmControlEvo parent)
 {
     _parent = parent;
 }
Beispiel #31
0
 public MenuItems(XbmControlEvo parent)
 {
     _parent = parent;
 }
Beispiel #32
0
 public StatusUpdate(XbmControlEvo parent)
 {
     _parent 		= parent;
     pathNowPlaying	= null;
     run 			= false;
 }
 public HelperFunctions(XbmControlEvo parent)
 {
     _parent = parent;
 }
Beispiel #34
0
 public StatusUpdate(XbmControlEvo parent)
 {
     _parent        = parent;
     pathNowPlaying = null;
     isRunning      = false;
 }
Beispiel #35
0
 public HelperFunctions(XbmControlEvo parent)
 {
     _parent = parent;
 }
Beispiel #36
0
 public ContextMenu(XbmControlEvo parent)
 {
     _parent = parent;
 }
Beispiel #37
0
 public ContextMenu(XbmControlEvo parent)
 {
     _parent = parent;
 }