Esempio n. 1
0
        public StatusUpdate(XbmControlEvo parent)
        {
            _parent 		= parent;
            firstRun 		= true;
            pathNowPlaying	= null;

            Start();
        }
Esempio n. 2
0
        public StatusUpdate(XbmControlEvo parent)
        {
            _parent        = parent;
            firstRun       = true;
            pathNowPlaying = null;

            Start();
        }
Esempio n. 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";
        }
Esempio n. 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();
        }
Esempio n. 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";
        }
Esempio n. 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();
        }
Esempio n. 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();
        }
Esempio n. 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();
        }
Esempio n. 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();
        }
Esempio n. 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();
        }
Esempio n. 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();
        }
Esempio n. 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();
        }
Esempio n. 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();
        }
Esempio n. 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();
        }
Esempio n. 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();
        }
Esempio n. 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();
        }
Esempio n. 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");
        }
Esempio n. 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();
        }
Esempio n. 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();
        }
Esempio n. 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);
        }
Esempio n. 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);
        }
Esempio n. 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;
        }
Esempio n. 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;
        }
Esempio n. 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");
            }
        }
Esempio n. 25
0
 public MenuItems(XbmControlEvo parent)
 {
     _parent = parent;
 }
Esempio n. 26
0
 public Controls(XbmControlEvo parent)
 {
     _parent = parent;
 }
Esempio n. 27
0
 public NowPlaying(XbmControlEvo parent)
 {
     _parent = parent;
 }
Esempio n. 28
0
        public Images(XbmControlEvo parent)
        {
            _parent 	= parent;

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