X-Git-Url: https://ecere.com/cgi-bin/gitweb.cgi?p=ede;a=blobdiff_plain;f=libede%2Fsrc%2FFileSystemBox.ec;h=feebf15821763033ba2aafd604810dc2f71d2531;hp=e47925d117ae393949aa9f425db70d4772a6e790;hb=6bba07aea2613801a91d94f35584f86d1d6413df;hpb=0bdea98418edf03ebb514d6979bc644c59deffe3 diff --git a/libede/src/FileSystemBox.ec b/libede/src/FileSystemBox.ec index e47925d..feebf15 100644 --- a/libede/src/FileSystemBox.ec +++ b/libede/src/FileSystemBox.ec @@ -8,7 +8,7 @@ static char * rootName = "File System"; #endif private: -define guiApp = ((GuiApplication)__thisModule); // how to do this in a dll? +define guiApp = (GuiApplication)((__thisModule).application); define selectionColor = guiApp.currentSkin.selectionColor; //Color { 10, 36, 106 }; static char * fileIconNames[] = @@ -202,6 +202,7 @@ public: get { return bits.treeBranches; } }; property bool navigateFolders { set { bits.navigateFolders = value; bits.filesOnly = !value; } get { return bits.navigateFolders; } }; + property bool multiSelect { set { list.multiSelect = value; } get { return list.multiSelect; } }; property FileSystemNode node { @@ -1929,7 +1930,7 @@ public: //surface.WriteTextDots(alignment, x + textOffset, y + 2, width - textOffset, name, strlen(name)); surface.WriteTextDots(alignment, xStart, y + 2, width, label, len); - //if(!guiApp.textMode) -- how to do this in a dll? + if(!guiApp.textMode) { if(displayFlags.current) {