Example #1
0
        protected virtual void OnEventbox3ButtonPressEvent(object o, Gtk.ButtonPressEventArgs args)
        {
            if(this.picimage==UUID.Zero)
                return;

            TexturePreview tp= new TexturePreview(this.picimage,label_sim.Text,false);
            tp.ShowAll();
        }
        void onViewTexture(object o, ButtonPressEventArgs args)
        {
            Gtk.TreeModel mod;
            Gtk.TreeIter iter;

            TreePath[] paths = treeview_inv.Selection.GetSelectedRows(out mod);

            foreach (TreePath path in paths)
            {
                if (mod.GetIter(out iter, path))
                {

                    InventoryBase item = (InventoryBase)mod.GetValue(iter, 3);
                    TexturePreview tp = new TexturePreview(item.UUID, item.Name, true);
                    tp.ShowAll();
                }
            }
        }
 protected virtual void OnEventbox3ButtonPressEvent(object o, Gtk.ButtonPressEventArgs args)
 {
     TexturePreview tp= new TexturePreview(this.current_image,"Location snapsnot",false);
     tp.ShowAll();
 }
        protected virtual void OnEventbox1ButtonPressEvent(object o, Gtk.ButtonPressEventArgs args)
        {
            if(this.profile_pic==UUID.Zero)
                return;

            TexturePreview tp= new TexturePreview(this.profile_pic,this.label_name.Text,false);
            tp.ShowAll();
        }
        protected virtual void OnEventbox2ButtonPressEvent(object o, Gtk.ButtonPressEventArgs args)
        {
            if(this.parcel_image==UUID.Zero)
                return;

            TexturePreview tp= new TexturePreview(this.parcel_image,"Parcel snapsnot",false);
            tp.ShowAll();
        }