use hvicons in files column box
This commit is contained in:
parent
6096ac6984
commit
3030c5213a
@ -193,7 +193,7 @@ while(inloop)
|
||||
stackview set "Lines", globalCurrentText
|
||||
globalAllNames$(globalCurrentText) = tmp$
|
||||
t = columnbox count "FileBox"
|
||||
columnbox add "FileBox", 1, t+1,20, "__Icon__="+ideDir$+"img/gespeichert.png"
|
||||
columnbox add "FileBox", 1, t+1,20,"__Mime__=application/x-vnd.yab-app"
|
||||
columnbox add "FileBox", 2, t+1,20, GetFileName$(tmp$) // "Filename", t, GetFileName$(tmp$)
|
||||
columnbox select "FileBox", t+1
|
||||
globalTextFinder(globalCurrentText) = t+1
|
||||
@ -288,7 +288,7 @@ while(inloop)
|
||||
for k=1 to MAXFILES
|
||||
if(globalTextFinder(j)=k) then
|
||||
t = columnbox count "FileBox"
|
||||
columnbox add "FileBox", 1, t+1,20, "__Icon__="+ideDir$+"img/gespeichert.png"
|
||||
columnbox add "FileBox", 1, t+1,20, "__Mime__=application/x-vnd.yab-app"
|
||||
columnbox add "FileBox", 2, t+1,20, GetFileName$(globalAllNames$(j))
|
||||
break
|
||||
endif
|
||||
@ -884,7 +884,7 @@ while(inloop)
|
||||
|
||||
if(globalCurrentText>0 and not globalWasChanged and textedit get "Text"+str$(globalCurrentText), "hasChanged") then
|
||||
globalWasChanged = true
|
||||
columnbox add "FileBox", 1, globalTextFinder(globalCurrentText), 20, "__Icon__="+ideDir$+"img/nichtgespeichert.png"
|
||||
columnbox add "FileBox", 1, globalTextFinder(globalCurrentText), 20, "__Mime__=application/x-vnd.yab-app"
|
||||
endif
|
||||
|
||||
UpdateStatusbar()
|
||||
@ -1587,7 +1587,7 @@ sub NewDocument(foundEmpty)
|
||||
stackview set "Lines", globalCurrentText
|
||||
globalAllNames$(globalCurrentText) = browse$
|
||||
t = columnbox count "FileBox"
|
||||
columnbox add "FileBox", 1, t+1,20, "__Icon__="+ideDir$+"img/nichtgespeichert.png"
|
||||
columnbox add "FileBox", 1, t+1,20, "__Mime__=application/x-vnd.yab-app"
|
||||
columnbox add "FileBox", 2, t+1,20, GetFileName$(browse$)
|
||||
columnbox select "FileBox", t+1
|
||||
|
||||
@ -2167,7 +2167,7 @@ local savetext$
|
||||
attribute set "Int", "linenumber", str$(tmpCurrentLine), globalAllNames$(globalCurrentText)
|
||||
textedit set "Text"+str$(globalCurrentText), "changed", false
|
||||
globalWasChanged = false
|
||||
columnbox add "FileBox", 1, globalTextFinder(globalCurrentText), 20, "__Icon__="+ideDir$+"img/gespeichert.png"
|
||||
columnbox add "FileBox", 1, globalTextFinder(globalCurrentText), 20, "__Mime__=application/x-vnd.yab-app"
|
||||
else
|
||||
alert "File could not be saved!", "Ok", "warning"
|
||||
return false
|
||||
@ -3638,7 +3638,7 @@ sub LoadOpenFiles()
|
||||
stackview set "Stack", globalCurrentText
|
||||
stackview set "Lines", globalCurrentText
|
||||
t = columnbox count "FileBox"
|
||||
columnbox add "FileBox", 1, t+1,20, "__Icon__="+ideDir$+"img/gespeichert.png"
|
||||
columnbox add "FileBox", 1, t+1,20, "__Mime__=application/x-vnd.yab-app"
|
||||
columnbox add "FileBox", 2, t+1,20, GetFileName$(globalAllNames$(j)) // "Filename", t, GetFileName$(tmp$)
|
||||
columnbox select "FileBox", t+1
|
||||
globalTextFinder(globalCurrentText) = t+1
|
||||
|
Loading…
x
Reference in New Issue
Block a user