Documentation ¶
Index ¶
- Constants
- Variables
- func Constant_ZoomArray() []int
- func Constant_ZoomMax() int
- func GetExtensionIconName(ftype string, dir bool) string
- func GetIcon_ImageFolder(zoom int) *image.RGBA
- func GetIcon_ImageRGBA(zoom int, ftype string, dir bool) image.Image
- func GetIcon_ImageRGBA_OF(zoom int, iconname string) image.Image
- func GetIcon_PixBif(zoom int, ftype string, dir bool) *gdk.Pixbuf
- func GetIcon_PixBif_OF(zoom int, iconname string) *gdk.Pixbuf
- func GetImage_OneYellowPixel() *[]byte
- func ResizePixelBuffer(pixbuf *gdk.Pixbuf, zoom_size int, interp gdk.InterpType) (*gdk.Pixbuf, bool)
- func ZoomSmall(zoom_big int) int
- type FileIconBlock
- func (i *FileIconBlock) ConnectEventBox(eventname string, f func(_ *gtk.EventBox, event *gdk.Event))
- func (i *FileIconBlock) Destroy()
- func (i *FileIconBlock) GetDateModified() Time
- func (i *FileIconBlock) GetErrored() bool
- func (i *FileIconBlock) GetFileName() string
- func (i *FileIconBlock) GetIcon() *gtk.Image
- func (i *FileIconBlock) GetSelected() bool
- func (i *FileIconBlock) GetSizeBytes() int64
- func (i *FileIconBlock) GetWidgetMain() *gtk.Widget
- func (i *FileIconBlock) IsClickedIn(container *gtk.Widget, x0, y0 int) bool
- func (i *FileIconBlock) IsDir() bool
- func (i *FileIconBlock) IsInSelectRect(container *gtk.Widget, x1, y1, x2, y2 int) bool
- func (i *FileIconBlock) SetIconPixPuf(pixbuf_icon *gdk.Pixbuf)
- func (i *FileIconBlock) SetLoading(v bool, err bool)
- func (i *FileIconBlock) SetSelected(v bool)
- func (i *FileIconBlock) SetWidth(wid int)
- type IconSetOfZoom
Constants ¶
View Source
const BACK_GRAY_HIDDEN float64 = 0.9
View Source
const BACK_GRAY_VISIBLE float64 = 0.8
View Source
const BORDER_SIZE = 8
View Source
const FILE_TYPE_ARCHIVE = "archive"
View Source
const FILE_TYPE_BIN = "bin"
View Source
const FILE_TYPE_FOLDER = "folder"
View Source
const FILE_TYPE_FOLDER_HASH = "folder_hash"
View Source
const FILE_TYPE_IMAGE = "image"
View Source
const FILE_TYPE_MOVIE = "movie"
View Source
const FILE_TYPE_NOTFILE = "notfile"
View Source
const FILE_TYPE_UNKNOWN = "unknown"
View Source
const FILE_TYPE_ZERO = "zero"
View Source
const GUI_PATH = "gui/"
View Source
const MIME_CONFIG = "mime/filetypes.cfg"
View Source
const MIME_PATH = "mime/"
View Source
const PREFIX_DRAWONME = "drawonme_"
View Source
const PREFIX_EXTRA = "extra_"
Variables ¶
View Source
var Image_LoadingError *image.RGBA
View Source
var TABLE_EXTENSIONS_ICONS_NAMES map[string]string
View Source
var TABLE_EXTENSIONS_ICONS_SETS map[int]*IconSetOfZoom
Functions ¶
func Constant_ZoomArray ¶
func Constant_ZoomArray() []int
func Constant_ZoomMax ¶
func Constant_ZoomMax() int
func GetExtensionIconName ¶
func GetIcon_ImageFolder ¶
func GetImage_OneYellowPixel ¶
func GetImage_OneYellowPixel() *[]byte
func ResizePixelBuffer ¶
Types ¶
type FileIconBlock ¶
type FileIconBlock struct {
// contains filtered or unexported fields
}
func NewFileIconBlock ¶
func (*FileIconBlock) ConnectEventBox ¶
func (*FileIconBlock) Destroy ¶
func (i *FileIconBlock) Destroy()
func (*FileIconBlock) GetDateModified ¶
func (i *FileIconBlock) GetDateModified() Time
func (*FileIconBlock) GetErrored ¶
func (i *FileIconBlock) GetErrored() bool
func (*FileIconBlock) GetFileName ¶
func (i *FileIconBlock) GetFileName() string
func (*FileIconBlock) GetIcon ¶
func (i *FileIconBlock) GetIcon() *gtk.Image
func (*FileIconBlock) GetSelected ¶
func (i *FileIconBlock) GetSelected() bool
func (*FileIconBlock) GetSizeBytes ¶
func (i *FileIconBlock) GetSizeBytes() int64
func (*FileIconBlock) IsClickedIn ¶
func (i *FileIconBlock) IsClickedIn(container *gtk.Widget, x0, y0 int) bool
func (*FileIconBlock) IsDir ¶
func (i *FileIconBlock) IsDir() bool
func (*FileIconBlock) IsInSelectRect ¶
func (i *FileIconBlock) IsInSelectRect(container *gtk.Widget, x1, y1, x2, y2 int) bool
func (*FileIconBlock) SetIconPixPuf ¶
func (i *FileIconBlock) SetIconPixPuf(pixbuf_icon *gdk.Pixbuf)
func (*FileIconBlock) SetLoading ¶
func (i *FileIconBlock) SetLoading(v bool, err bool)
func (*FileIconBlock) SetSelected ¶
func (i *FileIconBlock) SetSelected(v bool)
func (*FileIconBlock) SetWidth ¶
func (i *FileIconBlock) SetWidth(wid int)
type IconSetOfZoom ¶
type IconSetOfZoom struct { BigPixBufs map[string]*gdk.Pixbuf SmallImageRGBA map[string]image.Image FolderImageRGBA *image.RGBA }
func Make_IconSetOfZoom ¶
func Make_IconSetOfZoom(zoom int) *IconSetOfZoom
Click to show internal directories.
Click to hide internal directories.