FileView: Add new default file type icons.

[GB.FORM]
* NEW: FileView: Add new default file type icons.
This commit is contained in:
gambas 2021-04-24 16:40:56 +02:00
parent 5014ade2ba
commit 1fc07f29c9

View file

@ -84,31 +84,47 @@ Static Public Sub _init()
$cExt["html"] = "html"
$cExt["htm"] = "html"
$cExt["css"] = "html"
$cExt["css"] = "css"
$cExt["js"] = "js"
$cExt["xml"] = "xml"
$cExt["tar"] = "archive"
$cExt["gz"] = "archive"
$cExt["tgz"] = "archive"
$cExt["bz2"] = "archive"
$cExt["z"] = "archive"
$cExt["zip"] = "archive"
$cExt["xz"] = "archive"
$cExt["txt"] = "text"
$cExt["log"] = "text"
$cExt["json"] = "text"
$cExt["mp3"] = "audio"
$cExt["aac"] = "audio"
$cExt["ogg"] = "audio"
$cExt["oga"] = "audio"
$cExt["flac"] = "audio"
$cExt["wav"] = "audio"
$cExt["mpg"] = "video"
$cExt["mpeg"] = "video"
$cExt["avi"] = "video"
$cExt["wmv"] = "video"
$cExt["mov"] = "video"
$cExt["gambas"] = "gambas"
$cExt["c"] = "text"
$cExt["cpp"] = "text"
$cExt["h"] = "text"
$cExt["gbs"] = "gambas"
$cExt["c"] = "c"
$cExt["cpp"] = "cpp"
$cExt["h"] = "h"
$cExt["deb"] = "package"
$cExt["rpm"] = "package"
$cExt["iso"] = "cdrom"
$cExt["jpg"] = "image"
$cExt["jpeg"] = "image"
$cExt["png"] = "image"
@ -118,7 +134,10 @@ Static Public Sub _init()
$cExt["ico"] = "image"
$cExt["xcf"] = "image"
$cExt["svg"] = "image"
$cExt["svgz"] = "image"
$cExt["pdf"] = "pdf"
$cExt["ttf"] = "font"
$cExt["otf"] = "font"
$cExt["bdf"] = "font"