From 8c671457d705e5f0c4208c9df060726b4020f14f Mon Sep 17 00:00:00 2001 From: Mark van Renswoude Date: Thu, 5 Jan 2006 21:22:02 +0000 Subject: [PATCH] Fixed: filters out non-project units from the Project Source --- Resources/Unknown.ico | Bin 0 -> 318 bytes Source/UnSwDialog.dfm | 167 ++++++++++++++++++++--------------------- Source/UnSwDialog.pas | 7 +- Source/UnSwObjects.pas | 9 ++- 4 files changed, 94 insertions(+), 89 deletions(-) create mode 100644 Resources/Unknown.ico diff --git a/Resources/Unknown.ico b/Resources/Unknown.ico new file mode 100644 index 0000000000000000000000000000000000000000..1125bf8f08a3986dfb68faf41bfa1ea0b005470e GIT binary patch literal 318 zcmb`DF$#b%6hl)K9PQ-n=<(cKdjqf3qj(G5>PrQ2a1qRJ@_+N8fl7gjF`})eAPtfx z7~u%*8>#A>u< H4eX>7$JJge literal 0 HcmV?d00001 diff --git a/Source/UnSwDialog.dfm b/Source/UnSwDialog.dfm index 1ff544d..3d42823 100644 --- a/Source/UnSwDialog.dfm +++ b/Source/UnSwDialog.dfm @@ -142,7 +142,7 @@ object frmUnSwDialog: TfrmUnSwDialog Left = 8 Top = 32 Bitmap = { - 494C010104000900040010001000FFFFFFFFFF10FFFFFFFFFFFFFFFF424D3600 + 494C010105000900040010001000FFFFFFFFFF00FFFFFFFFFFFFFFFF424D3600 0000000000003600000028000000400000003000000001002000000000000030 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 @@ -280,64 +280,97 @@ object frmUnSwDialog: TfrmUnSwDialog 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 + 00000000000000000000000000000000000000000000FFFFFF00808080008080 + 8000808080008080800080808000808080008080800080808000808080008080 + 8000808080000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 + 00000000000000000000000000000000000000000000FFFFFF00FFFFFF00C0C0 + C000FFFFFF00C0C0C000FFFFFF00C0C0C000FFFFFF00C0C0C000FFFFFF00C0C0 + C000808080000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 + 00000000000000000000000000000000000000000000FFFFFF00C0C0C000FFFF + FF00C0C0C000FFFFFF00C0C0C000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 + 00000000000000000000000000000000000000000000FFFFFF00FFFFFF00C0C0 + C000FFFFFF00C0C0C000FFFFFF0000000000FFFFFF0080808000808080008080 + 8000808080008080800080808000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 + 00000000000000000000000000000000000000000000FFFFFF00C0C0C000FFFF + FF00C0C0C000FFFFFF00C0C0C00000000000FFFFFF00FFFFFF00C0C0C000FFFF + FF00C0C0C000FFFFFF0080808000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 + 00000000000000000000000000000000000000000000FFFFFF00FFFFFF00C0C0 + C000FFFFFF00C0C0C000FFFFFF0000000000FFFFFF00C0C0C000FFFFFF00C0C0 + C000FFFFFF00C0C0C00080808000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 + 00000000000000000000000000000000000000000000FFFFFF00C0C0C000FFFF + FF00C0C0C000FFFFFF00C0C0C00000000000FFFFFF00FFFFFF00FFFFFF00FFFF + FF00FFFFFF00FFFFFF00FFFFFF00000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 + 00000000000000000000000000000000000000000000FFFFFF00FFFFFF00C0C0 + C000FFFFFF00C0C0C000FFFFFF00000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 + 00000000000000000000000000000000000000000000FFFFFF00C0C0C000FFFF + FF00C0C0C000FFFFFF00C0C0C00000000000FF000000FF000000FF000000FF00 + 0000FF00000000000000C0C0C000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 + 00000000000000000000000000000000000000000000FFFFFF00FFFFFF00C0C0 + C000FFFFFF00C0C0C000FFFFFF00000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 + 00000000000000000000000000000000000000000000FFFFFF00C0C0C000FFFF + FF00C0C0C000FFFFFF00C0C0C000FFFFFF00C0C0C000FFFFFF00C0C0C000FFFF + FF00808080000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 + 00000000000000000000000000000000000000000000FFFFFF00FFFFFF00FFFF + FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF + FF00FFFFFF000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 @@ -351,40 +384,9 @@ object frmUnSwDialog: TfrmUnSwDialog 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 + 00000000000000000000000000000000000000000000FF000000FF000000FF00 + 0000FF000000FF000000FF00000000000000C0C0C00000000000C0C0C0000000 + 0000C0C0C0000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 @@ -407,120 +409,118 @@ object frmUnSwDialog: TfrmUnSwDialog 0000000000000000000000000000000000000000000000000000000000008000 0000000000000000000080808000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 + 0000FFFFFF008080800080808000808080008080800080808000808080008080 + 8000808080008080800080808000000000000000000000000000000000000000 0000FFFFFF008080800080808000808080008080800080808000808080008080 8000808080008080800080808000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000080000000800000008000 0000800000000000000080808000C0C0C000C0C0C000C0C0C000C0C0C0000000 - 00000000000000000000000000000000000000000000FFFFFF00808080008080 - 8000808080008080800080808000808080008080800080808000808080008080 - 8000808080000000000000000000000000000000000000000000000000000000 + 0000000000000000000000000000000000000000000000000000000000000000 + 0000FFFFFF00FFFFFF00C0C0C000FFFFFF00C0C0C000FFFFFF00C0C0C000FFFF + FF00C0C0C000FFFFFF0080808000000000000000000000000000000000000000 0000FFFFFF00FFFFFF00C0C0C000FFFFFF00C0C0C000FFFFFF00C0C0C000FFFF FF00C0C0C000FFFFFF0080808000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000080000000000000008000 0000000000000000000080808000808080008080800000000000808080008080 - 80000000000000000000000000000000000000000000FFFFFF00FFFFFF00C0C0 - C000FFFFFF00C0C0C000FFFFFF00C0C0C000FFFFFF00C0C0C000FFFFFF00C0C0 - C000808080000000000000000000000000000000000000000000000000000000 + 8000000000000000000000000000000000000000000000000000000000000000 + 0000FFFFFF00C0C0C000FFFFFF00C0C0C000FFFFFF00C0C0C000FFFFFF00C0C0 + C000FFFFFF00C0C0C00080808000000000000000000000000000000000000000 0000FFFFFF00C0C0C000FFFFFF00C0C0C000FFFFFF00C0C0C000FFFFFF00C0C0 C000FFFFFF00C0C0C000808080000000000000000000FFFFFF00808080008080 8000808080008080800080808000808080008080800080808000808080008080 8000808080008080800080808000000000000000000080000000000000000000 0000000000000000000000000000000000008080800000000000000000000000 - 00000000000000000000000000000000000000000000FFFFFF00C0C0C000FFFF - FF00C0C0C000FFFFFF00C0C0C000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 + 0000FFFFFF00FFFFFF00C0C0C000FFFFFF00C0C0C000FFFFFF00C0C0C000FFFF + FF00C0C0C000FFFFFF0080808000000000000000000000000000000000000000 0000FFFFFF00FFFFFF0000000000000000000000000000000000000000000000 000000000000FFFFFF00808080000000000000000000FFFFFF00FFFFFF00C0C0 C000FFFFFF00C0C0C000FFFFFF00C0C0C000FFFFFF00C0C0C000FFFFFF00C0C0 C000FFFFFF00C0C0C00080808000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 - 00000000000000000000000000000000000000000000FFFFFF00FFFFFF00C0C0 - C000FFFFFF00C0C0C000FFFFFF0000000000FFFFFF0080808000808080008080 - 8000808080008080800080808000000000000000000000000000000000000000 + 0000000000000000000000000000000000000000000000000000000000000000 + 0000FFFFFF00C0C0C000FFFFFF00C0C0C000FFFFFF00C0C0C000FFFFFF00C0C0 + C000FFFFFF00C0C0C00080808000000000000000000000000000000000000000 0000FFFFFF00C0C0C000FFFFFF00C0C0C000FFFFFF00C0C0C000FFFFFF00C0C0 C000FFFFFF00C0C0C000808080000000000000000000FFFFFF00C0C0C000FFFF FF00C0C0C000FFFFFF00C0C0C000FFFFFF00C0C0C000FFFFFF00C0C0C000FFFF FF00C0C0C000FFFFFF0080808000000000008080800000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 - 00000000000000000000000000000000000000000000FFFFFF00C0C0C000FFFF - FF00C0C0C000FFFFFF00C0C0C00000000000FFFFFF00FFFFFF00C0C0C000FFFF + 0000000000000000000000000000000000000000000000000000000000000000 + 0000FFFFFF00FFFFFF00C0C0C000FFFFFF00C0C0C000FFFFFF00C0C0C000FFFF FF00C0C0C000FFFFFF0080808000000000000000000000000000000000000000 0000FFFFFF000000FF000000FF000000FF000000FF000000FF000000FF000000 FF000000FF000000FF00808080000000000000000000FFFFFF00FFFFFF00C0C0 C000FFFFFF00C0C0C000FFFFFF00C0C0C000FFFFFF00C0C0C000FFFFFF00C0C0 C000FFFFFF00C0C0C00080808000000000008080800080808000000000000000 000000000000FFFFFF0080808000808080008080800080808000808080008080 - 80008080800080808000808080000000000000000000FFFFFF00FFFFFF00C0C0 - C000FFFFFF00C0C0C000FFFFFF0000000000FFFFFF00C0C0C000FFFFFF00C0C0 + 8000808080008080800080808000000000000000000000000000000000000000 + 0000FFFFFF00C0C0C000FFFFFF00C0C0C000FFFFFF00C0C0C000FFFFFF00C0C0 C000FFFFFF00C0C0C00080808000000000000000000080000000000000000000 0000FFFFFF000000FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF FF00FFFFFF000000FF00808080000000000000000000FFFFFF00C0C0C000FFFF FF00C0C0C000FFFFFF00C0C0C000FFFFFF00C0C0C000FFFFFF00C0C0C000FFFF FF00C0C0C000FFFFFF0080808000000000000000000000000000000000000000 000000000000FFFFFF00C0C0C000FFFFFF00C0C0C000FFFFFF00C0C0C000FFFF - FF00C0C0C000FFFFFF00808080000000000000000000FFFFFF00C0C0C000FFFF - FF00C0C0C000FFFFFF00C0C0C00000000000FFFFFF00FFFFFF00FFFFFF00FFFF - FF00FFFFFF00FFFFFF00FFFFFF00000000000000000000000000000000000000 + FF00C0C0C000FFFFFF0080808000000000000000000000000000000000000000 + 0000FFFFFF00FFFFFF00C0C0C000FFFFFF00C0C0C000FFFFFF00C0C0C000FFFF + FF00C0C0C000FFFFFF0080808000000000000000000000000000000000000000 0000FFFFFF000000FF000000FF000000FF000000FF000000FF000000FF000000 FF000000FF000000FF00808080000000000000000000FFFFFF00FFFFFF00C0C0 C000FFFFFF00C0C0C000FFFFFF00C0C0C000FFFFFF00C0C0C000FFFFFF00C0C0 C000FFFFFF00C0C0C00080808000000000000000000000000000000000000000 000000000000FFFFFF00FFFFFF00C0C0C0000000FF000000FF000000FF00C0C0 - C000FFFFFF00C0C0C000808080000000000000000000FFFFFF00FFFFFF00C0C0 - C000FFFFFF00C0C0C000FFFFFF00000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 + C000FFFFFF00C0C0C00080808000000000000000000000000000000000000000 + 0000FFFFFF00C0C0C000FFFFFF00C0C0C000FFFFFF00C0C0C000FFFFFF00C0C0 + C000FFFFFF00C0C0C00080808000000000000000000000000000000000000000 0000FFFFFF00C0C0C000FFFFFF00C0C0C000FFFFFF00C0C0C000FFFFFF00C0C0 C000FFFFFF00C0C0C000808080000000000000000000FFFFFF00C0C0C000FFFF FF00C0C0C000FFFFFF00C0C0C000FFFFFF00C0C0C000FFFFFF00C0C0C000FFFF FF00C0C0C000FFFFFF0080808000000000000000000000000000000000000000 000000000000FFFFFF00C0C0C000FFFFFF000000FF000000FF00C0C0C000FFFF - FF00C0C0C000FFFFFF00808080000000000000000000FFFFFF00C0C0C000FFFF - FF00C0C0C000FFFFFF00C0C0C00000000000FF000000FF000000FF000000FF00 - 0000FF00000000000000C0C0C000000000000000000000000000000000000000 + FF00C0C0C000FFFFFF0080808000000000000000000000000000000000000000 + 0000FFFFFF00FFFFFF00C0C0C000FFFFFF00C0C0C000FFFFFF00C0C0C000FFFF + FF00C0C0C000FFFFFF0080808000000000000000000000000000000000000000 0000FFFFFF00FFFFFF0000000000000000000000000000000000000000000000 0000C0C0C000FFFFFF00808080000000000000000000FFFFFF00FFFFFF00FFFF FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF FF00FFFFFF00FFFFFF00FFFFFF00000000000000000000000000000000000000 000000000000FFFFFF00FFFFFF00C0C0C0000000FF00C0C0C0000000FF000000 - FF00FFFFFF00C0C0C000808080000000000000000000FFFFFF00FFFFFF00C0C0 - C000FFFFFF00C0C0C000FFFFFF00000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 + FF00FFFFFF00C0C0C00080808000000000000000000000000000000000000000 + 0000FFFFFF00C0C0C000FFFFFF00C0C0C000FFFFFF00C0C0C000FFFFFF00C0C0 + C000FFFFFF00C0C0C00080808000000000000000000000000000000000000000 0000FFFFFF00C0C0C000FFFFFF00C0C0C000FFFFFF00C0C0C000FFFFFF00C0C0 C000FFFFFF008080800080808000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 000000000000FFFFFF00C0C0C000FFFFFF00C0C0C000FFFFFF00C0C0C000FFFF - FF00C0C0C000FFFFFF00808080000000000000000000FFFFFF00C0C0C000FFFF - FF00C0C0C000FFFFFF00C0C0C000FFFFFF00C0C0C000FFFFFF00C0C0C000FFFF - FF00808080000000000000000000000000000000000000000000000000000000 + FF00C0C0C000FFFFFF0080808000000000000000000000000000000000000000 + 0000FFFFFF00FFFFFF00C0C0C000FFFFFF00C0C0C000FFFFFF00C0C0C000FFFF + FF00000000000000000000000000000000000000000000000000000000000000 0000FFFFFF00FFFFFF0000000000000000000000000000000000C0C0C000FFFF FF000000000000000000000000000000000000000000FF000000FF000000FF00 0000FF000000FF000000FF000000FF000000FF00000000000000C0C0C0000000 0000C0C0C00000000000C0C0C000000000000000000000000000000000000000 000000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF - FF00FFFFFF00FFFFFF00FFFFFF000000000000000000FFFFFF00FFFFFF00FFFF - FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF - FF00FFFFFF000000000000000000000000000000000000000000000000000000 + FF00FFFFFF00FFFFFF00FFFFFF00000000000000000000000000000000000000 + 0000FFFFFF00C0C0C000FFFFFF00C0C0C000FFFFFF00C0C0C000FFFFFF00C0C0 + C00000000000FFFFFF0000000000000000000000000000000000000000000000 0000FFFFFF00C0C0C000FFFFFF00C0C0C000FFFFFF00C0C0C000FFFFFF00C0C0 C00000000000FFFFFF0000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 + 0000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF + FF00000000000000000000000000000000000000000000000000000000000000 0000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF FF00000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 000000000000FF000000FF000000FF000000FF00000000000000C0C0C0000000 - 0000C0C0C00000000000C0C0C0000000000000000000FF000000FF000000FF00 - 0000FF000000FF000000FF00000000000000C0C0C00000000000C0C0C0000000 - 0000C0C0C0000000000000000000000000000000000000000000000000000000 + 0000C0C0C00000000000C0C0C000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 @@ -534,15 +534,14 @@ object frmUnSwDialog: TfrmUnSwDialog 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 + 0000000000000000000000000000000000030000000000000003000000000000 + 0003000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 00000000000000000000000000000000E000FFFFEC0F0003E000FFFF840F0003 - E0000000AC0F0003E0000000BF3F0000E0000000FFFF00006000000010000000 - 200000001000000000000000B000000020000000F000000060000000F0000000 - E0000000F0000000E0000000F0000003E0000000F0000003E0010000F0000003 - E003FFFFF0000003E007FFFFF000000300000000000000000000000000000000 - 000000000000} + 0000000000000000000300000000000000030000000000000003000000000000 + 00030000000000000003000000000000E000E000FFFFEC0FE000E000FFFF840F + E000E0000000AC0FE000E0000000BF3FE000E0000000FFFFE000600000001000 + E000200000001000E00000000000B000E00020000000F000E00060000000F000 + E000E0000000F000E000E0000000F000E000E0000000F000E001E0010000F000 + E003E003FFFFF000E007E007FFFFF000} end end diff --git a/Source/UnSwDialog.pas b/Source/UnSwDialog.pas index fb22c7d..4c1164c 100644 --- a/Source/UnSwDialog.pas +++ b/Source/UnSwDialog.pas @@ -86,8 +86,9 @@ uses procedure TUnSwIconVisitor.VisitModule(const AUnit: TUnSwModuleUnit); begin case AUnit.UnitType of - swutForm: FImageIndex := 1; - swutDataModule: FImageIndex := 2; + swutUnit: FImageIndex := 1; + swutForm: FImageIndex := 2; + swutDataModule: FImageIndex := 3; else FImageIndex := 0; end; @@ -95,7 +96,7 @@ end; procedure TUnSwIconVisitor.VisitProject(const AUnit: TUnSwProjectUnit); begin - FImageIndex := 3; + FImageIndex := 4; end; diff --git a/Source/UnSwObjects.pas b/Source/UnSwObjects.pas index 29e0fff..70a4357 100644 --- a/Source/UnSwObjects.pas +++ b/Source/UnSwObjects.pas @@ -202,8 +202,13 @@ end; function TUnSwModuleUnit.GetUnitType(): TUnSwUnitType; begin Result := TUnSwUnitType(FModule.ModuleType); - if (Result = swutForm) and (Length(FModule.FormName) = 0) then - Result := swutUnit; + + if Result = swutForm then + if Length(FModule.FormName) = 0 then + if Length(FModule.FileName) = 0 then + Result := swutProjUnit + else + Result := swutUnit; end;