예제 #1
0
파일: ItemPreview.cs 프로젝트: pulb/basenji
        public ItemPreview()
        {
            this.RoundedCorners		= true;
            this.EnableGenericIcons = true;

            this.itemIcons			= new ItemIcons(this);
            this.pb					= null;
            this.isIcon				= false;
        }
예제 #2
0
파일: ItemView.cs 프로젝트: pulb/basenji
        public ItemView()
        {
            itemIcons = new ItemIcons(this);
            loadingIcon = this.RenderIcon(Icons.Icon.Stock_Find, ICON_SIZE);

            HeadersClickable = true;

            database = null;
            currentVolumeType = (VolumeType)(-1);
            item_col = -1;

            // event handlers
            RowExpanded			+= OnRowExpanded;
            ButtonPressEvent	+= OnButtonPressEvent;
        }
예제 #3
0
        public SearchResultView()
        {
            itemIcons = new ItemIcons(this);
            volumeCache = new Dictionary<long,Volume>();

            //
            // setup columns
            //
            TreeViewColumn col;

            col = new TreeViewColumn(string.Empty, new CellRendererPixbuf(), "pixbuf", 0);
            col.Expand = false;
            AppendColumn(col);

            col = new TreeViewColumn(string.Empty, new CellRendererText(), "markup", 1);
            col.Expand = true;
            AppendColumn(col);
        }