Ecere Software
/
ede
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
547e25f
)
libede: renamed ExplorerFileType to _FileType. (ecere's FileType is the reason for...
author
Rejean Loyer
<rejean.loyer@gmail.com>
Wed, 14 Sep 2011 04:55:50 +0000
(
00:55
-0400)
committer
Rejean Loyer
<rejean.loyer@gmail.com>
Wed, 14 Sep 2011 22:54:26 +0000
(18:54 -0400)
libede/src/FileSystemBox.ec
patch
|
blob
|
history
diff --git
a/libede/src/FileSystemBox.ec
b/libede/src/FileSystemBox.ec
index
741fa74
..
4f5d76d
100644
(file)
--- a/
libede/src/FileSystemBox.ec
+++ b/
libede/src/FileSystemBox.ec
@@
-50,7
+50,7
@@
static char * fileIconNames[] =
""
};
""
};
-public enum
Explorer
FileType
+public enum
_
FileType
{
none,
{
none,
@@
-84,7
+84,7
@@
public enum ExplorerFileType
get { return this >= normalFile && this <= opticalMediaImageFile; }
}
get { return this >= normalFile && this <= opticalMediaImageFile; }
}
-
Explorer
FileType ::SelectByExtension(char * extension)
+
_
FileType ::SelectByExtension(char * extension)
{
if(!strcmpi(extension, "ews"))
return ewsFile;
{
if(!strcmpi(extension, "ews"))
return ewsFile;
@@
-142,12
+142,12
@@
class ExplorerControl : Window
{
bool previewPictures;
{
bool previewPictures;
- BitmapResource fileIcons[
Explorer
FileType];
+ BitmapResource fileIcons[
_
FileType];
ExplorerControl()
{
ExplorerControl()
{
-
Explorer
FileType c;
- for(c = 0; c <
Explorer
FileType::enumSize; c++)
+
_
FileType c;
+ for(c = 0; c <
_
FileType::enumSize; c++)
{
fileIcons[c] = BitmapResource { fileIconNames[c], alphaBlend = true };
AddResource(fileIcons[c]);
{
fileIcons[c] = BitmapResource { fileIconNames[c], alphaBlend = true };
AddResource(fileIcons[c]);
@@
-1010,7
+1010,7
@@
public class ExplorerFileItem : struct
char * name;
char * info;
char * extension;
char * name;
char * info;
char * extension;
-
Explorer
FileType type;
+
_
FileType type;
int indent;
Bitmap bitmap;
int indent;
Bitmap bitmap;
@@
-1180,7
+1180,7
@@
ExplorerFileItem MakeFileItem(const FileAttribs attribs, const char * fileName,
//strupr(extension);
strlwr(extension);
//strupr(extension);
strlwr(extension);
- item.type =
Explorer
FileType::SelectByExtension(extension);
+ item.type =
_
FileType::SelectByExtension(extension);
}
if(attribs.isDrive &&
}
if(attribs.isDrive &&
@@
-1223,7
+1223,7
@@
public class FileSystemNode : struct
char * info;
DataRow row;
OldList children;
char * info;
DataRow row;
OldList children;
-
Explorer
FileType type;
+
_
FileType type;
FileSystemNode parent;
FileStats stats;
FileSystemNode parent;
FileStats stats;
@@
-1439,7
+1439,7
@@
FileSystemNode MakeFileNode(const FileStats stats, const char * name)
{
char extension[MAX_EXTENSION];
GetExtension(fileTreeNode.name, extension);
{
char extension[MAX_EXTENSION];
GetExtension(fileTreeNode.name, extension);
- fileTreeNode.type =
Explorer
FileType::SelectByExtension(extension);
+ fileTreeNode.type =
_
FileType::SelectByExtension(extension);
}
return fileTreeNode;
}
}
return fileTreeNode;
}