Changeset 174 for trunk/Forms
- Timestamp:
- Feb 14, 2018, 10:39:55 AM (7 years ago)
- Location:
- trunk/Forms
- Files:
-
- 24 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormAbout.pas
r169 r174 69 69 begin 70 70 Core.CoolTranslator1.TranslateComponentRecursive(Self); 71 Core.ThemeManager.UseTheme(Self); 71 72 end; 72 73 -
trunk/Forms/UFormAcronym.pas
r96 r174 69 69 begin 70 70 Core.CoolTranslator1.TranslateComponentRecursive(Self); 71 Core.ThemeManager.UseTheme(Self); 71 72 end; 72 73 -
trunk/Forms/UFormAcronyms.lfm
r146 r174 7 7 ClientHeight = 558 8 8 ClientWidth = 740 9 DesignTimePPI = 120 9 10 OnClose = FormClose 10 11 OnCreate = FormCreate 11 12 OnShow = FormShow 12 13 Position = poScreenCenter 13 LCLVersion = '1. 6.2.0'14 LCLVersion = '1.8.0.6' 14 15 object ListViewAcronyms: TListView 15 16 Left = 4 … … 143 144 object MenuItem4: TMenuItem 144 145 Action = AAdd 145 Bitmap.Data = {146 36040000424D3604000000000000360000002800000010000000100000000100147 2000000000000004000064000000640000000000000000000000000000000000148 0000000000000000000000000000000000000000000000000000000000000000149 0000000000000000000000000000000000000000000000000000000000000000150 000000000000000000000000000000000000D4D4D4FFB2B2B2FFB2B2B2FFD4D4151 D4FF000000000000000000000000000000000000000000000000000000000000152 0000000000000000000000000000709B70FF004A00FF004800FF4E764EFFB2B2153 B2FF000000000000000000000000000000000000000000000000000000000000154 0000000000000000000000000000004E00FF00C800FF00C400FF004800FFB2B2155 B2FF000000000000000000000000000000000000000000000000000000000000156 0000000000000000000000000000005000FF00CA00FF00C600FF004A00FFB2B2157 B2FF000000000000000000000000000000000000000000000000000000000000158 0000000000000000000000000000005300FF00CE00FF00CA00FF004C00FFB2B2159 B2FF00000000000000000000000000000000000000000000000000000000D4D4160 D4FFB2B2B2FFB2B2B2FFB2B2B2FF005400FF00D200FF00CE00FF004E00FFB2B2161 B2FFB2B2B2FFB2B2B2FFB2B2B2FFB2B2B2FFD4D4D4FF0000000070A670FF005E162 00FF005C00FF005A00FF005800FF005600FF00D600FF00D000FF005000FF004E163 00FF004C00FF004A00FF004A00FF4E764EFFB2B2B2FF00000000006200FF8CFE164 8CFF00EA00FF00E600FF00E200FF00DE00FF00DA00FF00D400FF00D000FF00CC165 00FF00C800FF00C400FF00C200FF004800FFB2B2B2FF00000000006400FFECFF166 ECFF8CFE8CFF8CFE8CFF8CFE8CFF8CFE8CFF00DE00FF00D900FF00D400FF00D0167 00FF00CC00FF00C800FF00C400FF004A00FFD4D4D4FF0000000070A970FF0064168 00FF006400FF006200FF006000FF006000FF8CFE8CFF00DD00FF005800FF0056169 00FF005400FF005300FF005000FF709C70FF0000000000000000000000000000170 0000000000000000000000000000006000FF8CFE8CFF00E000FF005A00FFB2B2171 B2FF000000000000000000000000000000000000000000000000000000000000172 0000000000000000000000000000006200FF8CFE8CFF00E500FF005C00FFB2B2173 B2FF000000000000000000000000000000000000000000000000000000000000174 0000000000000000000000000000006400FF8CFE8CFF00E800FF005E00FFB2B2175 B2FF000000000000000000000000000000000000000000000000000000000000176 0000000000000000000000000000006400FFECFFECFF8CFE8CFF006000FFD4D4177 D4FF000000000000000000000000000000000000000000000000000000000000178 000000000000000000000000000070A970FF006400FF006200FF70A670FF0000179 0000000000000000000000000000000000000000000000000000180 }181 146 end 182 147 object MenuItem5: TMenuItem 183 148 Action = AModify 184 Bitmap.Data = {185 36040000424D3604000000000000360000002800000010000000100000000100186 2000000000000004000064000000640000000000000000000000986B37FF976A187 36FF966935FF966734FF956633FF946532FF946531FF936430FF92622FFF9261188 2EFF91602DFF90602CFF905F2BFF8F5D2AFF8E5C29FF8D5B28FF996C38FFF8F7189 F6FFF8F7F5FFF7F6F5FFF6F6F4FFF6F5F3FFF5F5F3FFF5F4F2FFF4F3F1FFF4F3190 F1FFF3F2F0FFF3F2EFFFF2F1EFFFF2F0EEFFF1F0EDFF8E5D29FF996D3AFFF9F8191 F7FF959594FF878787FF9B9A9AFFF7F6F4FFF6F5F3FFF6F5F3FFF5F4F2FFF4F3192 F1FFF4F3F1FFF3F2F0FFF3F2EFFFF2F1EFFFF2F1EEFF8F5E2AFF9A6E3BFFF9F9193 F8FF7C7C7CFFC4C4C4FF878787FFF7F6F5FF7A7A7AFF787878FF747474FF7171194 70FF6D6D6CFF696968FF656565FF616161FFF2F1EFFF905F2BFF9B6F3CFFFAF9195 F8FFBEBEBDFF929292FFBCBCBBFFF8F7F6FFF7F7F5FFF7F6F4FFF6F5F4FFF6F5196 F3FFF5F4F2FFF5F4F2FFF4F3F1FFF4F2F0FFF3F2F0FF91602DFF9C703DFFFAFA197 F9FFFAF9F9FFF9F9F8FFF9F8F7FFF8F8F7FFF8F7F6FFF7F7F5FFF7F6F5FFF6F5198 F4FFF6F5F3FFF5F4F3FFF5F4F2FFF4F3F1FFF4F3F0FF92612EFF9D723EFFFBFB199 FAFF9F9F9EFF7F7F7FFFAEAEADFFF9F8F7FFF8F8F7FFF8F7F6FFF7F7F5FFF7F6200 F5FFF6F6F4FFF6F5F3FFF5F4F3FFF5F4F2FFF4F3F1FF92622FFF9D7340FFFCFB201 FBFF818181FFC4C4C4FF8F8F8FFFFAF9F8FF7B7B7AFF797979FF757574FF7271202 71FF6D6D6DFF696969FF666665FF626261FFF5F4F2FF936430FF9E7441FFFCFC203 FCFFB5B5B5FF848484FFBEBDBDFFFAFAF9FFFAF9F8FFF9F9F7FFF9F8F7FFF8F8204 F6FFF8F7F5FFF7F6F5FFF7F6F4FFF6F5F3FFF6F5F3FF946531FF9F7542FFFDFD205 FCFFFCFCFCFFFCFCFBFFFBFBFAFFFBFAFAFFFAFAF9FFFAF9F8FFF9F9F8FFF9F8206 F7FFF8F8F6FFF8F7F6FFF7F6F5FFF7F6F4FFF6F5F4FF956633FFA07643FFFEFD207 FDFF8C8C8CFF525252FFA4A4A4FFFBFBFAFFFBFBFAFFFAFAF9FFFAF9F8FFF9F9208 F8FFF9F8F7FFF8F8F6FFF8F7F6FFF7F7F5FFF7F6F4FF966734FFA17844FFFEFE209 FEFF5F5F5FFF949494FF535353FFFCFCFBFF7B7B7BFF797979FF757575FF7272210 72FF6E6E6EFF6A6A69FF666666FF626262FFF7F7F5FF966935FFA17946FFFFFF211 FFFF878787FF5D5D5DFFA0A0A0FFFDFCFCFFFCFCFBFFFCFBFBFFFBFBFAFFFBFA212 F9FFFAFAF9FFFAF9F8FFF9F8F7FFF8F8F7FFF8F7F6FF976A36FFA27A47FFFFFF213 FFFFFFFFFFFFFEFEFEFFFEFEFEFFFDFDFDFFFDFDFCFFFCFCFBFFFCFBFBFFFBFB214 FAFFFBFAF9FFFAFAF9FFFAF9F8FFF9F9F7FFF9F8F7FF986B37FFA37B48FFBEA2215 7FFFBEA17EFFBDA17DFFBDA07CFFBD9F7CFFBC9F7BFFBB9E7AFFBB9D7AFFBB9D216 79FFBA9C78FFB99B78FFB99A77FFB89A76FFB89975FF996C39FFA37B48FFA37B217 48FFA27A47FFA27946FFA17845FFA07744FFA07643FF9F7542FF9E7441FF9E73218 40FF9D723FFF9C713EFF9C703DFF9B6F3CFF9A6E3BFF9A6D3AFF219 }220 149 end 221 150 object MenuItem6: TMenuItem 222 151 Action = ARemove 223 Bitmap.Data = {224 36040000424D3604000000000000360000002800000010000000100000000100225 2000000000000004000064000000640000000000000000000000000000000000226 0000000000000000000000000000000000000000000000000000000000000000227 0000000000000000000000000000000000000000000000000000000000000000228 000000000000DCDCDCFFB2B2B2FFDCDCDCFF0000000000000000000000000000229 000000000000DCDCDCFFB2B2B2FFDCDCDCFF0000000000000000000000000000230 00007979A8FF000067FF626291FFB2B2B2FFDCDCDCFF00000000000000000000231 00007979A8FF000050FF626291FFB2B2B2FFDCDCDCFF00000000000000008C8C232 BBFF00006EFF0035FFFF000068FF626291FFB2B2B2FFDCDCDCFF000000007979233 A8FF000054FF0015FFFF000050FF626291FFB2B2B2FF00000000000000000000234 72FF619BFFFF003AFFFF0035FFFF000067FF626291FFB2B2B2FF7979A8FF0000235 59FF001BFFFF0018FFFF0015FFFF000050FFDCDCDCFF00000000000000008C8C236 BBFF000075FF619BFFFF003AFFFF0035FFFF000067FF626291FF000061FF0023237 FFFF001FFFFF001BFFFF000054FF7979A8FF0000000000000000000000000000238 00008C8CBBFF000075FF619BFFFF003AFFFF0035FFFF000067FF002CFFFF0027239 FFFF0023FFFF000059FF7979A8FF000000000000000000000000000000000000240 0000000000008C8CBBFF000075FF619BFFFF003AFFFF0035FFFF0030FFFF002B241 FFFF000061FF7979A8FF00000000000000000000000000000000000000000000242 000000000000000000007979A8FF000075FF003EFFFF003AFFFF0035FFFF0000243 68FF626291FFB2B2B2FFDCDCDCFF000000000000000000000000000000000000244 0000000000007979A8FF00007CFF0047FFFF0042FFFF003EFFFF003AFFFF0035245 FFFF000068FF626291FFB2B2B2FFDCDCDCFF0000000000000000000000000000246 00007979A8FF000082FF004EFFFF004BFFFF0047FFFF000075FF619BFFFF003A247 FFFF0035FFFF000068FF626291FFB2B2B2FFDCDCDCFF00000000000000008C8C248 BBFF000086FF0054FFFF0052FFFF004EFFFF00007CFF7979A8FF000075FF619B249 FFFF003AFFFF0035FFFF000067FF626291FFB2B2B2FF00000000000000000000250 88FF619BFFFF0057FFFF0054FFFF000082FF7979A8FF000000008C8CBBFF0000251 75FF619BFFFF003AFFFF0035FFFF000068FFDCDCDCFF00000000000000008C8C252 BBFF000088FF619BFFFF000086FF7979A8FF0000000000000000000000008C8C253 BBFF000075FF619BFFFF00006EFF7979A8FF0000000000000000000000000000254 00008C8CBBFF000088FF8C8CBBFF000000000000000000000000000000000000255 00008C8CBBFF000075FF8C8CBBFF000000000000000000000000000000000000256 0000000000000000000000000000000000000000000000000000000000000000257 0000000000000000000000000000000000000000000000000000258 }259 152 end 260 153 object MenuItem7: TMenuItem -
trunk/Forms/UFormAcronyms.pas
r148 r174 256 256 MeaningCount := 0; 257 257 Core.CoolTranslator1.TranslateComponentRecursive(Self); 258 Core.ThemeManager.UseTheme(Self); 258 259 for I := 0 to ToolBar1.ButtonCount - 1 do 259 260 ToolBar1.Buttons[I].Hint := ToolBar1.Buttons[I].Caption; -
trunk/Forms/UFormCategories.lfm
r145 r174 7 7 ClientHeight = 429 8 8 ClientWidth = 784 9 DesignTimePPI = 120 9 10 OnClose = FormClose 10 11 OnCreate = FormCreate 11 12 OnShow = FormShow 12 13 Position = poScreenCenter 13 LCLVersion = '1. 6.2.0'14 LCLVersion = '1.8.0.6' 14 15 object ListViewCategories: TListView 15 16 Left = 4 … … 111 112 object MenuItem1: TMenuItem 112 113 Action = AAdd 113 Bitmap.Data = {114 36040000424D3604000000000000360000002800000010000000100000000100115 2000000000000004000064000000640000000000000000000000000000000000116 0000000000000000000000000000000000000000000000000000000000000000117 0000000000000000000000000000000000000000000000000000000000000000118 000000000000000000000000000000000000D4D4D4FFB2B2B2FFB2B2B2FFD4D4119 D4FF000000000000000000000000000000000000000000000000000000000000120 0000000000000000000000000000709B70FF004A00FF004800FF4E764EFFB2B2121 B2FF000000000000000000000000000000000000000000000000000000000000122 0000000000000000000000000000004E00FF00C800FF00C400FF004800FFB2B2123 B2FF000000000000000000000000000000000000000000000000000000000000124 0000000000000000000000000000005000FF00CA00FF00C600FF004A00FFB2B2125 B2FF000000000000000000000000000000000000000000000000000000000000126 0000000000000000000000000000005300FF00CE00FF00CA00FF004C00FFB2B2127 B2FF00000000000000000000000000000000000000000000000000000000D4D4128 D4FFB2B2B2FFB2B2B2FFB2B2B2FF005400FF00D200FF00CE00FF004E00FFB2B2129 B2FFB2B2B2FFB2B2B2FFB2B2B2FFB2B2B2FFD4D4D4FF0000000070A670FF005E130 00FF005C00FF005A00FF005800FF005600FF00D600FF00D000FF005000FF004E131 00FF004C00FF004A00FF004A00FF4E764EFFB2B2B2FF00000000006200FF8CFE132 8CFF00EA00FF00E600FF00E200FF00DE00FF00DA00FF00D400FF00D000FF00CC133 00FF00C800FF00C400FF00C200FF004800FFB2B2B2FF00000000006400FFECFF134 ECFF8CFE8CFF8CFE8CFF8CFE8CFF8CFE8CFF00DE00FF00D900FF00D400FF00D0135 00FF00CC00FF00C800FF00C400FF004A00FFD4D4D4FF0000000070A970FF0064136 00FF006400FF006200FF006000FF006000FF8CFE8CFF00DD00FF005800FF0056137 00FF005400FF005300FF005000FF709C70FF0000000000000000000000000000138 0000000000000000000000000000006000FF8CFE8CFF00E000FF005A00FFB2B2139 B2FF000000000000000000000000000000000000000000000000000000000000140 0000000000000000000000000000006200FF8CFE8CFF00E500FF005C00FFB2B2141 B2FF000000000000000000000000000000000000000000000000000000000000142 0000000000000000000000000000006400FF8CFE8CFF00E800FF005E00FFB2B2143 B2FF000000000000000000000000000000000000000000000000000000000000144 0000000000000000000000000000006400FFECFFECFF8CFE8CFF006000FFD4D4145 D4FF000000000000000000000000000000000000000000000000000000000000146 000000000000000000000000000070A970FF006400FF006200FF70A670FF0000147 0000000000000000000000000000000000000000000000000000148 }149 114 end 150 115 object MenuItem2: TMenuItem 151 116 Action = AModify 152 Bitmap.Data = {153 36040000424D3604000000000000360000002800000010000000100000000100154 2000000000000004000064000000640000000000000000000000986B37FF976A155 36FF966935FF966734FF956633FF946532FF946531FF936430FF92622FFF9261156 2EFF91602DFF90602CFF905F2BFF8F5D2AFF8E5C29FF8D5B28FF996C38FFF8F7157 F6FFF8F7F5FFF7F6F5FFF6F6F4FFF6F5F3FFF5F5F3FFF5F4F2FFF4F3F1FFF4F3158 F1FFF3F2F0FFF3F2EFFFF2F1EFFFF2F0EEFFF1F0EDFF8E5D29FF996D3AFFF9F8159 F7FF959594FF878787FF9B9A9AFFF7F6F4FFF6F5F3FFF6F5F3FFF5F4F2FFF4F3160 F1FFF4F3F1FFF3F2F0FFF3F2EFFFF2F1EFFFF2F1EEFF8F5E2AFF9A6E3BFFF9F9161 F8FF7C7C7CFFC4C4C4FF878787FFF7F6F5FF7A7A7AFF787878FF747474FF7171162 70FF6D6D6CFF696968FF656565FF616161FFF2F1EFFF905F2BFF9B6F3CFFFAF9163 F8FFBEBEBDFF929292FFBCBCBBFFF8F7F6FFF7F7F5FFF7F6F4FFF6F5F4FFF6F5164 F3FFF5F4F2FFF5F4F2FFF4F3F1FFF4F2F0FFF3F2F0FF91602DFF9C703DFFFAFA165 F9FFFAF9F9FFF9F9F8FFF9F8F7FFF8F8F7FFF8F7F6FFF7F7F5FFF7F6F5FFF6F5166 F4FFF6F5F3FFF5F4F3FFF5F4F2FFF4F3F1FFF4F3F0FF92612EFF9D723EFFFBFB167 FAFF9F9F9EFF7F7F7FFFAEAEADFFF9F8F7FFF8F8F7FFF8F7F6FFF7F7F5FFF7F6168 F5FFF6F6F4FFF6F5F3FFF5F4F3FFF5F4F2FFF4F3F1FF92622FFF9D7340FFFCFB169 FBFF818181FFC4C4C4FF8F8F8FFFFAF9F8FF7B7B7AFF797979FF757574FF7271170 71FF6D6D6DFF696969FF666665FF626261FFF5F4F2FF936430FF9E7441FFFCFC171 FCFFB5B5B5FF848484FFBEBDBDFFFAFAF9FFFAF9F8FFF9F9F7FFF9F8F7FFF8F8172 F6FFF8F7F5FFF7F6F5FFF7F6F4FFF6F5F3FFF6F5F3FF946531FF9F7542FFFDFD173 FCFFFCFCFCFFFCFCFBFFFBFBFAFFFBFAFAFFFAFAF9FFFAF9F8FFF9F9F8FFF9F8174 F7FFF8F8F6FFF8F7F6FFF7F6F5FFF7F6F4FFF6F5F4FF956633FFA07643FFFEFD175 FDFF8C8C8CFF525252FFA4A4A4FFFBFBFAFFFBFBFAFFFAFAF9FFFAF9F8FFF9F9176 F8FFF9F8F7FFF8F8F6FFF8F7F6FFF7F7F5FFF7F6F4FF966734FFA17844FFFEFE177 FEFF5F5F5FFF949494FF535353FFFCFCFBFF7B7B7BFF797979FF757575FF7272178 72FF6E6E6EFF6A6A69FF666666FF626262FFF7F7F5FF966935FFA17946FFFFFF179 FFFF878787FF5D5D5DFFA0A0A0FFFDFCFCFFFCFCFBFFFCFBFBFFFBFBFAFFFBFA180 F9FFFAFAF9FFFAF9F8FFF9F8F7FFF8F8F7FFF8F7F6FF976A36FFA27A47FFFFFF181 FFFFFFFFFFFFFEFEFEFFFEFEFEFFFDFDFDFFFDFDFCFFFCFCFBFFFCFBFBFFFBFB182 FAFFFBFAF9FFFAFAF9FFFAF9F8FFF9F9F7FFF9F8F7FF986B37FFA37B48FFBEA2183 7FFFBEA17EFFBDA17DFFBDA07CFFBD9F7CFFBC9F7BFFBB9E7AFFBB9D7AFFBB9D184 79FFBA9C78FFB99B78FFB99A77FFB89A76FFB89975FF996C39FFA37B48FFA37B185 48FFA27A47FFA27946FFA17845FFA07744FFA07643FF9F7542FF9E7441FF9E73186 40FF9D723FFF9C713EFF9C703DFF9B6F3CFF9A6E3BFF9A6D3AFF187 }188 117 end 189 118 object MenuItem3: TMenuItem 190 119 Action = ARemove 191 Bitmap.Data = {192 36040000424D3604000000000000360000002800000010000000100000000100193 2000000000000004000064000000640000000000000000000000000000000000194 0000000000000000000000000000000000000000000000000000000000000000195 0000000000000000000000000000000000000000000000000000000000000000196 000000000000DCDCDCFFB2B2B2FFDCDCDCFF0000000000000000000000000000197 000000000000DCDCDCFFB2B2B2FFDCDCDCFF0000000000000000000000000000198 00007979A8FF000067FF626291FFB2B2B2FFDCDCDCFF00000000000000000000199 00007979A8FF000050FF626291FFB2B2B2FFDCDCDCFF00000000000000008C8C200 BBFF00006EFF0035FFFF000068FF626291FFB2B2B2FFDCDCDCFF000000007979201 A8FF000054FF0015FFFF000050FF626291FFB2B2B2FF00000000000000000000202 72FF619BFFFF003AFFFF0035FFFF000067FF626291FFB2B2B2FF7979A8FF0000203 59FF001BFFFF0018FFFF0015FFFF000050FFDCDCDCFF00000000000000008C8C204 BBFF000075FF619BFFFF003AFFFF0035FFFF000067FF626291FF000061FF0023205 FFFF001FFFFF001BFFFF000054FF7979A8FF0000000000000000000000000000206 00008C8CBBFF000075FF619BFFFF003AFFFF0035FFFF000067FF002CFFFF0027207 FFFF0023FFFF000059FF7979A8FF000000000000000000000000000000000000208 0000000000008C8CBBFF000075FF619BFFFF003AFFFF0035FFFF0030FFFF002B209 FFFF000061FF7979A8FF00000000000000000000000000000000000000000000210 000000000000000000007979A8FF000075FF003EFFFF003AFFFF0035FFFF0000211 68FF626291FFB2B2B2FFDCDCDCFF000000000000000000000000000000000000212 0000000000007979A8FF00007CFF0047FFFF0042FFFF003EFFFF003AFFFF0035213 FFFF000068FF626291FFB2B2B2FFDCDCDCFF0000000000000000000000000000214 00007979A8FF000082FF004EFFFF004BFFFF0047FFFF000075FF619BFFFF003A215 FFFF0035FFFF000068FF626291FFB2B2B2FFDCDCDCFF00000000000000008C8C216 BBFF000086FF0054FFFF0052FFFF004EFFFF00007CFF7979A8FF000075FF619B217 FFFF003AFFFF0035FFFF000067FF626291FFB2B2B2FF00000000000000000000218 88FF619BFFFF0057FFFF0054FFFF000082FF7979A8FF000000008C8CBBFF0000219 75FF619BFFFF003AFFFF0035FFFF000068FFDCDCDCFF00000000000000008C8C220 BBFF000088FF619BFFFF000086FF7979A8FF0000000000000000000000008C8C221 BBFF000075FF619BFFFF00006EFF7979A8FF0000000000000000000000000000222 00008C8CBBFF000088FF8C8CBBFF000000000000000000000000000000000000223 00008C8CBBFF000075FF8C8CBBFF000000000000000000000000000000000000224 0000000000000000000000000000000000000000000000000000000000000000225 0000000000000000000000000000000000000000000000000000226 }227 120 end 228 121 object MenuItem4: TMenuItem -
trunk/Forms/UFormCategories.pas
r148 r174 188 188 begin 189 189 Core.CoolTranslator1.TranslateComponentRecursive(Self); 190 Core.ThemeManager.UseTheme(Self); 190 191 for I := 0 to ToolBar1.ButtonCount - 1 do 191 192 ToolBar1.Buttons[I].Hint := ToolBar1.Buttons[I].Caption; -
trunk/Forms/UFormCategorySelect.lfm
r104 r174 7 7 ClientHeight = 584 8 8 ClientWidth = 791 9 DesignTimePPI = 120 9 10 OnCreate = FormCreate 10 11 OnShow = FormShow 11 12 Position = poScreenCenter 12 LCLVersion = '1. 6.0.4'13 LCLVersion = '1.8.0.6' 13 14 object ListBox1: TListBox 14 15 Left = 16 -
trunk/Forms/UFormCategorySelect.pas
r96 r174 51 51 begin 52 52 Core.CoolTranslator1.TranslateComponentRecursive(Self); 53 Core.ThemeManager.UseTheme(Self); 53 54 end; 54 55 -
trunk/Forms/UFormExport.lfm
r96 r174 7 7 ClientHeight = 654 8 8 ClientWidth = 850 9 DesignTimePPI = 120 9 10 OnCreate = FormCreate 10 11 Position = poScreenCenter 11 LCLVersion = '1. 6.0.4'12 LCLVersion = '1.8.0.6' 12 13 object ButtonProcess: TButton 13 14 Left = 18 -
trunk/Forms/UFormExport.pas
r102 r174 61 61 begin 62 62 Core.CoolTranslator1.TranslateComponentRecursive(Self); 63 Core.ThemeManager.UseTheme(Self); 63 64 end; 64 65 -
trunk/Forms/UFormImport.lfm
r96 r174 7 7 ClientHeight = 507 8 8 ClientWidth = 652 9 DesignTimePPI = 120 9 10 OnCreate = FormCreate 10 11 Position = poScreenCenter 11 LCLVersion = '1. 6.0.4'12 LCLVersion = '1.8.0.6' 12 13 object ButtonProcess: TButton 13 14 Left = 16 -
trunk/Forms/UFormImport.pas
r98 r174 63 63 begin 64 64 Core.CoolTranslator1.TranslateComponentRecursive(Self); 65 Core.ThemeManager.UseTheme(Self); 65 66 end; 66 67 -
trunk/Forms/UFormImportFormat.lfm
r123 r174 7 7 ClientHeight = 439 8 8 ClientWidth = 629 9 DesignTimePPI = 120 9 10 OnClose = FormClose 10 11 OnCreate = FormCreate 11 12 OnShow = FormShow 12 13 Position = poScreenCenter 13 LCLVersion = '1. 6.0.4'14 LCLVersion = '1.8.0.6' 14 15 object ButtonOk: TButton 15 16 Left = 525 … … 34 35 object Label1: TLabel 35 36 Left = 20 36 Height = 2 437 Height = 20 37 38 Top = 53 38 Width = 5639 Width = 43 39 40 Caption = 'Name:' 40 41 ParentColor = False … … 42 43 object EditName: TEdit 43 44 Left = 179 44 Height = 3445 Height = 28 45 46 Top = 48 46 47 Width = 426 … … 50 51 object Label8: TLabel 51 52 Left = 20 52 Height = 2 453 Height = 20 53 54 Top = 90 54 Width = 9755 Width = 72 55 56 Caption = 'Block start:' 56 57 ParentColor = False … … 58 59 object EditBlockStart: TEdit 59 60 Left = 179 60 Height = 3461 Height = 28 61 62 Top = 85 62 63 Width = 426 … … 66 67 object Label9: TLabel 67 68 Left = 20 68 Height = 2 469 Height = 20 69 70 Top = 130 70 Width = 8971 Width = 68 71 72 Caption = 'Block end:' 72 73 ParentColor = False … … 74 75 object EditBlockEnd: TEdit 75 76 Left = 179 76 Height = 3477 Height = 28 77 78 Top = 125 78 79 Width = 426 … … 118 119 object Label2: TLabel 119 120 Left = 20 120 Height = 2 4121 Height = 20 121 122 Top = 157 122 Width = 92123 Width = 68 123 124 Caption = 'Item rules:' 124 125 ParentColor = False … … 126 127 object Label3: TLabel 127 128 Left = 20 128 Height = 2 4129 Height = 20 129 130 Top = 13 130 Width = 45131 Width = 35 131 132 Caption = 'Type:' 132 133 ParentColor = False … … 134 135 object ComboBoxType: TComboBox 135 136 Left = 179 136 Height = 38137 Height = 28 137 138 Top = 13 138 139 Width = 197 139 ItemHeight = 0140 ItemHeight = 20 140 141 Items.Strings = ( 141 142 'Text parse HTTP' -
trunk/Forms/UFormImportFormat.pas
r123 r174 161 161 begin 162 162 Core.CoolTranslator1.TranslateComponentRecursive(Self); 163 Core.ThemeManager.UseTheme(Self); 163 164 YesNoString[False] := SNo; 164 165 YesNoString[True] := SYes; -
trunk/Forms/UFormImportFormats.pas
r123 r174 190 190 begin 191 191 Core.CoolTranslator1.TranslateComponentRecursive(Self); 192 Core.ThemeManager.UseTheme(Self); 192 193 for I := 0 to ToolBar1.ButtonCount - 1 do 193 194 ToolBar1.Buttons[I].Hint := ToolBar1.Buttons[I].Caption; -
trunk/Forms/UFormImportPattern.lfm
r69 r174 7 7 ClientHeight = 431 8 8 ClientWidth = 662 9 DesignTimePPI = 120 9 10 OnCreate = FormCreate 10 11 OnShow = FormShow 11 12 Position = poScreenCenter 12 LCLVersion = '1. 6.0.4'13 LCLVersion = '1.8.0.6' 13 14 object Label8: TLabel 14 15 Left = 24 -
trunk/Forms/UFormImportPattern.pas
r96 r174 54 54 begin 55 55 Core.CoolTranslator1.TranslateComponentRecursive(Self); 56 Core.ThemeManager.UseTheme(Self); 56 57 InitControls; 57 58 end; -
trunk/Forms/UFormImportSource.lfm
r123 r174 7 7 ClientHeight = 459 8 8 ClientWidth = 620 9 DesignTimePPI = 120 9 10 OnClose = FormClose 10 11 OnCreate = FormCreate 11 12 OnShow = FormShow 12 13 Position = poScreenCenter 13 LCLVersion = '1. 6.0.4'14 LCLVersion = '1.8.0.6' 14 15 object EditName: TEdit 15 16 Left = 135 16 Height = 3417 Height = 28 17 18 Top = 10 18 19 Width = 471 … … 22 23 object Label1: TLabel 23 24 Left = 10 24 Height = 2 425 Height = 20 25 26 Top = 9 26 Width = 5627 Width = 43 27 28 Caption = 'Name:' 28 29 ParentColor = False … … 30 31 object Label2: TLabel 31 32 Left = 10 32 Height = 2 433 Height = 20 33 34 Top = 49 34 Width = 10135 Width = 78 35 36 Caption = 'Source URL:' 36 37 ParentColor = False … … 38 39 object EditURL: TEdit 39 40 Left = 136 40 Height = 3441 Height = 28 41 42 Top = 49 42 43 Width = 350 … … 66 67 object Label3: TLabel 67 68 Left = 10 68 Height = 2 469 Height = 20 69 70 Top = 96 70 Width = 10871 Width = 84 71 72 Caption = 'Data format:' 72 73 ParentColor = False … … 74 75 object ComboBox1: TComboBox 75 76 Left = 135 76 Height = 3877 Height = 28 77 78 Top = 91 78 79 Width = 350 79 80 Anchors = [akTop, akLeft, akRight] 80 ItemHeight = 081 ItemHeight = 20 81 82 Style = csDropDownList 82 83 TabOrder = 2 … … 94 95 object CheckBoxEnabled: TCheckBox 95 96 Left = 10 96 Height = 2 897 Height = 24 97 98 Top = 128 98 Width = 9299 Width = 78 99 100 Caption = 'Enabled' 100 101 TabOrder = 4 … … 102 103 object Label4: TLabel 103 104 Left = 10 104 Height = 2 4105 Height = 20 105 106 Top = 160 106 Width = 96107 Width = 74 107 108 Caption = 'Categories:' 108 109 ParentColor = False … … 119 120 ScrollWidth = 469 120 121 TabOrder = 5 121 TopIndex = -1122 122 end 123 123 object Button1: TButton … … 146 146 object Label5: TLabel 147 147 Left = 10 148 Height = 2 4148 Height = 20 149 149 Top = 352 150 Width = 97150 Width = 73 151 151 Caption = 'User name:' 152 152 ParentColor = False … … 154 154 object Label6: TLabel 155 155 Left = 305 156 Height = 2 4156 Height = 20 157 157 Top = 351 158 Width = 87158 Width = 65 159 159 Caption = 'Password:' 160 160 ParentColor = False … … 162 162 object EditUserName: TEdit 163 163 Left = 136 164 Height = 34164 Height = 28 165 165 Top = 351 166 166 Width = 153 … … 169 169 object EditPassword: TEdit 170 170 Left = 436 171 Height = 34171 Height = 28 172 172 Top = 351 173 173 Width = 153 -
trunk/Forms/UFormImportSource.pas
r123 r174 99 99 begin 100 100 Core.CoolTranslator1.TranslateComponentRecursive(Self); 101 Core.ThemeManager.UseTheme(Self); 101 102 end; 102 103 -
trunk/Forms/UFormImportSources.lfm
r145 r174 7 7 ClientHeight = 414 8 8 ClientWidth = 812 9 DesignTimePPI = 120 9 10 OnClose = FormClose 10 11 OnCreate = FormCreate 11 12 OnShow = FormShow 12 13 Position = poScreenCenter 13 LCLVersion = '1. 6.2.0'14 LCLVersion = '1.8.0.6' 14 15 object ToolBar1: TToolBar 15 16 Left = 0 … … 142 143 object MenuItem1: TMenuItem 143 144 Action = AAdd 144 Bitmap.Data = {145 36040000424D3604000000000000360000002800000010000000100000000100146 2000000000000004000064000000640000000000000000000000000000000000147 0000000000000000000000000000000000000000000000000000000000000000148 0000000000000000000000000000000000000000000000000000000000000000149 000000000000000000000000000000000000D4D4D4FFB2B2B2FFB2B2B2FFD4D4150 D4FF000000000000000000000000000000000000000000000000000000000000151 0000000000000000000000000000709B70FF004A00FF004800FF4E764EFFB2B2152 B2FF000000000000000000000000000000000000000000000000000000000000153 0000000000000000000000000000004E00FF00C800FF00C400FF004800FFB2B2154 B2FF000000000000000000000000000000000000000000000000000000000000155 0000000000000000000000000000005000FF00CA00FF00C600FF004A00FFB2B2156 B2FF000000000000000000000000000000000000000000000000000000000000157 0000000000000000000000000000005300FF00CE00FF00CA00FF004C00FFB2B2158 B2FF00000000000000000000000000000000000000000000000000000000D4D4159 D4FFB2B2B2FFB2B2B2FFB2B2B2FF005400FF00D200FF00CE00FF004E00FFB2B2160 B2FFB2B2B2FFB2B2B2FFB2B2B2FFB2B2B2FFD4D4D4FF0000000070A670FF005E161 00FF005C00FF005A00FF005800FF005600FF00D600FF00D000FF005000FF004E162 00FF004C00FF004A00FF004A00FF4E764EFFB2B2B2FF00000000006200FF8CFE163 8CFF00EA00FF00E600FF00E200FF00DE00FF00DA00FF00D400FF00D000FF00CC164 00FF00C800FF00C400FF00C200FF004800FFB2B2B2FF00000000006400FFECFF165 ECFF8CFE8CFF8CFE8CFF8CFE8CFF8CFE8CFF00DE00FF00D900FF00D400FF00D0166 00FF00CC00FF00C800FF00C400FF004A00FFD4D4D4FF0000000070A970FF0064167 00FF006400FF006200FF006000FF006000FF8CFE8CFF00DD00FF005800FF0056168 00FF005400FF005300FF005000FF709C70FF0000000000000000000000000000169 0000000000000000000000000000006000FF8CFE8CFF00E000FF005A00FFB2B2170 B2FF000000000000000000000000000000000000000000000000000000000000171 0000000000000000000000000000006200FF8CFE8CFF00E500FF005C00FFB2B2172 B2FF000000000000000000000000000000000000000000000000000000000000173 0000000000000000000000000000006400FF8CFE8CFF00E800FF005E00FFB2B2174 B2FF000000000000000000000000000000000000000000000000000000000000175 0000000000000000000000000000006400FFECFFECFF8CFE8CFF006000FFD4D4176 D4FF000000000000000000000000000000000000000000000000000000000000177 000000000000000000000000000070A970FF006400FF006200FF70A670FF0000178 0000000000000000000000000000000000000000000000000000179 }180 145 end 181 146 object MenuItem2: TMenuItem 182 147 Action = AModify 183 Bitmap.Data = {184 36040000424D3604000000000000360000002800000010000000100000000100185 2000000000000004000064000000640000000000000000000000986B37FF976A186 36FF966935FF966734FF956633FF946532FF946531FF936430FF92622FFF9261187 2EFF91602DFF90602CFF905F2BFF8F5D2AFF8E5C29FF8D5B28FF996C38FFF8F7188 F6FFF8F7F5FFF7F6F5FFF6F6F4FFF6F5F3FFF5F5F3FFF5F4F2FFF4F3F1FFF4F3189 F1FFF3F2F0FFF3F2EFFFF2F1EFFFF2F0EEFFF1F0EDFF8E5D29FF996D3AFFF9F8190 F7FF959594FF878787FF9B9A9AFFF7F6F4FFF6F5F3FFF6F5F3FFF5F4F2FFF4F3191 F1FFF4F3F1FFF3F2F0FFF3F2EFFFF2F1EFFFF2F1EEFF8F5E2AFF9A6E3BFFF9F9192 F8FF7C7C7CFFC4C4C4FF878787FFF7F6F5FF7A7A7AFF787878FF747474FF7171193 70FF6D6D6CFF696968FF656565FF616161FFF2F1EFFF905F2BFF9B6F3CFFFAF9194 F8FFBEBEBDFF929292FFBCBCBBFFF8F7F6FFF7F7F5FFF7F6F4FFF6F5F4FFF6F5195 F3FFF5F4F2FFF5F4F2FFF4F3F1FFF4F2F0FFF3F2F0FF91602DFF9C703DFFFAFA196 F9FFFAF9F9FFF9F9F8FFF9F8F7FFF8F8F7FFF8F7F6FFF7F7F5FFF7F6F5FFF6F5197 F4FFF6F5F3FFF5F4F3FFF5F4F2FFF4F3F1FFF4F3F0FF92612EFF9D723EFFFBFB198 FAFF9F9F9EFF7F7F7FFFAEAEADFFF9F8F7FFF8F8F7FFF8F7F6FFF7F7F5FFF7F6199 F5FFF6F6F4FFF6F5F3FFF5F4F3FFF5F4F2FFF4F3F1FF92622FFF9D7340FFFCFB200 FBFF818181FFC4C4C4FF8F8F8FFFFAF9F8FF7B7B7AFF797979FF757574FF7271201 71FF6D6D6DFF696969FF666665FF626261FFF5F4F2FF936430FF9E7441FFFCFC202 FCFFB5B5B5FF848484FFBEBDBDFFFAFAF9FFFAF9F8FFF9F9F7FFF9F8F7FFF8F8203 F6FFF8F7F5FFF7F6F5FFF7F6F4FFF6F5F3FFF6F5F3FF946531FF9F7542FFFDFD204 FCFFFCFCFCFFFCFCFBFFFBFBFAFFFBFAFAFFFAFAF9FFFAF9F8FFF9F9F8FFF9F8205 F7FFF8F8F6FFF8F7F6FFF7F6F5FFF7F6F4FFF6F5F4FF956633FFA07643FFFEFD206 FDFF8C8C8CFF525252FFA4A4A4FFFBFBFAFFFBFBFAFFFAFAF9FFFAF9F8FFF9F9207 F8FFF9F8F7FFF8F8F6FFF8F7F6FFF7F7F5FFF7F6F4FF966734FFA17844FFFEFE208 FEFF5F5F5FFF949494FF535353FFFCFCFBFF7B7B7BFF797979FF757575FF7272209 72FF6E6E6EFF6A6A69FF666666FF626262FFF7F7F5FF966935FFA17946FFFFFF210 FFFF878787FF5D5D5DFFA0A0A0FFFDFCFCFFFCFCFBFFFCFBFBFFFBFBFAFFFBFA211 F9FFFAFAF9FFFAF9F8FFF9F8F7FFF8F8F7FFF8F7F6FF976A36FFA27A47FFFFFF212 FFFFFFFFFFFFFEFEFEFFFEFEFEFFFDFDFDFFFDFDFCFFFCFCFBFFFCFBFBFFFBFB213 FAFFFBFAF9FFFAFAF9FFFAF9F8FFF9F9F7FFF9F8F7FF986B37FFA37B48FFBEA2214 7FFFBEA17EFFBDA17DFFBDA07CFFBD9F7CFFBC9F7BFFBB9E7AFFBB9D7AFFBB9D215 79FFBA9C78FFB99B78FFB99A77FFB89A76FFB89975FF996C39FFA37B48FFA37B216 48FFA27A47FFA27946FFA17845FFA07744FFA07643FF9F7542FF9E7441FF9E73217 40FF9D723FFF9C713EFF9C703DFF9B6F3CFF9A6E3BFF9A6D3AFF218 }219 148 end 220 149 object MenuItem3: TMenuItem 221 150 Action = ARemove 222 Bitmap.Data = {223 36040000424D3604000000000000360000002800000010000000100000000100224 2000000000000004000064000000640000000000000000000000000000000000225 0000000000000000000000000000000000000000000000000000000000000000226 0000000000000000000000000000000000000000000000000000000000000000227 000000000000DCDCDCFFB2B2B2FFDCDCDCFF0000000000000000000000000000228 000000000000DCDCDCFFB2B2B2FFDCDCDCFF0000000000000000000000000000229 00007979A8FF000067FF626291FFB2B2B2FFDCDCDCFF00000000000000000000230 00007979A8FF000050FF626291FFB2B2B2FFDCDCDCFF00000000000000008C8C231 BBFF00006EFF0035FFFF000068FF626291FFB2B2B2FFDCDCDCFF000000007979232 A8FF000054FF0015FFFF000050FF626291FFB2B2B2FF00000000000000000000233 72FF619BFFFF003AFFFF0035FFFF000067FF626291FFB2B2B2FF7979A8FF0000234 59FF001BFFFF0018FFFF0015FFFF000050FFDCDCDCFF00000000000000008C8C235 BBFF000075FF619BFFFF003AFFFF0035FFFF000067FF626291FF000061FF0023236 FFFF001FFFFF001BFFFF000054FF7979A8FF0000000000000000000000000000237 00008C8CBBFF000075FF619BFFFF003AFFFF0035FFFF000067FF002CFFFF0027238 FFFF0023FFFF000059FF7979A8FF000000000000000000000000000000000000239 0000000000008C8CBBFF000075FF619BFFFF003AFFFF0035FFFF0030FFFF002B240 FFFF000061FF7979A8FF00000000000000000000000000000000000000000000241 000000000000000000007979A8FF000075FF003EFFFF003AFFFF0035FFFF0000242 68FF626291FFB2B2B2FFDCDCDCFF000000000000000000000000000000000000243 0000000000007979A8FF00007CFF0047FFFF0042FFFF003EFFFF003AFFFF0035244 FFFF000068FF626291FFB2B2B2FFDCDCDCFF0000000000000000000000000000245 00007979A8FF000082FF004EFFFF004BFFFF0047FFFF000075FF619BFFFF003A246 FFFF0035FFFF000068FF626291FFB2B2B2FFDCDCDCFF00000000000000008C8C247 BBFF000086FF0054FFFF0052FFFF004EFFFF00007CFF7979A8FF000075FF619B248 FFFF003AFFFF0035FFFF000067FF626291FFB2B2B2FF00000000000000000000249 88FF619BFFFF0057FFFF0054FFFF000082FF7979A8FF000000008C8CBBFF0000250 75FF619BFFFF003AFFFF0035FFFF000068FFDCDCDCFF00000000000000008C8C251 BBFF000088FF619BFFFF000086FF7979A8FF0000000000000000000000008C8C252 BBFF000075FF619BFFFF00006EFF7979A8FF0000000000000000000000000000253 00008C8CBBFF000088FF8C8CBBFF000000000000000000000000000000000000254 00008C8CBBFF000075FF8C8CBBFF000000000000000000000000000000000000255 0000000000000000000000000000000000000000000000000000000000000000256 0000000000000000000000000000000000000000000000000000257 }258 151 end 259 152 object MenuItem4: TMenuItem 260 153 Action = AProcess 261 Bitmap.Data = {262 36040000424D3604000000000000360000002800000010000000100000000100263 2000000000000004000064000000640000000000000000000000000000000000264 0000000000000000000000000000000000000000000000000000000000000000265 0000000000000000000000000000000000000000000000000000000000000000266 000000000000303030FF303030FF303030FF303030FF00000000000000000000267 0000000000000000000000000000000000000000000000000000000000000000268 0000000000000000000000000000303030FF303030FF00000000000000000000269 0000000000000000000000000000303030FF0000000000000000000000000000270 0000000000000000000000000000303030FF303030FF00000000000000000000271 0000000000000000000000000000303030FF0000000000000000000000000000272 0000000000000000000000000000303030FF303030FF00000000000000003030273 30FF303030FF303030FF303030FF303030FF0000000000000000000000000000274 0000000000000000000000000000303030FF303030FF303030FF303030FF3030275 30FF303030FF303030FF303030FF303030FF0000000000000000000000000000276 000000000000000000000000000000000000303030FF303030FF303030FF3030277 30FF000000000000000000000000000000000000000000000000000000000000278 00000000000000000000000000000000000000000000303030FF303030FF0000279 0000000000000000000000000000000000000000000000000000000000000000280 00000000000000000000303030FF0000000000000000303030FF303030FF0000281 000000000000303030FF00000000000000000000000000000000000000000000282 000000000000303030FF303030FF303030FF303030FF303030FF303030FF0000283 000000000000303030FF00000000000000000000000000000000000000000000284 0000303030FF303030FF00000000303030FF303030FF303030FF303030FF0000285 000000000000303030FF00000000000000000000000000000000000000000000286 0000303030FF00000000000000000000000000000000303030FF303030FF3030287 30FF303030FF303030FF00000000000000000000000000000000000000000000288 000000000000000000000000000000000000303030FF303030FF000000000000289 0000000000000000000000000000000000000000000000000000000000000000290 0000000000000000000000000000303030FF303030FF303030FF303030FF0000291 0000000000000000000000000000000000000000000000000000000000000000292 0000000000000000000000000000303030FF303030FF303030FF303030FF0000293 0000000000000000000000000000000000000000000000000000000000000000294 000000000000000000000000000000000000303030FF303030FF000000000000295 0000000000000000000000000000000000000000000000000000296 }297 154 end 298 155 object MenuItem7: TMenuItem -
trunk/Forms/UFormImportSources.pas
r145 r174 356 356 begin 357 357 Core.CoolTranslator1.TranslateComponentRecursive(Self); 358 Core.ThemeManager.UseTheme(Self); 358 359 for I := 0 to ToolBar1.ButtonCount - 1 do 359 360 ToolBar1.Buttons[I].Hint := ToolBar1.Buttons[I].Caption; -
trunk/Forms/UFormMain.pas
r173 r174 394 394 FormSettings.Load; 395 395 if FormSettings.ShowModal = mrOk then begin 396 FormSettings.Save;396 FormSettings.Save; 397 397 Core.SaveConfig; 398 Core.ThemeManager.UseTheme(Self); 398 399 end; 399 400 finally … … 479 480 if Visible then begin 480 481 Core.PersistentForm1.Load(Self); 482 Core.ThemeManager.UseTheme(Self); 481 483 UpdateInterface; 482 484 ListViewFilter1.StringGrid.Col := 1; -
trunk/Forms/UFormSettings.lfm
r154 r174 9 9 Constraints.MinHeight = 328 10 10 Constraints.MinWidth = 389 11 DesignTimePPI = 120 11 12 OnCreate = FormCreate 12 13 OnShow = FormShow 13 14 Position = poScreenCenter 14 LCLVersion = '1. 6.4.0'15 LCLVersion = '1.8.0.6' 15 16 object ComboBoxLanguage: TComboBox 16 17 Left = 152 … … 65 66 Width = 150 66 67 Caption = 'Start on user logon' 68 Color = clDefault 67 69 OnChange = CheckBoxStartOnLogonChange 70 ParentColor = False 71 ParentFont = False 68 72 TabOrder = 4 69 73 end … … 121 125 Anchors = [akLeft, akRight, akBottom] 122 126 end 127 object Label3: TLabel 128 Left = 16 129 Height = 20 130 Top = 264 131 Width = 48 132 Caption = 'Theme:' 133 ParentColor = False 134 end 135 object ComboBoxTheme: TComboBox 136 Left = 152 137 Height = 28 138 Top = 264 139 Width = 208 140 ItemHeight = 20 141 Style = csDropDownList 142 TabOrder = 9 143 end 123 144 end -
trunk/Forms/UFormSettings.pas
r154 r174 23 23 CheckBoxAlwaysOnTop: TCheckBox; 24 24 ComboBoxLanguage: TComboBox; 25 ComboBoxTheme: TComboBox; 25 26 Label1: TLabel; 26 27 Label2: TLabel; 28 Label3: TLabel; 27 29 SpinEditDPI: TSpinEdit; 28 30 procedure ButtonOkClick(Sender: TObject); … … 47 49 48 50 uses 49 UCore ;51 UCore, UTheme; 50 52 51 53 { TFormSettings } … … 53 55 procedure TFormSettings.FormShow(Sender: TObject); 54 56 begin 55 Core.CoolTranslator1.LanguageListToStrings(ComboBoxLanguage.Items);56 ComboBoxLanguage.ItemIndex := ComboBoxLanguage.Items.IndexOfObject(Core.CoolTranslator1.Language);57 if ComboBoxLanguage.ItemIndex = -1 then ComboBoxLanguage.ItemIndex := 0;58 57 end; 59 58 60 59 procedure TFormSettings.ButtonOkClick(Sender: TObject); 61 60 begin 62 if ComboBoxLanguage.ItemIndex <> -1 then63 Core.CoolTranslator1.Language := TLanguage(ComboBoxLanguage.Items.Objects[ComboBoxLanguage.ItemIndex]);64 61 end; 65 62 … … 77 74 begin 78 75 Core.CoolTranslator1.TranslateComponentRecursive(Self); 76 Core.ThemeManager.UseTheme(Self); 77 Core.ThemeManager.Themes.LoadToStrings(ComboBoxTheme.Items); 78 Core.CoolTranslator1.LanguageListToStrings(ComboBoxLanguage.Items); 79 79 end; 80 80 81 81 procedure TFormSettings.Load; 82 82 begin 83 ComboBoxLanguage.ItemIndex := ComboBoxLanguage.Items.IndexOfObject(Core.CoolTranslator1.Language); 84 if ComboBoxLanguage.ItemIndex = -1 then ComboBoxLanguage.ItemIndex := 0; 85 ComboBoxTheme.ItemIndex := ComboBoxTheme.Items.IndexOfObject(Core.ThemeManager.Theme); 86 if ComboBoxTheme.ItemIndex = -1 then ComboBoxTheme.ItemIndex := 0; 83 87 CheckBoxAlwaysOnTop.Checked := Core.AlwaysOnTop; 84 88 CheckBoxStartOnLogon.Checked := Core.StartOnLogon; … … 92 96 procedure TFormSettings.Save; 93 97 begin 98 if ComboBoxLanguage.ItemIndex <> -1 then 99 Core.CoolTranslator1.Language := TLanguage(ComboBoxLanguage.Items.Objects[ComboBoxLanguage.ItemIndex]); 100 if ComboBoxTheme.ItemIndex <> -1 then 101 Core.ThemeManager.Theme := TTheme(ComboBoxTheme.Items.Objects[ComboBoxTheme.ItemIndex]); 94 102 Core.AlwaysOnTop := CheckBoxAlwaysOnTop.Checked; 95 103 Core.StartOnLogon := CheckBoxStartOnLogon.Checked;
Note:
See TracChangeset
for help on using the changeset viewer.