- Timestamp:
- Mar 16, 2011, 7:47:27 AM (14 years ago)
- Location:
- Docking/CoolDocking
- Files:
-
- 9 added
- 1 deleted
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
Docking/CoolDocking/CoolDocking.lpk
r194 r197 9 9 <PathDelim Value="\"/> 10 10 <SearchPaths> 11 <OtherUnitFiles Value="Managers "/>11 <OtherUnitFiles Value="Managers;Common"/> 12 12 <UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/> 13 13 </SearchPaths> … … 27 27 <License Value="GNU/GPL"/> 28 28 <Version Minor="3"/> 29 <Files Count="1 5">29 <Files Count="16"> 30 30 <Item1> 31 31 <Filename Value="UCDClient.pas"/> … … 63 63 </Item8> 64 64 <Item9> 65 <Filename Value="Common\URectangle.pas"/> 66 <UnitName Value="URectangle"/> 67 </Item9> 68 <Item10> 65 69 <Filename Value="UCDPopupMenu.pas"/> 66 70 <UnitName Value="UCDPopupMenu"/> 67 </Item 9>68 <Item1 0>71 </Item10> 72 <Item11> 69 73 <Filename Value="UCDLayout.pas"/> 70 74 <HasRegisterProc Value="True"/> 71 75 <UnitName Value="UCDLayout"/> 72 </Item10>73 <Item11>74 <Filename Value="URectangle.pas"/>75 <UnitName Value="URectangle"/>76 76 </Item11> 77 77 <Item12> … … 92 92 <UnitName Value="UCDMaster"/> 93 93 </Item15> 94 <Item16> 95 <Filename Value="UCDResource.pas"/> 96 <UnitName Value="UCDResource"/> 97 </Item16> 94 98 </Files> 95 99 <i18n> … … 98 102 </i18n> 99 103 <Type Value="RunAndDesignTime"/> 100 <RequiredPkgs Count=" 2">104 <RequiredPkgs Count="3"> 101 105 <Item1> 102 <PackageName Value="LCL "/>106 <PackageName Value="LCLBase"/> 103 107 </Item1> 104 108 <Item2> 109 <PackageName Value="LCL"/> 110 </Item2> 111 <Item3> 105 112 <PackageName Value="FCL"/> 106 113 <MinVersion Major="1" Valid="True"/> 107 </Item 2>114 </Item3> 108 115 </RequiredPkgs> 109 116 <UsageOptions> 110 <UnitPath Value="$(PkgOutDir);Managers "/>117 <UnitPath Value="$(PkgOutDir);Managers;Common"/> 111 118 </UsageOptions> 112 119 <PublishOptions> -
Docking/CoolDocking/CoolDocking.pas
r194 r197 9 9 uses 10 10 UCDClient, UCDCustomize, UCDWindowList, UCDManagerTabs, UCDManagerRegions, 11 UCDManagerTabsPopup, UCDManagerRegionsPopup, U CDPopupMenu, UCDLayout,12 U Rectangle, UCDCommon, UCDManager, UCDConjoinForm, UCDMaster,11 UCDManagerTabsPopup, UCDManagerRegionsPopup, URectangle, UCDPopupMenu, 12 UCDLayout, UCDCommon, UCDManager, UCDConjoinForm, UCDMaster, UCDResource, 13 13 LazarusPackageIntf; 14 14 -
Docking/CoolDocking/Demo/IDE/IDE.lpi
r195 r197 30 30 </local> 31 31 </RunParams> 32 <RequiredPackages Count=" 3">32 <RequiredPackages Count="4"> 33 33 <Item1> 34 <PackageName Value="LCLBase"/> 35 <MinVersion Major="1" Release="1" Valid="True"/> 36 </Item1> 37 <Item2> 34 38 <PackageName Value="SynEdit"/> 35 39 <MinVersion Major="1" Valid="True"/> 36 </Item 1>37 <Item 2>40 </Item2> 41 <Item3> 38 42 <PackageName Value="CoolDocking"/> 39 43 <MinVersion Minor="2" Valid="True"/> 40 </Item 2>41 <Item 3>44 </Item3> 45 <Item4> 42 46 <PackageName Value="LCL"/> 43 </Item 3>47 </Item4> 44 48 </RequiredPackages> 45 <Units Count=" 67">49 <Units Count="52"> 46 50 <Unit0> 47 51 <Filename Value="IDE.lpr"/> … … 50 54 <WindowIndex Value="0"/> 51 55 <TopLine Value="1"/> 52 <CursorPos X="1" Y="1 "/>53 <UsageCount Value=" 136"/>56 <CursorPos X="1" Y="17"/> 57 <UsageCount Value="314"/> 54 58 </Unit0> 55 59 <Unit1> … … 59 63 <ResourceBaseClass Value="Form"/> 60 64 <UnitName Value="UMainForm"/> 65 <EditorIndex Value="8"/> 61 66 <WindowIndex Value="0"/> 62 67 <TopLine Value="1"/> 63 <CursorPos X="18" Y="3"/> 64 <UsageCount Value="136"/> 68 <CursorPos X="1" Y="17"/> 69 <UsageCount Value="314"/> 70 <Loaded Value="True"/> 71 <LoadedDesigner Value="True"/> 65 72 </Unit1> 66 73 <Unit2> … … 73 80 <TopLine Value="1"/> 74 81 <CursorPos X="31" Y="17"/> 75 <UsageCount Value=" 136"/>82 <UsageCount Value="314"/> 76 83 </Unit2> 77 84 <Unit3> … … 84 91 <TopLine Value="4"/> 85 92 <CursorPos X="37" Y="17"/> 86 <UsageCount Value=" 136"/>93 <UsageCount Value="314"/> 87 94 </Unit3> 88 95 <Unit4> … … 95 102 <TopLine Value="4"/> 96 103 <CursorPos X="37" Y="17"/> 97 <UsageCount Value=" 136"/>104 <UsageCount Value="314"/> 98 105 </Unit4> 99 106 <Unit5> 100 107 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\control.inc"/> 101 <WindowIndex Value="0"/> 102 <TopLine Value="1070"/> 103 <CursorPos X="1" Y="1083"/> 104 <UsageCount Value="61"/> 108 <EditorIndex Value="12"/> 109 <WindowIndex Value="0"/> 110 <TopLine Value="2320"/> 111 <CursorPos X="1" Y="2333"/> 112 <UsageCount Value="59"/> 113 <Loaded Value="True"/> 105 114 </Unit5> 106 115 <Unit6> … … 113 122 <TopLine Value="4"/> 114 123 <CursorPos X="24" Y="17"/> 115 <UsageCount Value=" 136"/>124 <UsageCount Value="314"/> 116 125 </Unit6> 117 126 <Unit7> … … 120 129 <TopLine Value="941"/> 121 130 <CursorPos X="1" Y="954"/> 122 <UsageCount Value=" 58"/>131 <UsageCount Value="37"/> 123 132 </Unit7> 124 133 <Unit8> … … 131 140 <TopLine Value="4"/> 132 141 <CursorPos X="25" Y="17"/> 133 <UsageCount Value=" 136"/>142 <UsageCount Value="314"/> 134 143 </Unit8> 135 144 <Unit9> … … 142 151 <TopLine Value="3"/> 143 152 <CursorPos X="37" Y="16"/> 144 <UsageCount Value=" 136"/>153 <UsageCount Value="314"/> 145 154 </Unit9> 146 155 <Unit10> … … 153 162 <TopLine Value="5"/> 154 163 <CursorPos X="37" Y="18"/> 155 <UsageCount Value=" 136"/>164 <UsageCount Value="314"/> 156 165 </Unit10> 157 166 <Unit11> … … 164 173 <TopLine Value="4"/> 165 174 <CursorPos X="26" Y="17"/> 166 <UsageCount Value=" 136"/>175 <UsageCount Value="314"/> 167 176 </Unit11> 168 177 <Unit12> … … 175 184 <TopLine Value="5"/> 176 185 <CursorPos X="37" Y="18"/> 177 <UsageCount Value=" 136"/>186 <UsageCount Value="314"/> 178 187 </Unit12> 179 188 <Unit13> … … 186 195 <TopLine Value="4"/> 187 196 <CursorPos X="37" Y="17"/> 188 <UsageCount Value=" 136"/>197 <UsageCount Value="314"/> 189 198 </Unit13> 190 199 <Unit14> … … 197 206 <TopLine Value="6"/> 198 207 <CursorPos X="75" Y="7"/> 199 <UsageCount Value=" 134"/>208 <UsageCount Value="312"/> 200 209 </Unit14> 201 210 <Unit15> … … 206 215 <TopLine Value="1"/> 207 216 <CursorPos X="14" Y="13"/> 208 <UsageCount Value=" 68"/>217 <UsageCount Value="157"/> 209 218 <Loaded Value="True"/> 210 219 </Unit15> … … 212 221 <Filename Value="..\..\UCDLayout.pas"/> 213 222 <UnitName Value="UCDLayout"/> 214 <WindowIndex Value="0"/> 215 <TopLine Value="36"/> 216 <CursorPos X="30" Y="43"/> 217 <UsageCount Value="64"/> 223 <EditorIndex Value="19"/> 224 <WindowIndex Value="0"/> 225 <TopLine Value="1"/> 226 <CursorPos X="22" Y="16"/> 227 <UsageCount Value="66"/> 228 <Loaded Value="True"/> 218 229 </Unit16> 219 230 <Unit17> … … 222 233 <TopLine Value="1524"/> 223 234 <CursorPos X="5" Y="1537"/> 224 <UsageCount Value=" 37"/>235 <UsageCount Value="16"/> 225 236 </Unit17> 226 237 <Unit18> 227 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\FPC\rtl\objpas\types.pp"/> 228 <UnitName Value="types"/> 229 <WindowIndex Value="0"/> 230 <TopLine Value="274"/> 231 <CursorPos X="10" Y="287"/> 232 <UsageCount Value="13"/> 238 <Filename Value="..\..\Common\URectangle.pas"/> 239 <UnitName Value="URectangle"/> 240 <EditorIndex Value="18"/> 241 <WindowIndex Value="0"/> 242 <TopLine Value="110"/> 243 <CursorPos X="18" Y="126"/> 244 <UsageCount Value="31"/> 245 <Loaded Value="True"/> 233 246 </Unit18> 234 247 <Unit19> 235 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\FPC\rtl\win\wininc\struct.inc"/> 236 <WindowIndex Value="0"/> 237 <TopLine Value="220"/> 238 <CursorPos X="16" Y="233"/> 239 <UsageCount Value="3"/> 248 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\forms.pp"/> 249 <UnitName Value="Forms"/> 250 <WindowIndex Value="0"/> 251 <TopLine Value="770"/> 252 <CursorPos X="22" Y="783"/> 253 <UsageCount Value="12"/> 240 254 </Unit19> 241 255 <Unit20> 242 <Filename Value="..\..\URectangle.pas"/> 243 <UnitName Value="URectangle"/> 244 <WindowIndex Value="0"/> 245 <TopLine Value="110"/> 246 <CursorPos X="18" Y="126"/> 247 <UsageCount Value="27"/> 256 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\customcombobox.inc"/> 257 <WindowIndex Value="0"/> 258 <TopLine Value="913"/> 259 <CursorPos X="1" Y="930"/> 260 <UsageCount Value="5"/> 248 261 </Unit20> 249 262 <Unit21> 250 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\FPC\packages\fcl-xml\src\xmlread.pp"/> 251 <UnitName Value="XMLRead"/> 252 <WindowIndex Value="0"/> 253 <TopLine Value="34"/> 254 <CursorPos X="11" Y="47"/> 255 <UsageCount Value="3"/> 263 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\controls.pp"/> 264 <UnitName Value="Controls"/> 265 <EditorIndex Value="14"/> 266 <WindowIndex Value="0"/> 267 <TopLine Value="1389"/> 268 <CursorPos X="14" Y="1432"/> 269 <UsageCount Value="35"/> 270 <Loaded Value="True"/> 256 271 </Unit21> 257 272 <Unit22> 258 <Filename Value="..\..\UCDWindowList.pas"/> 259 <ComponentName Value="CoolDockWindowListForm"/> 260 <HasResources Value="True"/> 261 <ResourceBaseClass Value="Form"/> 262 <UnitName Value="UCDWindowList"/> 263 <WindowIndex Value="0"/> 264 <TopLine Value="2"/> 265 <CursorPos X="20" Y="15"/> 266 <UsageCount Value="11"/> 273 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\wincontrol.inc"/> 274 <WindowIndex Value="0"/> 275 <TopLine Value="7151"/> 276 <CursorPos X="1" Y="7164"/> 277 <UsageCount Value="115"/> 267 278 </Unit22> 268 279 <Unit23> 269 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\forms.pp"/> 270 <UnitName Value="Forms"/> 271 <WindowIndex Value="0"/> 272 <TopLine Value="770"/> 273 <CursorPos X="22" Y="783"/> 274 <UsageCount Value="33"/> 280 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\toolbutton.inc"/> 281 <WindowIndex Value="0"/> 282 <TopLine Value="751"/> 283 <CursorPos X="1" Y="764"/> 284 <UsageCount Value="3"/> 275 285 </Unit23> 276 286 <Unit24> 277 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\FPC\packages\fcl-xml\src\xmlwrite.pp"/> 278 <UnitName Value="XMLWrite"/> 279 <WindowIndex Value="0"/> 280 <TopLine Value="835"/> 281 <CursorPos X="3" Y="837"/> 282 <UsageCount Value="10"/> 287 <Filename Value="..\..\UCDCustomize.pas"/> 288 <ComponentName Value="CDCustomizeForm"/> 289 <HasResources Value="True"/> 290 <ResourceBaseClass Value="Form"/> 291 <UnitName Value="UCDCustomize"/> 292 <EditorIndex Value="5"/> 293 <WindowIndex Value="0"/> 294 <TopLine Value="145"/> 295 <CursorPos X="34" Y="147"/> 296 <UsageCount Value="141"/> 297 <Loaded Value="True"/> 298 <LoadedDesigner Value="True"/> 283 299 </Unit24> 284 300 <Unit25> 285 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\customcombobox.inc"/> 286 <WindowIndex Value="0"/> 287 <TopLine Value="913"/> 288 <CursorPos X="1" Y="930"/> 289 <UsageCount Value="26"/> 301 <Filename Value="..\..\UCDCommon.pas"/> 302 <UnitName Value="UCDCommon"/> 303 <EditorIndex Value="7"/> 304 <WindowIndex Value="0"/> 305 <TopLine Value="30"/> 306 <CursorPos X="4" Y="37"/> 307 <UsageCount Value="56"/> 308 <Loaded Value="True"/> 290 309 </Unit25> 291 310 <Unit26> 292 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\containedaction.inc"/>293 <WindowIndex Value="0"/>294 <TopLine Value="91"/>295 <CursorPos X="1" Y="104"/>296 <UsageCount Value="9"/>297 </Unit26>298 <Unit27>299 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\customaction.inc"/>300 <WindowIndex Value="0"/>301 <TopLine Value="239"/>302 <CursorPos X="1" Y="252"/>303 <UsageCount Value="4"/>304 </Unit27>305 <Unit28>306 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\controls.pp"/>307 <UnitName Value="Controls"/>308 <WindowIndex Value="0"/>309 <TopLine Value="3831"/>310 <CursorPos X="1" Y="3846"/>311 <UsageCount Value="37"/>312 </Unit28>313 <Unit29>314 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\wincontrol.inc"/>315 <EditorIndex Value="9"/>316 <WindowIndex Value="0"/>317 <TopLine Value="6253"/>318 <CursorPos X="1" Y="6270"/>319 <UsageCount Value="29"/>320 <Loaded Value="True"/>321 </Unit29>322 <Unit30>323 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\toolbutton.inc"/>324 <WindowIndex Value="0"/>325 <TopLine Value="751"/>326 <CursorPos X="1" Y="764"/>327 <UsageCount Value="24"/>328 </Unit30>329 <Unit31>330 <Filename Value="..\..\UCDCustomize.pas"/>331 <ComponentName Value="CoolDockCustomizeForm"/>332 <HasResources Value="True"/>333 <ResourceBaseClass Value="Form"/>334 <UnitName Value="UCDCustomize"/>335 <EditorIndex Value="5"/>336 <WindowIndex Value="0"/>337 <TopLine Value="22"/>338 <CursorPos X="36" Y="36"/>339 <UsageCount Value="52"/>340 <Loaded Value="True"/>341 <LoadedDesigner Value="True"/>342 </Unit31>343 <Unit32>344 <Filename Value="..\..\UCDCommon.pas"/>345 <UnitName Value="UCDCommon"/>346 <WindowIndex Value="0"/>347 <TopLine Value="1"/>348 <CursorPos X="1" Y="1"/>349 <UsageCount Value="55"/>350 </Unit32>351 <Unit33>352 311 <Filename Value="..\..\UCDPopupMenu.pas"/> 353 312 <UnitName Value="UCDPopupMenu"/> … … 356 315 <TopLine Value="255"/> 357 316 <CursorPos X="27" Y="268"/> 358 <UsageCount Value="53"/> 359 <Loaded Value="True"/> 360 </Unit33> 361 <Unit34> 362 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\dialogs.pp"/> 363 <UnitName Value="Dialogs"/> 364 <WindowIndex Value="0"/> 365 <TopLine Value="503"/> 366 <CursorPos X="10" Y="516"/> 367 <UsageCount Value="20"/> 368 </Unit34> 369 <Unit35> 370 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\FPC\rtl\objpas\classes\compon.inc"/> 371 <WindowIndex Value="0"/> 372 <TopLine Value="539"/> 373 <CursorPos X="3" Y="544"/> 374 <UsageCount Value="3"/> 375 </Unit35> 376 <Unit36> 377 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\scrollingwincontrol.inc"/> 378 <WindowIndex Value="0"/> 379 <TopLine Value="224"/> 380 <CursorPos X="29" Y="238"/> 381 <UsageCount Value="5"/> 382 </Unit36> 383 <Unit37> 384 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\FPC\rtl\objpas\classes\classes.inc"/> 385 <WindowIndex Value="0"/> 386 <TopLine Value="514"/> 387 <CursorPos X="60" Y="523"/> 388 <UsageCount Value="10"/> 389 </Unit37> 390 <Unit38> 391 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\FPC\rtl\objpas\classes\cregist.inc"/> 392 <WindowIndex Value="0"/> 393 <TopLine Value="79"/> 394 <CursorPos X="14" Y="82"/> 395 <UsageCount Value="4"/> 396 </Unit38> 397 <Unit39> 317 <UsageCount Value="142"/> 318 <Loaded Value="True"/> 319 </Unit26> 320 <Unit27> 398 321 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\lclclasses.pp"/> 399 322 <UnitName Value="LCLClasses"/> … … 401 324 <TopLine Value="32"/> 402 325 <CursorPos X="20" Y="45"/> 403 <UsageCount Value=" 28"/>404 </Unit 39>405 <Unit 40>326 <UsageCount Value="7"/> 327 </Unit27> 328 <Unit28> 406 329 <Filename Value="..\..\UCDStyle.pas"/> 407 330 <UnitName Value="UCDStyle"/> … … 409 332 <TopLine Value="1"/> 410 333 <CursorPos X="24" Y="16"/> 411 <UsageCount Value=" 36"/>412 </Unit 40>413 <Unit 41>334 <UsageCount Value="15"/> 335 </Unit28> 336 <Unit29> 414 337 <Filename Value="..\..\UCDClientPanel.pas"/> 415 338 <UnitName Value="UCDClientPanel"/> … … 417 340 <TopLine Value="1"/> 418 341 <CursorPos X="5" Y="11"/> 419 <UsageCount Value="39"/> 420 </Unit41> 421 <Unit42> 422 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\lclproc.pas"/> 423 <UnitName Value="LCLProc"/> 424 <WindowIndex Value="0"/> 425 <TopLine Value="1531"/> 426 <CursorPos X="33" Y="1544"/> 427 <UsageCount Value="4"/> 428 </Unit42> 429 <Unit43> 342 <UsageCount Value="18"/> 343 </Unit29> 344 <Unit30> 430 345 <Filename Value="..\..\Managers\UCDManagerTabs.pas"/> 431 346 <UnitName Value="UCDManagerTabs"/> 432 <EditorIndex Value="8"/> 433 <WindowIndex Value="0"/> 434 <TopLine Value="31"/> 435 <CursorPos X="15" Y="44"/> 436 <UsageCount Value="41"/> 437 <Loaded Value="True"/> 438 </Unit43> 439 <Unit44> 440 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\themes.pas"/> 441 <UnitName Value="Themes"/> 442 <WindowIndex Value="0"/> 443 <TopLine Value="45"/> 444 <CursorPos X="28" Y="558"/> 445 <UsageCount Value="4"/> 446 </Unit44> 447 <Unit45> 448 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\interfaces\win32\win32wsforms.pp"/> 449 <UnitName Value="Win32WSForms"/> 450 <WindowIndex Value="0"/> 451 <TopLine Value="344"/> 452 <CursorPos X="1" Y="357"/> 453 <UsageCount Value="4"/> 454 </Unit45> 455 <Unit46> 456 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\interfaces\win32\win32callback.inc"/> 457 <WindowIndex Value="0"/> 458 <TopLine Value="2403"/> 459 <CursorPos X="74" Y="2413"/> 460 <UsageCount Value="4"/> 461 </Unit46> 462 <Unit47> 347 <EditorIndex Value="17"/> 348 <WindowIndex Value="0"/> 349 <TopLine Value="11"/> 350 <CursorPos X="3" Y="24"/> 351 <UsageCount Value="130"/> 352 <Loaded Value="True"/> 353 </Unit30> 354 <Unit31> 463 355 <Filename Value="..\..\Managers\UCDManagerRegions.pas"/> 464 356 <UnitName Value="UCDManagerRegions"/> 465 <IsVisibleTab Value="True"/> 466 <EditorIndex Value="6"/> 467 <WindowIndex Value="0"/> 468 <TopLine Value="96"/> 469 <CursorPos X="44" Y="112"/> 470 <UsageCount Value="40"/> 471 <Loaded Value="True"/> 472 </Unit47> 473 <Unit48> 357 <EditorIndex Value="9"/> 358 <WindowIndex Value="0"/> 359 <TopLine Value="12"/> 360 <CursorPos X="39" Y="16"/> 361 <UsageCount Value="129"/> 362 <Loaded Value="True"/> 363 </Unit31> 364 <Unit32> 474 365 <Filename Value="..\..\Managers\UCDManagerTabsPopup.pas"/> 475 366 <UnitName Value="UCDManagerTabsPopup"/> 476 367 <EditorIndex Value="2"/> 477 368 <WindowIndex Value="0"/> 478 <TopLine Value="1 90"/>479 <CursorPos X=" 3" Y="202"/>480 <UsageCount Value=" 31"/>481 <Loaded Value="True"/> 482 </Unit 48>483 <Unit 49>369 <TopLine Value="146"/> 370 <CursorPos X="15" Y="159"/> 371 <UsageCount Value="120"/> 372 <Loaded Value="True"/> 373 </Unit32> 374 <Unit33> 484 375 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\dragmanager.inc"/> 485 376 <WindowIndex Value="0"/> 486 377 <TopLine Value="762"/> 487 378 <CursorPos X="1" Y="775"/> 488 <UsageCount Value=" 25"/>489 </Unit 49>490 <Unit 50>379 <UsageCount Value="4"/> 380 </Unit33> 381 <Unit34> 491 382 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\dragobject.inc"/> 492 383 <WindowIndex Value="0"/> 493 384 <TopLine Value="148"/> 494 385 <CursorPos X="32" Y="160"/> 495 <UsageCount Value=" 25"/>496 </Unit 50>497 <Unit 51>386 <UsageCount Value="4"/> 387 </Unit34> 388 <Unit35> 498 389 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\lclintfh.inc"/> 499 390 <WindowIndex Value="0"/> 500 391 <TopLine Value="53"/> 501 392 <CursorPos X="11" Y="66"/> 502 <UsageCount Value=" 25"/>503 </Unit 51>504 <Unit 52>393 <UsageCount Value="4"/> 394 </Unit35> 395 <Unit36> 505 396 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\lclintf.inc"/> 506 397 <WindowIndex Value="0"/> 507 398 <TopLine Value="141"/> 508 399 <CursorPos X="3" Y="143"/> 509 <UsageCount Value=" 25"/>510 </Unit 52>511 <Unit 53>400 <UsageCount Value="4"/> 401 </Unit36> 402 <Unit37> 512 403 <Filename Value="..\..\ReadMe.txt"/> 513 404 <WindowIndex Value="0"/> 514 405 <TopLine Value="2"/> 515 406 <CursorPos X="40" Y="3"/> 516 <UsageCount Value=" 24"/>407 <UsageCount Value="3"/> 517 408 <DefaultSyntaxHighlighter Value="None"/> 518 </Unit 53>519 <Unit 54>409 </Unit37> 410 <Unit38> 520 411 <Filename Value="UComponentTree.pas"/> 521 412 <IsPartOfProject Value="True"/> … … 527 418 <TopLine Value="23"/> 528 419 <CursorPos X="15" Y="24"/> 529 <UsageCount Value="37"/> 530 </Unit54> 531 <Unit55> 532 <Filename Value="..\..\Managers\UCDManagerRegionsPopup.pas"/> 533 <UnitName Value="UCDManagerRegionsPopup"/> 534 <WindowIndex Value="0"/> 535 <TopLine Value="14"/> 536 <CursorPos X="25" Y="27"/> 537 <UsageCount Value="13"/> 538 </Unit55> 539 <Unit56> 540 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\FPC\packages\fcl-base\src\custapp.pp"/> 541 <UnitName Value="CustApp"/> 542 <WindowIndex Value="0"/> 543 <TopLine Value="13"/> 544 <CursorPos X="3" Y="26"/> 545 <UsageCount Value="12"/> 546 </Unit56> 547 <Unit57> 420 <UsageCount Value="215"/> 421 </Unit38> 422 <Unit39> 548 423 <Filename Value="..\..\UCDManager.pas"/> 549 424 <UnitName Value="UCDManager"/> 550 <EditorIndex Value="7"/> 551 <WindowIndex Value="0"/> 552 <TopLine Value="49"/> 553 <CursorPos X="23" Y="64"/> 554 <UsageCount Value="16"/> 555 <Loaded Value="True"/> 556 </Unit57> 557 <Unit58> 425 <IsVisibleTab Value="True"/> 426 <EditorIndex Value="10"/> 427 <WindowIndex Value="0"/> 428 <TopLine Value="51"/> 429 <CursorPos X="34" Y="72"/> 430 <UsageCount Value="105"/> 431 <Loaded Value="True"/> 432 </Unit39> 433 <Unit40> 558 434 <Filename Value="..\..\UCDConjoinForm.pas"/> 559 435 <UnitName Value="UCDConjoinForm"/> … … 562 438 <TopLine Value="1"/> 563 439 <CursorPos X="31" Y="8"/> 564 <UsageCount Value="1 5"/>565 <Loaded Value="True"/> 566 </Unit 58>567 <Unit 59>440 <UsageCount Value="104"/> 441 <Loaded Value="True"/> 442 </Unit40> 443 <Unit41> 568 444 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\extctrls.pp"/> 569 445 <UnitName Value="ExtCtrls"/> 570 <EditorIndex Value="1 0"/>571 <WindowIndex Value="0"/> 572 <TopLine Value="1 22"/>573 <CursorPos X="14" Y=" 225"/>574 <UsageCount Value=" 10"/>575 <Loaded Value="True"/> 576 </Unit 59>577 <Unit 60>446 <EditorIndex Value="11"/> 447 <WindowIndex Value="0"/> 448 <TopLine Value="1132"/> 449 <CursorPos X="14" Y="1178"/> 450 <UsageCount Value="97"/> 451 <Loaded Value="True"/> 452 </Unit41> 453 <Unit42> 578 454 <Filename Value="..\..\UCDMaster.pas"/> 579 455 <UnitName Value="UCDMaster"/> … … 582 458 <TopLine Value="2"/> 583 459 <CursorPos X="38" Y="8"/> 584 <UsageCount Value="13"/> 585 <Loaded Value="True"/> 586 </Unit60> 587 <Unit61> 588 <Filename Value="..\..\CoolDocking.pas"/> 589 <UnitName Value="CoolDocking"/> 590 <WindowIndex Value="0"/> 591 <TopLine Value="1"/> 592 <CursorPos X="1" Y="1"/> 593 <UsageCount Value="9"/> 594 </Unit61> 595 <Unit62> 460 <UsageCount Value="102"/> 461 <Loaded Value="True"/> 462 </Unit42> 463 <Unit43> 596 464 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\comctrls.pp"/> 597 465 <UnitName Value="ComCtrls"/> 598 <EditorIndex Value="11"/>599 466 <WindowIndex Value="0"/> 600 467 <TopLine Value="286"/> 601 468 <CursorPos X="43" Y="299"/> 602 <UsageCount Value="11"/> 603 <Loaded Value="True"/> 604 </Unit62> 605 <Unit63> 606 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\customnotebook.inc"/> 607 <WindowIndex Value="0"/> 608 <TopLine Value="679"/> 609 <CursorPos X="1" Y="692"/> 610 <UsageCount Value="10"/> 611 </Unit63> 612 <Unit64> 613 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\menuitem.inc"/> 614 <WindowIndex Value="0"/> 615 <TopLine Value="64"/> 616 <CursorPos X="26" Y="74"/> 617 <UsageCount Value="10"/> 618 </Unit64> 619 <Unit65> 620 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\lcltype.pp"/> 621 <UnitName Value="LCLType"/> 622 <WindowIndex Value="0"/> 623 <TopLine Value="114"/> 624 <CursorPos X="3" Y="127"/> 625 <UsageCount Value="12"/> 626 </Unit65> 627 <Unit66> 628 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\menu.inc"/> 629 <WindowIndex Value="0"/> 630 <TopLine Value="115"/> 631 <CursorPos X="1" Y="128"/> 632 <UsageCount Value="10"/> 633 </Unit66> 469 <UsageCount Value="97"/> 470 </Unit43> 471 <Unit44> 472 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\spinedit.inc"/> 473 <WindowIndex Value="0"/> 474 <TopLine Value="136"/> 475 <CursorPos X="3" Y="138"/> 476 <UsageCount Value="7"/> 477 </Unit44> 478 <Unit45> 479 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\spin.pp"/> 480 <UnitName Value="Spin"/> 481 <WindowIndex Value="0"/> 482 <TopLine Value="172"/> 483 <CursorPos X="17" Y="185"/> 484 <UsageCount Value="8"/> 485 </Unit45> 486 <Unit46> 487 <Filename Value="..\..\UCDWindowList.pas"/> 488 <ComponentName Value="CDWindowListForm"/> 489 <HasResources Value="True"/> 490 <ResourceBaseClass Value="Form"/> 491 <UnitName Value="UCDWindowList"/> 492 <EditorIndex Value="6"/> 493 <WindowIndex Value="0"/> 494 <TopLine Value="33"/> 495 <CursorPos X="1" Y="47"/> 496 <UsageCount Value="29"/> 497 <Loaded Value="True"/> 498 <LoadedDesigner Value="True"/> 499 </Unit46> 500 <Unit47> 501 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\graphics.pp"/> 502 <UnitName Value="Graphics"/> 503 <WindowIndex Value="0"/> 504 <TopLine Value="632"/> 505 <CursorPos X="14" Y="645"/> 506 <UsageCount Value="8"/> 507 </Unit47> 508 <Unit48> 509 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\canvas.inc"/> 510 <WindowIndex Value="0"/> 511 <TopLine Value="426"/> 512 <CursorPos X="3" Y="417"/> 513 <UsageCount Value="8"/> 514 </Unit48> 515 <Unit49> 516 <Filename Value="..\..\UCDResource.pas"/> 517 <ComponentName Value="DataModule2"/> 518 <ResourceBaseClass Value="DataModule"/> 519 <UnitName Value="UCDResource"/> 520 <EditorIndex Value="13"/> 521 <WindowIndex Value="0"/> 522 <TopLine Value="13"/> 523 <CursorPos X="40" Y="31"/> 524 <UsageCount Value="26"/> 525 <Loaded Value="True"/> 526 </Unit49> 527 <Unit50> 528 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\imglist.pp"/> 529 <UnitName Value="ImgList"/> 530 <EditorIndex Value="15"/> 531 <WindowIndex Value="0"/> 532 <TopLine Value="165"/> 533 <CursorPos X="15" Y="178"/> 534 <UsageCount Value="26"/> 535 <Loaded Value="True"/> 536 </Unit50> 537 <Unit51> 538 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\imglist.inc"/> 539 <EditorIndex Value="16"/> 540 <WindowIndex Value="0"/> 541 <TopLine Value="554"/> 542 <CursorPos X="9" Y="564"/> 543 <UsageCount Value="26"/> 544 <Loaded Value="True"/> 545 </Unit51> 634 546 </Units> 635 547 <JumpHistory Count="30" HistoryIndex="29"> 636 548 <Position1> 637 <Filename Value="..\..\ Managers\UCDManagerTabs.pas"/>638 <Caret Line=" 183" Column="1" TopLine="170"/>549 <Filename Value="..\..\UCDManager.pas"/> 550 <Caret Line="699" Column="19" TopLine="685"/> 639 551 </Position1> 640 552 <Position2> 641 <Filename Value="..\..\ Managers\UCDManagerTabs.pas"/>642 <Caret Line=" 220" Column="1" TopLine="207"/>553 <Filename Value="..\..\UCDManager.pas"/> 554 <Caret Line="697" Column="32" TopLine="685"/> 643 555 </Position2> 644 556 <Position3> 645 <Filename Value="..\..\ Managers\UCDManagerTabs.pas"/>646 <Caret Line=" 184" Column="1" TopLine="171"/>557 <Filename Value="..\..\UCDManager.pas"/> 558 <Caret Line="605" Column="18" TopLine="583"/> 647 559 </Position3> 648 560 <Position4> 649 <Filename Value="..\..\ Managers\UCDManagerTabs.pas"/>650 <Caret Line=" 185" Column="1" TopLine="171"/>561 <Filename Value="..\..\UCDManager.pas"/> 562 <Caret Line="34" Column="5" TopLine="20"/> 651 563 </Position4> 652 564 <Position5> 653 <Filename Value="..\..\ Managers\UCDManagerTabs.pas"/>654 <Caret Line=" 186" Column="1" TopLine="201"/>565 <Filename Value="..\..\UCDManager.pas"/> 566 <Caret Line="605" Column="22" TopLine="588"/> 655 567 </Position5> 656 568 <Position6> 657 <Filename Value="..\..\ Managers\UCDManagerTabs.pas"/>658 <Caret Line=" 216" Column="1" TopLine="201"/>569 <Filename Value="..\..\UCDManager.pas"/> 570 <Caret Line="598" Column="9" TopLine="585"/> 659 571 </Position6> 660 572 <Position7> 661 <Filename Value="..\..\ Managers\UCDManagerTabs.pas"/>662 <Caret Line=" 217" Column="1" TopLine="201"/>573 <Filename Value="..\..\UCDManager.pas"/> 574 <Caret Line="605" Column="10" TopLine="585"/> 663 575 </Position7> 664 576 <Position8> 665 <Filename Value=" E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\wincontrol.inc"/>666 <Caret Line=" 6270" Column="1" TopLine="6253"/>577 <Filename Value="..\..\Managers\UCDManagerRegions.pas"/> 578 <Caret Line="4" Column="70" TopLine="1"/> 667 579 </Position8> 668 580 <Position9> 669 <Filename Value=" E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\wincontrol.inc"/>670 <Caret Line=" 6267" Column="1" TopLine="6253"/>581 <Filename Value="..\..\Managers\UCDManagerRegions.pas"/> 582 <Caret Line="18" Column="24" TopLine="1"/> 671 583 </Position9> 672 584 <Position10> 673 <Filename Value=" E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\wincontrol.inc"/>674 <Caret Line="6 270" Column="1" TopLine="6253"/>585 <Filename Value="..\..\Managers\UCDManagerRegions.pas"/> 586 <Caret Line="60" Column="24" TopLine="39"/> 675 587 </Position10> 676 588 <Position11> 677 <Filename Value=" ..\..\Managers\UCDManagerTabs.pas"/>678 <Caret Line=" 409" Column="1" TopLine="384"/>589 <Filename Value="UMainForm.pas"/> 590 <Caret Line="123" Column="25" TopLine="118"/> 679 591 </Position11> 680 592 <Position12> 681 <Filename Value=" ..\..\Managers\UCDManagerTabs.pas"/>682 <Caret Line=" 250" Column="1" TopLine="237"/>593 <Filename Value="UMainForm.pas"/> 594 <Caret Line="124" Column="25" TopLine="119"/> 683 595 </Position12> 684 596 <Position13> 685 <Filename Value=" ..\..\Managers\UCDManagerTabs.pas"/>686 <Caret Line=" 253" Column="1" TopLine="237"/>597 <Filename Value="UMainForm.pas"/> 598 <Caret Line="126" Column="25" TopLine="121"/> 687 599 </Position13> 688 600 <Position14> 689 <Filename Value=" ..\..\Managers\UCDManagerTabs.pas"/>690 <Caret Line="2 59" Column="1" TopLine="238"/>601 <Filename Value="UMainForm.pas"/> 602 <Caret Line="248" Column="20" TopLine="246"/> 691 603 </Position14> 692 604 <Position15> 693 <Filename Value=" ..\..\Managers\UCDManagerTabs.pas"/>694 <Caret Line="2 60" Column="1" TopLine="239"/>605 <Filename Value="UMainForm.pas"/> 606 <Caret Line="250" Column="19" TopLine="246"/> 695 607 </Position15> 696 608 <Position16> 697 <Filename Value=" ..\..\Managers\UCDManagerTabs.pas"/>698 <Caret Line=" 262" Column="1" TopLine="241"/>609 <Filename Value="UMainForm.pas"/> 610 <Caret Line="104" Column="15" TopLine="91"/> 699 611 </Position16> 700 612 <Position17> 701 <Filename Value=" ..\..\Managers\UCDManagerTabs.pas"/>702 <Caret Line="2 63" Column="1" TopLine="248"/>613 <Filename Value="UMainForm.pas"/> 614 <Caret Line="250" Column="32" TopLine="240"/> 703 615 </Position17> 704 616 <Position18> 705 <Filename Value=" ..\..\Managers\UCDManagerTabs.pas"/>706 <Caret Line="2 65" Column="1" TopLine="248"/>617 <Filename Value="UMainForm.pas"/> 618 <Caret Line="252" Column="52" TopLine="240"/> 707 619 </Position18> 708 620 <Position19> 709 <Filename Value="..\..\Managers\UCDManager Tabs.pas"/>710 <Caret Line=" 266" Column="1" TopLine="248"/>621 <Filename Value="..\..\Managers\UCDManagerRegions.pas"/> 622 <Caret Line="17" Column="23" TopLine="13"/> 711 623 </Position19> 712 624 <Position20> 713 <Filename Value="..\..\Managers\UCDManager Tabs.pas"/>714 <Caret Line=" 268" Column="1" TopLine="248"/>625 <Filename Value="..\..\Managers\UCDManagerRegions.pas"/> 626 <Caret Line="119" Column="17" TopLine="105"/> 715 627 </Position20> 716 628 <Position21> 717 <Filename Value="..\..\Managers\UCDManager Tabs.pas"/>718 <Caret Line=" 272" Column="1" TopLine="254"/>629 <Filename Value="..\..\Managers\UCDManagerRegions.pas"/> 630 <Caret Line="16" Column="41" TopLine="6"/> 719 631 </Position21> 720 632 <Position22> 721 <Filename Value="..\..\Managers\UCDManager Tabs.pas"/>722 <Caret Line=" 273" Column="1" TopLine="254"/>633 <Filename Value="..\..\Managers\UCDManagerRegions.pas"/> 634 <Caret Line="17" Column="30" TopLine="6"/> 723 635 </Position22> 724 636 <Position23> 725 <Filename Value="..\..\ Managers\UCDManagerTabs.pas"/>726 <Caret Line=" 274" Column="1" TopLine="254"/>637 <Filename Value="..\..\UCDManager.pas"/> 638 <Caret Line="171" Column="21" TopLine="163"/> 727 639 </Position23> 728 640 <Position24> 729 <Filename Value="..\..\ Managers\UCDManagerTabs.pas"/>730 <Caret Line=" 275" Column="1" TopLine="254"/>641 <Filename Value="..\..\UCDManager.pas"/> 642 <Caret Line="163" Column="25" TopLine="158"/> 731 643 </Position24> 732 644 <Position25> 733 <Filename Value="..\..\ Managers\UCDManagerTabs.pas"/>734 <Caret Line=" 276" Column="1" TopLine="255"/>645 <Filename Value="..\..\UCDManager.pas"/> 646 <Caret Line="6" Column="58" TopLine="1"/> 735 647 </Position25> 736 648 <Position26> 737 <Filename Value="..\..\Managers\UCDManager Tabs.pas"/>738 <Caret Line=" 277" Column="1" TopLine="256"/>649 <Filename Value="..\..\Managers\UCDManagerRegions.pas"/> 650 <Caret Line="59" Column="47" TopLine="55"/> 739 651 </Position26> 740 652 <Position27> 741 <Filename Value="..\..\Managers\UCDManager Tabs.pas"/>742 <Caret Line=" 278" Column="1" TopLine="257"/>653 <Filename Value="..\..\Managers\UCDManagerRegions.pas"/> 654 <Caret Line="55" Column="28" TopLine="46"/> 743 655 </Position27> 744 656 <Position28> 745 657 <Filename Value="..\..\Managers\UCDManagerRegions.pas"/> 746 <Caret Line="16 7" Column="24" TopLine="156"/>658 <Caret Line="16" Column="40" TopLine="3"/> 747 659 </Position28> 748 660 <Position29> 749 <Filename Value="..\..\ Managers\UCDManagerRegions.pas"/>750 <Caret Line=" 160" Column="24" TopLine="147"/>661 <Filename Value="..\..\UCDManager.pas"/> 662 <Caret Line="245" Column="9" TopLine="240"/> 751 663 </Position29> 752 664 <Position30> 753 665 <Filename Value="..\..\Managers\UCDManagerRegions.pas"/> 754 <Caret Line="1 12" Column="14" TopLine="101"/>666 <Caret Line="16" Column="39" TopLine="12"/> 755 667 </Position30> 756 668 </JumpHistory> … … 778 690 </CompilerOptions> 779 691 <Debugging> 780 <BreakPoints Count="2">781 <Item1>782 <Source Value="..\..\Managers\UCDManagerRegions.pas"/>783 <Line Value="163"/>784 </Item1>785 <Item2>786 <Source Value="..\..\Managers\UCDManagerTabs.pas"/>787 <Line Value="216"/>788 </Item2>789 </BreakPoints>790 692 <Watches Count="1"> 791 693 <Item1> -
Docking/CoolDocking/Demo/IDE/UMainForm.lfm
r190 r197 1 1 object MainForm: TMainForm 2 Left = 2 633 Height = 4 454 Top = 1 305 Width = 6 262 Left = 217 3 Height = 457 4 Top = 123 5 Width = 643 6 6 Caption = 'CoolDocking Demo IDE' 7 ClientHeight = 4 268 ClientWidth = 6 267 ClientHeight = 438 8 ClientWidth = 643 9 9 Menu = MainMenu1 10 10 OnClose = FormClose … … 13 13 object DockPanel: TPanel 14 14 Left = 0 15 Height = 4 0015 Height = 412 16 16 Top = 26 17 Width = 6 2617 Width = 643 18 18 Align = alClient 19 19 BevelOuter = bvNone … … 24 24 Height = 26 25 25 Top = 0 26 Width = 6 2626 Width = 643 27 27 Caption = 'ToolBar1' 28 28 Images = ImageList1 … … 130 130 Action = AViewComponentTree 131 131 end 132 object MenuItem28: TMenuItem 133 Action = AResetDefaultLayout 134 end 132 135 end 133 136 object MenuItem11: TMenuItem … … 215 218 Caption = 'Component Tree' 216 219 OnExecute = AViewComponentTreeExecute 220 end 221 object AResetDefaultLayout: TAction 222 Caption = 'Reset default layout' 223 OnExecute = AResetDefaultLayoutExecute 217 224 end 218 225 end -
Docking/CoolDocking/Demo/IDE/UMainForm.pas
r189 r197 15 15 16 16 const 17 DefaultLayoutName = 'Default Layout'; 17 18 DockLayoutFileName = 'Layout.xml'; 18 19 … … 23 24 TMainForm = class(TForm) 24 25 published 26 AResetDefaultLayout: TAction; 25 27 AViewComponentTree: TAction; 26 28 AExit: TAction; … … 65 67 MenuItem26: TMenuItem; 66 68 MenuItem27: TMenuItem; 69 MenuItem28: TMenuItem; 67 70 MenuItem9: TMenuItem; 68 71 MenuItem8: TMenuItem; … … 83 86 procedure AExitExecute(Sender: TObject); 84 87 procedure ANewFileExecute(Sender: TObject); 88 procedure AResetDefaultLayoutExecute(Sender: TObject); 85 89 procedure AViewComponentTreeExecute(Sender: TObject); 86 90 procedure AViewThreadStatusExecute(Sender: TObject); … … 148 152 149 153 procedure TMainForm.InitDefaultDockLayout; 150 const151 DefaultLayoutName = 'Default Layout';152 154 var 153 155 NewContainer1: TCDConjoinForm; … … 241 243 end; 242 244 245 procedure TMainForm.AResetDefaultLayoutExecute(Sender: TObject); 246 var 247 DefaultLayout: TCDLayout; 248 begin 249 DefaultLayout := CoolDockLayoutList1.FindByName(DefaultLayoutName); 250 if Assigned(DefaultLayout) then 251 CoolDockLayoutList1.Items.Remove(DefaultLayout); 252 InitDefaultDockLayout; 253 end; 254 243 255 procedure TMainForm.AViewComponentTreeExecute(Sender: TObject); 244 256 begin -
Docking/CoolDocking/Managers/UCDManagerRegions.pas
r195 r197 57 57 PanelHeader := TCDPanelHeader.Create(nil); 58 58 PanelHeader.Header.ManagerItem := Self; 59 PanelHeader.Header.OnMouseDown := DockPanelMouseDown; 60 PanelHeader.Header.Title.OnMouseDown := DockPanelMouseDown; 59 61 60 62 Splitter := TSplitter.Create(nil); 61 63 with Splitter do begin 64 Width := 3; 65 Height := 3; 62 66 //Parent := Panel; 63 67 //Color := clRed; … … 67 71 destructor TCDManagerRegionsItem.Destroy; 68 72 begin 73 PanelHeader.Parent := nil; 74 PanelHeader.Free; 75 Splitter.Parent := nil; 76 Splitter.Free; 77 Control.Parent := nil; 69 78 inherited Destroy; 70 79 end; … … 111 120 NewItem.PanelHeader.Header.Icon.Picture.Assign((Control as TForm).Icon); 112 121 NewItem.PanelHeader.Parent := DockSite; 122 NewItem.PanelHeader.Header.Title.Caption := TForm(Control).Caption; 113 123 114 124 NewItem.Control := Control; … … 163 173 begin 164 174 ManagerItem := FindControlInPanels(Control); 165 if Assigned(ManagerItem) then 175 if Assigned(ManagerItem) then begin 166 176 Control.RemoveHandlerOnVisibleChanged(ManagerItem.VisibleChange); 177 end; 167 178 168 179 DockItems.Remove(ManagerItem); -
Docking/CoolDocking/Managers/UCDManagerTabsPopup.pas
r194 r197 48 48 TCDStylePopupTabs = class(TCDManagerTabs) 49 49 public 50 TabControl: TTabControl;51 TabImageList: TImageList;52 50 AutoHideEnabled: Boolean; 53 51 AutoHide: TCDAutoHide; 54 procedure TabControlMouseLeave(Sender: TObject); 55 procedure TabControlChange(Sender: TObject); 56 procedure TabControlMouseDown(Sender: TObject; Button: TMouseButton; 57 Shift: TShiftState; X, Y: Integer); 58 procedure TabControlMouseUp(Sender: TObject; Button: TMouseButton; 59 Shift: TShiftState; X, Y: Integer); 52 PopupPanel: TPanel; 60 53 constructor Create(ADockSite: TWinControl); 61 54 destructor Destroy; override; … … 174 167 { TCDStylePopupTabs } 175 168 176 procedure TCDStylePopupTabs.TabControlMouseLeave(Sender: TObject);177 begin178 179 end;180 181 procedure TCDStylePopupTabs.TabControlChange(Sender: TObject);182 begin183 184 end;185 186 procedure TCDStylePopupTabs.TabControlMouseDown(Sender: TObject;187 Button: TMouseButton; Shift: TShiftState; X, Y: Integer);188 begin189 190 end;191 192 procedure TCDStylePopupTabs.TabControlMouseUp(Sender: TObject;193 Button: TMouseButton; Shift: TShiftState; X, Y: Integer);194 begin195 196 end;197 169 198 170 constructor TCDStylePopupTabs.Create(ADockSite: TWinControl); … … 202 174 inherited; 203 175 FDockStyle := dsPopupTabs; 204 205 176 AutoHide := TCDAutoHide.Create; 177 PopupPanel := TPanel.Create(nil); 206 178 end; 207 179 … … 209 181 begin 210 182 AutoHide.Free; 183 PopupPanel.Free; 211 184 inherited Destroy; 212 185 end; -
Docking/CoolDocking/UCDCustomize.lfm
r189 r197 1 object C oolDockCustomizeForm: TCoolDockCustomizeForm1 object CDCustomizeForm: TCDCustomizeForm 2 2 Left = 431 3 3 Height = 321 … … 101 101 ClientWidth = 375 102 102 object ListBox1: TListBox 103 Left = 1 0103 Left = 12 104 104 Height = 229 105 105 Top = 11 -
Docking/CoolDocking/UCDCustomize.lrs
r189 r197 1 1 { This is an automatically generated lazarus resource file } 2 2 3 LazarusResources.Add('TCoolDockCustomizeForm','FORMDATA',[ 4 'TPF0'#22'TCoolDockCustomizeForm'#21'CoolDockCustomizeForm'#4'Left'#3#175#1#6 5 +'Height'#3'A'#1#3'Top'#3#139#0#5'Width'#3#141#1#7'Caption'#6#17'Customize do' 6 +'cking'#12'ClientHeight'#3'A'#1#11'ClientWidth'#3#141#1#9'FormStyle'#7#11'fs' 7 +'StayOnTop'#6'OnShow'#7#8'FormShow'#10'LCLVersion'#6#6'0.9.31'#0#12'TPageCon' 8 +'trol'#12'PageControl1'#4'Left'#2#8#6'Height'#3#20#1#3'Top'#2#8#5'Width'#3 9 +#127#1#10'ActivePage'#7#15'TabSheetLayouts'#7'Anchors'#11#5'akTop'#6'akLeft' 10 +#7'akRight'#8'akBottom'#0#8'TabIndex'#2#1#8'TabOrder'#2#0#0#9'TTabSheet'#15 11 +'TabSheetSetting'#7'Caption'#6#7'Options'#12'ClientHeight'#3#252#0#11'Client' 12 +'Width'#3#129#1#0#6'TLabel'#6'Label1'#4'Left'#2#7#6'Height'#2#14#3'Top'#2#13 13 +#5'Width'#2'h'#7'Caption'#6#22'Default tabs position:'#11'ParentColor'#8#0#0 14 +#9'TComboBox'#9'ComboBox1'#4'Left'#3#164#0#6'Height'#2#21#3'Top'#2#10#5'Widt' 15 +'h'#2'd'#10'ItemHeight'#2#13#13'Items.Strings'#1#6#4'Auto'#6#4'Left'#6#3'Top' 16 +#6#5'Right'#6#6'Bottom'#0#5'Style'#7#14'csDropDownList'#8'TabOrder'#2#0#0#0#6 17 +'TLabel'#6'Label2'#4'Left'#2#7#6'Height'#2#14#3'Top'#2')'#5'Width'#2'u'#7'Ca' 18 +'ption'#6#24'Default header position:'#11'ParentColor'#8#0#0#9'TComboBox'#9 19 +'ComboBox2'#4'Left'#3#164#0#6'Height'#2#21#3'Top'#2'&'#5'Width'#2'd'#10'Item' 3 LazarusResources.Add('TCDCustomizeForm','FORMDATA',[ 4 'TPF0'#16'TCDCustomizeForm'#15'CDCustomizeForm'#4'Left'#3#175#1#6'Height'#3'A' 5 +#1#3'Top'#3#139#0#5'Width'#3#141#1#7'Caption'#6#17'Customize docking'#12'Cli' 6 +'entHeight'#3'A'#1#11'ClientWidth'#3#141#1#9'FormStyle'#7#11'fsStayOnTop'#6 7 +'OnShow'#7#8'FormShow'#10'LCLVersion'#6#6'0.9.31'#0#12'TPageControl'#12'Page' 8 +'Control1'#4'Left'#2#8#6'Height'#3#20#1#3'Top'#2#8#5'Width'#3#127#1#10'Activ' 9 +'ePage'#7#15'TabSheetLayouts'#7'Anchors'#11#5'akTop'#6'akLeft'#7'akRight'#8 10 +'akBottom'#0#8'TabIndex'#2#1#8'TabOrder'#2#0#0#9'TTabSheet'#15'TabSheetSetti' 11 +'ng'#7'Caption'#6#7'Options'#12'ClientHeight'#3#252#0#11'ClientWidth'#3#129#1 12 +#0#6'TLabel'#6'Label1'#4'Left'#2#7#6'Height'#2#14#3'Top'#2#13#5'Width'#2'h'#7 13 +'Caption'#6#22'Default tabs position:'#11'ParentColor'#8#0#0#9'TComboBox'#9 14 +'ComboBox1'#4'Left'#3#164#0#6'Height'#2#21#3'Top'#2#10#5'Width'#2'd'#10'Item' 20 15 +'Height'#2#13#13'Items.Strings'#1#6#4'Auto'#6#4'Left'#6#3'Top'#6#5'Right'#6#6 21 +'Bottom'#0#5'Style'#7#14'csDropDownList'#8'TabOrder'#2#1#0#0#6'TLabel'#6'Lab' 22 +'el3'#4'Left'#2#7#6'Height'#2#14#3'Top'#2'C'#5'Width'#2'e'#7'Caption'#6#20'H' 23 +'ide/unhide duration'#11'ParentColor'#8#0#0#9'TSpinEdit'#9'SpinEdit1'#4'Left' 24 +#3#164#0#6'Height'#2#21#3'Top'#2'@'#5'Width'#2'd'#8'MaxValue'#3#16''''#8'Tab' 25 +'Order'#2#2#0#0#6'TLabel'#6'Label4'#4'Left'#3#14#1#6'Height'#2#14#3'Top'#2'C' 26 +#5'Width'#2#14#7'Caption'#6#2'ms'#11'ParentColor'#8#0#0#0#9'TTabSheet'#15'Ta' 27 +'bSheetLayouts'#7'Caption'#6#7'Layouts'#12'ClientHeight'#3#250#0#11'ClientWi' 28 +'dth'#3'w'#1#0#8'TListBox'#8'ListBox1'#4'Left'#2#10#6'Height'#3#229#0#3'Top' 29 +#2#11#5'Width'#3#2#1#7'Anchors'#11#5'akTop'#6'akLeft'#7'akRight'#8'akBottom' 30 +#0#10'ItemHeight'#2#0#17'OnSelectionChange'#7#23'ListBox1SelectionChange'#8 31 +'TabOrder'#2#0#0#0#7'TButton'#15'ButtonLayoutNew'#4'Left'#3#26#1#6'Height'#2 32 +#25#3'Top'#2#10#5'Width'#2'K'#7'Anchors'#11#5'akTop'#7'akRight'#0#7'Caption' 33 +#6#6'New...'#7'OnClick'#7#20'ButtonLayoutNewClick'#8'TabOrder'#2#1#0#0#7'TBu' 34 +'tton'#16'ButtonLayoutSave'#4'Left'#3#26#1#6'Height'#2#25#3'Top'#2'2'#5'Widt' 35 +'h'#2'K'#7'Anchors'#11#5'akTop'#7'akRight'#0#7'Caption'#6#4'Save'#7'Enabled' 36 +#8#8'TabOrder'#2#2#0#0#7'TButton'#18'ButtonLayoutRename'#4'Left'#3#26#1#6'He' 37 +'ight'#2#25#3'Top'#2'Z'#5'Width'#2'K'#7'Anchors'#11#5'akTop'#7'akRight'#0#7 38 +'Caption'#6#6'Rename'#7'Enabled'#8#7'OnClick'#7#23'ButtonLayoutRenameClick'#8 39 +'TabOrder'#2#3#0#0#7'TButton'#18'ButtonLayoutDelete'#4'Left'#3#26#1#6'Height' 40 +#2#25#3'Top'#3#130#0#5'Width'#2'K'#7'Anchors'#11#5'akTop'#7'akRight'#0#7'Cap' 41 +'tion'#6#6'Delete'#7'Enabled'#8#7'OnClick'#7#23'ButtonLayoutDeleteClick'#8'T' 42 +'abOrder'#2#4#0#0#7'TButton'#17'ButtonLayoutApply'#4'Left'#3#26#1#6'Height'#2 43 +#25#3'Top'#3#170#0#5'Width'#2'K'#7'Anchors'#11#5'akTop'#7'akRight'#0#7'Capti' 44 +'on'#6#7'Restore'#7'Enabled'#8#7'OnClick'#7#22'ButtonLayoutApplyClick'#8'Tab' 45 +'Order'#2#5#0#0#0#0#7'TButton'#11'ButtonClose'#4'Left'#3':'#1#6'Height'#2#22 46 +#3'Top'#3'$'#1#5'Width'#2'K'#7'Anchors'#11#7'akRight'#8'akBottom'#0#7'Captio' 47 +'n'#6#5'Close'#7'OnClick'#7#16'ButtonCloseClick'#8'TabOrder'#2#1#0#0#0 16 +'Bottom'#0#5'Style'#7#14'csDropDownList'#8'TabOrder'#2#0#0#0#6'TLabel'#6'Lab' 17 +'el2'#4'Left'#2#7#6'Height'#2#14#3'Top'#2')'#5'Width'#2'u'#7'Caption'#6#24'D' 18 +'efault header position:'#11'ParentColor'#8#0#0#9'TComboBox'#9'ComboBox2'#4 19 +'Left'#3#164#0#6'Height'#2#21#3'Top'#2'&'#5'Width'#2'd'#10'ItemHeight'#2#13 20 +#13'Items.Strings'#1#6#4'Auto'#6#4'Left'#6#3'Top'#6#5'Right'#6#6'Bottom'#0#5 21 +'Style'#7#14'csDropDownList'#8'TabOrder'#2#1#0#0#6'TLabel'#6'Label3'#4'Left' 22 +#2#7#6'Height'#2#14#3'Top'#2'C'#5'Width'#2'e'#7'Caption'#6#20'Hide/unhide du' 23 +'ration'#11'ParentColor'#8#0#0#9'TSpinEdit'#9'SpinEdit1'#4'Left'#3#164#0#6'H' 24 +'eight'#2#21#3'Top'#2'@'#5'Width'#2'd'#8'MaxValue'#3#16''''#8'TabOrder'#2#2#0 25 +#0#6'TLabel'#6'Label4'#4'Left'#3#14#1#6'Height'#2#14#3'Top'#2'C'#5'Width'#2 26 +#14#7'Caption'#6#2'ms'#11'ParentColor'#8#0#0#0#9'TTabSheet'#15'TabSheetLayou' 27 +'ts'#7'Caption'#6#7'Layouts'#12'ClientHeight'#3#250#0#11'ClientWidth'#3'w'#1 28 +#0#8'TListBox'#8'ListBox1'#4'Left'#2#12#6'Height'#3#229#0#3'Top'#2#11#5'Widt' 29 +'h'#3#2#1#7'Anchors'#11#5'akTop'#6'akLeft'#7'akRight'#8'akBottom'#0#10'ItemH' 30 +'eight'#2#0#17'OnSelectionChange'#7#23'ListBox1SelectionChange'#8'TabOrder'#2 31 +#0#0#0#7'TButton'#15'ButtonLayoutNew'#4'Left'#3#26#1#6'Height'#2#25#3'Top'#2 32 +#10#5'Width'#2'K'#7'Anchors'#11#5'akTop'#7'akRight'#0#7'Caption'#6#6'New...' 33 +#7'OnClick'#7#20'ButtonLayoutNewClick'#8'TabOrder'#2#1#0#0#7'TButton'#16'But' 34 +'tonLayoutSave'#4'Left'#3#26#1#6'Height'#2#25#3'Top'#2'2'#5'Width'#2'K'#7'An' 35 +'chors'#11#5'akTop'#7'akRight'#0#7'Caption'#6#4'Save'#7'Enabled'#8#8'TabOrde' 36 +'r'#2#2#0#0#7'TButton'#18'ButtonLayoutRename'#4'Left'#3#26#1#6'Height'#2#25#3 37 +'Top'#2'Z'#5'Width'#2'K'#7'Anchors'#11#5'akTop'#7'akRight'#0#7'Caption'#6#6 38 +'Rename'#7'Enabled'#8#7'OnClick'#7#23'ButtonLayoutRenameClick'#8'TabOrder'#2 39 +#3#0#0#7'TButton'#18'ButtonLayoutDelete'#4'Left'#3#26#1#6'Height'#2#25#3'Top' 40 +#3#130#0#5'Width'#2'K'#7'Anchors'#11#5'akTop'#7'akRight'#0#7'Caption'#6#6'De' 41 +'lete'#7'Enabled'#8#7'OnClick'#7#23'ButtonLayoutDeleteClick'#8'TabOrder'#2#4 42 +#0#0#7'TButton'#17'ButtonLayoutApply'#4'Left'#3#26#1#6'Height'#2#25#3'Top'#3 43 +#170#0#5'Width'#2'K'#7'Anchors'#11#5'akTop'#7'akRight'#0#7'Caption'#6#7'Rest' 44 +'ore'#7'Enabled'#8#7'OnClick'#7#22'ButtonLayoutApplyClick'#8'TabOrder'#2#5#0 45 +#0#0#0#7'TButton'#11'ButtonClose'#4'Left'#3':'#1#6'Height'#2#22#3'Top'#3'$'#1 46 +#5'Width'#2'K'#7'Anchors'#11#7'akRight'#8'akBottom'#0#7'Caption'#6#5'Close'#7 47 +'OnClick'#7#16'ButtonCloseClick'#8'TabOrder'#2#1#0#0#0 48 48 ]); -
Docking/CoolDocking/UCDManager.pas
r195 r197 6 6 7 7 uses 8 Classes, SysUtils, UCDCommon, Controls, Contnrs, 8 Classes, SysUtils, UCDCommon, Controls, Contnrs, Dialogs, 9 9 UCDPopupMenu, LCLType, LMessages, Graphics, Buttons, 10 10 UCDConjoinForm, Menus, StdCtrls, ExtCtrls, Forms; … … 18 18 TCDManager = class; 19 19 TCDManagerItem = class; 20 21 { TCDHeaderButton } 22 23 TCDHeaderButton = class 24 Icon: TImage; 25 constructor Create; 26 destructor Destroy; override; 27 end; 28 29 { TCDHeader } 20 30 21 31 TCDHeader = class(TPanel) … … 23 33 procedure CloseButtonClick(Sender: TObject); 24 34 procedure DrawGrabber(Canvas: TCanvas; AControl: TControl); 35 procedure PaintExecute(Sender: TObject); 36 procedure RearrangeButtons; 25 37 public 26 CloseButton: TSpeedButton;38 Buttons: TObjectList; // TList<TCDHeaderButton> 27 39 Title: TLabel; 28 40 Icon: TImage; 29 41 ManagerItem: TCDManagerItem; 30 Shape: TShape;31 42 constructor Create(TheOwner: TComponent); override; 32 43 destructor Destroy; override; … … 53 64 TCDManagerItem = class 54 65 private 55 procedure DockPanelMouseDown(Sender: TObject; Button: TMouseButton;56 Shift: TShiftState; X, Y: Integer);57 66 procedure ResizeExecute(Sender: TObject); 58 67 public 59 68 Control: TControl; 60 69 Manager: TCDManager; 70 procedure DockPanelMouseDown(Sender: TObject; Button: TMouseButton; 71 Shift: TShiftState; X, Y: Integer); 61 72 procedure Paint(Sender: TObject); virtual; 62 73 procedure VisibleChange(Sender: TObject); virtual; … … 124 135 125 136 uses 126 UCDManagerRegions, UCDManagerTabs, UCDManagerRegionsPopup, UCDManagerTabsPopup; 137 UCDManagerRegions, UCDManagerTabs, UCDManagerRegionsPopup, UCDManagerTabsPopup, 138 UCDResource; 139 140 { TCDHeaderButton } 141 142 constructor TCDHeaderButton.Create; 143 begin 144 inherited; 145 Icon := TImage.Create(nil); 146 end; 147 148 destructor TCDHeaderButton.Destroy; 149 begin 150 Icon.Free; 151 inherited Destroy; 152 end; 127 153 128 154 { TCDPanelHeader } … … 142 168 // Header.Title.OnMouseDown := DockPanelMouseDown; 143 169 HeaderPos := hpTop; 170 Constraints.MinHeight := GrabberSize; 171 Align := alClient; 144 172 145 173 ShowHeader := True; … … 164 192 end; 165 193 //OnResize := ResizeExecute; 166 BevelInner := bvNone;167 BevelOuter := bvNone;194 //BevelInner := bvNone; 195 //BevelOuter := bvNone; 168 196 end; 169 197 … … 195 223 constructor TCDManagerItem.Create; 196 224 begin 225 197 226 end; 198 227 … … 213 242 begin 214 243 if Control is TForm then begin 215 //TForm(Control).SetFocus;244 TForm(Control).SetFocus; 216 245 Paint(Self); 217 246 end; … … 219 248 //(Control as TWinControl).DockSite := False; 220 249 //ClientAreaPanel.DockSite := False; 221 //(Control as TWinControl).BeginDrag(False, 10);222 //DragManager.DragStart(Control, False, 1);250 (Control as TWinControl).BeginDrag(False, 10); 251 DragManager.DragStart(Control, False, 1); 223 252 end; 224 253 end; … … 549 578 550 579 constructor TCDHeader.Create(TheOwner: TComponent); 580 var 581 NewButton: TCDHeaderButton; 551 582 begin 552 583 inherited Create(TheOwner); 553 Shape := TShape.Create(Self); 554 with Shape do begin 555 Parent := Self; 556 Anchors := [akRight, akBottom, akLeft, akTop]; 557 Left := 1; 558 Top := 1; 559 Width := Self.Width - 2; 560 Height := Self.Height - 2; 561 Brush.Style := bsClear; 562 end; 584 OnPaint := PaintExecute; 585 563 586 Title := TLabel.Create(Self); 564 587 with Title do begin … … 570 593 BevelOuter := bvNone; 571 594 end; 572 CloseButton := TSpeedButton.Create(Self); 573 with CloseButton do begin 574 Parent := Self; 575 Caption := 'X'; 576 Font.Size := 6; 577 Width := GrabberSize - 8; 578 Height := GrabberSize - 8; 579 Anchors := [akRight, akTop]; 580 Left := Self.Width - Width - 4; 581 Top := 4; 582 Visible := True; 583 OnClick := CloseButtonClick; 584 end; 595 Buttons := TObjectList.Create; 596 597 NewButton := TCDHeaderButton.Create; 598 with NewButton do begin 599 DataModule2.ImageList1.GetBitmap(0, Icon.Picture.Bitmap); 600 Icon.Parent := Self; 601 Icon.OnClick := CloseButtonClick; 602 end; 603 Buttons.Add(NewButton); 604 NewButton := TCDHeaderButton.Create; 605 with NewButton do begin 606 DataModule2.ImageList1.GetBitmap(1, Icon.Picture.Bitmap); 607 Icon.Parent := Self; 608 Icon.OnClick := CloseButtonClick; 609 end; 610 Buttons.Add(NewButton); 611 RearrangeButtons; 612 585 613 Icon := TImage.Create(Self); 586 614 with Icon do begin … … 594 622 destructor TCDHeader.Destroy; 595 623 begin 624 Buttons.Free; 596 625 inherited Destroy; 597 626 end; … … 614 643 end; 615 644 645 procedure TCDHeader.PaintExecute(Sender: TObject); 646 const 647 Corner: Integer = 2; 648 Border: Integer = 1; 649 BorderColor: TColor = $B9C3C6; 650 TopColor: TColor = $CFD6D9; 651 BottomColor: TColor = $DAE0E1; 652 var 653 Points: array of TPoint; 654 begin 655 with Canvas do begin 656 GradientFill(Rect(Border, Border, Width - Border, 657 Height - Border), TopColor, BottomColor, gdVertical); 658 Brush.Color := clBtnFace; 659 Brush.Style := bsSolid; 660 Pen.Color := clBtnFace; 661 Pen.Style := psSolid; 662 SetLength(Points, 3); 663 Points[0] := Point(Border, Border); 664 Points[1] := Point(Border, Border + Corner); 665 Points[2] := Point(Border + Corner, Border); 666 Polygon(Points); 667 Points[0] := Point(Width - 1 - Border, Border); 668 Points[1] := Point(Width - 1 - Border, Border + Corner); 669 Points[2] := Point(Width - 1 - Border - Corner, Border); 670 Polygon(Points); 671 Points[0] := Point(Border, Height - 1 - Border); 672 Points[1] := Point(Border, Height - 1 - Border - Corner); 673 Points[2] := Point(Border + Corner, Height - 1 - Border); 674 Polygon(Points); 675 Points[0] := Point(Width - 1 - Border, Height - 1 - Border); 676 Points[1] := Point(Width - 1 - Border, Height - 1 - Border - Corner); 677 Points[2] := Point(Width - 1 - Border - Corner, Height - 1 - Border); 678 Polygon(Points); 679 680 SetLength(Points, 9); 681 Points[0] := Point(Border, Border + Corner); 682 Points[1] := Point(Border + Corner, Border); 683 Points[2] := Point(Width - 1 - Border - Corner, Border); 684 Points[3] := Point(Width - 1 - Border, Border + Corner); 685 Points[4] := Point(Width - 1 - Border, Height - 1 - Border - Corner); 686 Points[5] := Point(Width - 1 - Border - Corner, Height - 1 - Border); 687 Points[6] := Point(Border + Corner, Height - 1 - Border); 688 Points[7] := Point(Border, Height - 1 - Border - Corner); 689 Points[8] := Point(Border, Border + Corner); 690 Pen.Color := BorderColor; 691 Polyline(Points); 692 end; 693 end; 694 695 procedure TCDHeader.RearrangeButtons; 696 const 697 Separation: Integer = 4; 698 var 699 LeftPos: Integer; 700 I: Integer; 701 begin 702 LeftPos := Self.Width; 703 for I := 0 to Buttons.Count - 1 do 704 with TCDHeaderButton(Buttons[I]), Icon do begin 705 Anchors := [akRight, akTop]; 706 //Icon.Picture.Bitmap.SetSize(16, 16); 707 Icon.Width := Icon.Picture.Bitmap.Width; 708 Icon.Height := Icon.Picture.Bitmap.Height; 709 LeftPos := LeftPos - Icon.Width - Separation; 710 Icon.Left := LeftPos; 711 Icon.Top := (GrabberSize - Icon.Height) div 2; 712 713 //ShowMessage(IntToStr(Icon.Width) + ' ' + InttoStr(Icon.Height)); 714 Visible := True; 715 end; 716 end; 717 616 718 procedure TCDHeader.CloseButtonClick(Sender: TObject); 617 719 begin -
Docking/CoolDocking/UCDWindowList.lfm
r189 r197 1 object C oolDockWindowListForm: TCoolDockWindowListForm1 object CDWindowListForm: TCDWindowListForm 2 2 Left = 361 3 3 Height = 256 -
Docking/CoolDocking/UCDWindowList.lrs
r189 r197 1 1 { This is an automatically generated lazarus resource file } 2 2 3 LazarusResources.Add('TC oolDockWindowListForm','FORMDATA',[4 'TPF0'# 23'TCoolDockWindowListForm'#22'CoolDockWindowListForm'#4'Left'#3'i'#1#65 + 'Height'#3#0#1#3'Top'#3#142#0#5'Width'#3'~'#1#7'Caption'#6#11'Window list'#126 +' ClientHeight'#3#0#1#11'ClientWidth'#3'~'#1#6'OnShow'#7#8'FormShow'#10'LCLVe'7 +' rsion'#6#6'0.9.31'#0#9'TListView'#9'ListView1'#4'Left'#2#8#6'Height'#3#211#08 +# 3'Top'#2#5#5'Width'#3'n'#1#7'Anchors'#11#5'akTop'#6'akLeft'#7'akRight'#8'ak'9 +' Bottom'#0#7'Columns'#14#1#7'Caption'#6#4'Name'#5'Width'#3#200#0#0#1#7'Capti'10 +' on'#6#10'Dock state'#5'Width'#2'F'#0#1#7'Caption'#6#10'Visibility'#5'Width'11 + #2'F'#0#0#8'ReadOnly'#9#9'RowSelect'#9#11'SmallImages'#7#10'ImageList1'#8'Ta'12 + 'bOrder'#2#0#9'ViewStyle'#7#8'vsReport'#10'OnDblClick'#7#17'ListView1DblClic'13 +' k'#10'OnKeyPress'#7#17'ListView1KeyPress'#12'OnSelectItem'#7#19'ListView1Se'14 + 'lectItem'#0#0#7'TButton'#11'ButtonFocus'#4'Left'#3'+'#1#6'Height'#2#25#3'To'15 +' p'#3#224#0#5'Width'#2'K'#7'Anchors'#11#7'akRight'#8'akBottom'#0#7'Caption'#616 + #5'Focus'#7'Enabled'#8#7'OnClick'#7#16'ButtonFocusClick'#8'TabOrder'#2#1#0#017 +# 7'TButton'#10'ButtonHide'#4'Left'#3#219#0#6'Height'#2#25#3'Top'#3#224#0#5'W'18 +' idth'#2'K'#7'Anchors'#11#7'akRight'#8'akBottom'#0#7'Caption'#6#4'Hide'#7'En'19 +' abled'#8#7'OnClick'#7#15'ButtonHideClick'#8'TabOrder'#2#2#0#0#7'TButton'#1020 +' ButtonShow'#4'Left'#3#139#0#6'Height'#2#25#3'Top'#3#224#0#5'Width'#2'K'#7'A'21 +' nchors'#11#7'akRight'#8'akBottom'#0#7'Caption'#6#4'Show'#7'Enabled'#8#7'OnC'22 +' lick'#7#15'ButtonShowClick'#8'TabOrder'#2#3#0#0#10'TImageList'#10'ImageList'23 + '1'#4'left'#2' '#3'top'#2'&'#6'Bitmap'#10#14#4#0#0'Li'#1#0#0#0#16#0#0#0#16#024 +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0# 0#0#0#0#0#0#0#0#255#0#0#0#255#0#0#0#255#025 +# 0#0#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#026 +#0#0#0# 0#0#0#0#0#0#0#255#0#0#0#255#0#0#0#255#189#189#189#255#255#255#255#25527 +#255# 255#255#255#189#189#189#255#0#0#0#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#028 +#0#0#0#0#0#0#0#0#0# 0#0#0#0#0#0#255#255#255#0#255#255#255#0#255#255#255#0#25529 +# 0#0#0#255#255#255#255#255#189#189#189#255#0'{{'#255#0'{{'#255#0'{{'#255#0#030 +#0# 255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#255#255#0#255#255#255#0#25531 +#255# 255#0#255#0#0#0#255#255#255#255#255#0'{{'#255#0'{{'#255#0#0#0#255#0'{{'32 +#255# 0'{{'#255#255#255#0#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#25533 +#255# 0#255#255#255#0#255#0#0#0#255#0'{{'#255#0#0#0#255#0'{{'#255#0'{{'#25534 +#255# 255#0#255#0#0#0#255#0'{{'#255#0'{{'#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#035 +#255# 255#255#0#255#255#255#0#255#255#255#0#255#0#0#0#255#255#255#0#255#25536 +# 255#0#255#0'{{'#255#255#255#0#255#0#0#0#255#0'{{'#255#0'{{'#255#0'{{'#255#037 + '{{'#255#0#0#0#255#0#0#0#0#0#0#0#255#255#255#0#255#255#255#0#255#255#255#038 +# 255#255#255#0#255#0'{{'#255#255#255#0#255#255#255#0#255#255#255#0#255#0#0#039 +#255#0'{{'#255#0'{{'#255#0'{{'#255#0 '{{'#255#0#0#0#255#0#0#0#0#0#0#0#255#25540 +#255# 0#255#255#255#0#255#0#0#0#0#0#0#0#255#0'{{'#255#0'{{'#255#0'{{'#255#0'{'41 +'{'#255#0'{{'#255#0 '{{'#255#0#0#0#255#0'{{'#255#0'{{'#255#0#0#0#255#0#0#0#0#042 +# 0#0#255#255#255#0#255#0#0#0#0#255#255#0#255#0#0#0#255#0'{{'#255#0'{{'#255#043 + '{{'#255#0'{{'#255#0#0#0#255#255#255#0#255'{{{'#255#255#255#0#255#0#0#0#255#044 +#0#0# 255#0#0#0#0#0#0#0#255#0#0#0#0#255#255#0#255#0#0#0#0#0#0#0#255#0'{{'#25545 +# 0'{{'#255#0'{{'#255#0'{{'#255#255#255#0#255'{{{'#255#255#255#0#255'{{{'#25546 + '{{{'#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#255#0#0#0#0#255#255#0#255#0#0#0#047 +#255# 255#0#255#0#0#0#255#0'{{'#255#0'{{'#255'{{{'#255#255#255#0#255'{{{'#25548 +#255# 255#0#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#255#255#0#255#0#049 +# 0#0#255#255#0#255#0#0#0#0#255#255#0#255#0'{{'#255#0'{{'#255#255#255#0#255'{'50 + '{{'#255#255#255#0#255'{{{'#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#051 +# 0#255#255#255#0#255#0#0#0#0#255#255#0#255#255#255#0#255#255#255#0#255#0'{{'3 LazarusResources.Add('TCDWindowListForm','FORMDATA',[ 4 'TPF0'#17'TCDWindowListForm'#16'CDWindowListForm'#4'Left'#3'i'#1#6'Height'#3#0 5 +#1#3'Top'#3#142#0#5'Width'#3'~'#1#7'Caption'#6#11'Window list'#12'ClientHeig' 6 +'ht'#3#0#1#11'ClientWidth'#3'~'#1#6'OnShow'#7#8'FormShow'#10'LCLVersion'#6#6 7 +'0.9.31'#0#9'TListView'#9'ListView1'#4'Left'#2#8#6'Height'#3#211#0#3'Top'#2#5 8 +#5'Width'#3'n'#1#7'Anchors'#11#5'akTop'#6'akLeft'#7'akRight'#8'akBottom'#0#7 9 +'Columns'#14#1#7'Caption'#6#4'Name'#5'Width'#3#200#0#0#1#7'Caption'#6#10'Doc' 10 +'k state'#5'Width'#2'F'#0#1#7'Caption'#6#10'Visibility'#5'Width'#2'F'#0#0#8 11 +'ReadOnly'#9#9'RowSelect'#9#11'SmallImages'#7#10'ImageList1'#8'TabOrder'#2#0 12 +#9'ViewStyle'#7#8'vsReport'#10'OnDblClick'#7#17'ListView1DblClick'#10'OnKeyP' 13 +'ress'#7#17'ListView1KeyPress'#12'OnSelectItem'#7#19'ListView1SelectItem'#0#0 14 +#7'TButton'#11'ButtonFocus'#4'Left'#3'+'#1#6'Height'#2#25#3'Top'#3#224#0#5'W' 15 +'idth'#2'K'#7'Anchors'#11#7'akRight'#8'akBottom'#0#7'Caption'#6#5'Focus'#7'E' 16 +'nabled'#8#7'OnClick'#7#16'ButtonFocusClick'#8'TabOrder'#2#1#0#0#7'TButton' 17 +#10'ButtonHide'#4'Left'#3#219#0#6'Height'#2#25#3'Top'#3#224#0#5'Width'#2'K'#7 18 +'Anchors'#11#7'akRight'#8'akBottom'#0#7'Caption'#6#4'Hide'#7'Enabled'#8#7'On' 19 +'Click'#7#15'ButtonHideClick'#8'TabOrder'#2#2#0#0#7'TButton'#10'ButtonShow'#4 20 +'Left'#3#139#0#6'Height'#2#25#3'Top'#3#224#0#5'Width'#2'K'#7'Anchors'#11#7'a' 21 +'kRight'#8'akBottom'#0#7'Caption'#6#4'Show'#7'Enabled'#8#7'OnClick'#7#15'But' 22 +'tonShowClick'#8'TabOrder'#2#3#0#0#10'TImageList'#10'ImageList1'#4'left'#2' ' 23 +#3'top'#2'&'#6'Bitmap'#10#14#4#0#0'Li'#1#0#0#0#16#0#0#0#16#0#0#0#0#0#0#0#0#0 24 +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0#255#0#0#0 25 +#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 26 +#0#0#0#255#0#0#0#255#0#0#0#255#189#189#189#255#255#255#255#255#255#255#255 27 +#255#189#189#189#255#0#0#0#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 28 +#0#0#0#0#0#0#0#0#0#255#255#255#0#255#255#255#0#255#255#255#0#255#0#0#0#255 29 +#255#255#255#255#189#189#189#255#0'{{'#255#0'{{'#255#0'{{'#255#0#0#0#255#0#0 30 +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#255#255#0#255#255#255#0#255#255#255#0 31 +#255#0#0#0#255#255#255#255#255#0'{{'#255#0'{{'#255#0#0#0#255#0'{{'#255#0'{{' 32 +#255#255#255#0#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#255#255#0#255 33 +#255#255#0#255#0#0#0#255#0'{{'#255#0#0#0#255#0'{{'#255#0'{{'#255#255#255#0 34 +#255#0#0#0#255#0'{{'#255#0'{{'#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#255#255 35 +#255#0#255#255#255#0#255#255#255#0#255#0#0#0#255#255#255#0#255#255#255#0#255 36 +#0'{{'#255#255#255#0#255#0#0#0#255#0'{{'#255#0'{{'#255#0'{{'#255#0'{{'#255#0 37 +#0#0#255#0#0#0#0#0#0#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255 38 +#0#255#0'{{'#255#255#255#0#255#255#255#0#255#255#255#0#255#0#0#0#255#0'{{' 39 +#255#0'{{'#255#0'{{'#255#0'{{'#255#0#0#0#255#0#0#0#0#0#0#0#255#255#255#0#255 40 +#255#255#0#255#0#0#0#0#0#0#0#255#0'{{'#255#0'{{'#255#0'{{'#255#0'{{'#255#0'{' 41 +'{'#255#0'{{'#255#0#0#0#255#0'{{'#255#0'{{'#255#0#0#0#255#0#0#0#0#0#0#0#255 42 +#255#255#0#255#0#0#0#0#255#255#0#255#0#0#0#255#0'{{'#255#0'{{'#255#0'{{'#255 43 +#0'{{'#255#0#0#0#255#255#255#0#255'{{{'#255#255#255#0#255#0#0#0#255#0#0#0#255 44 +#0#0#0#0#0#0#0#255#0#0#0#0#255#255#0#255#0#0#0#0#0#0#0#255#0'{{'#255#0'{{' 45 +#255#0'{{'#255#0'{{'#255#255#255#0#255'{{{'#255#255#255#0#255'{{{'#255'{{{' 46 +#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#255#0#0#0#0#255#255#0#255#0#0#0#0#255 47 +#255#0#255#0#0#0#255#0'{{'#255#0'{{'#255'{{{'#255#255#255#0#255'{{{'#255#255 48 +#255#0#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#255#255#0#255#0#0#0#0 49 +#255#255#0#255#0#0#0#0#255#255#0#255#0'{{'#255#0'{{'#255#255#255#0#255'{{{' 50 +#255#255#255#0#255'{{{'#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 51 +#255#255#255#0#255#0#0#0#0#255#255#0#255#255#255#0#255#255#255#0#255#0'{{' 52 52 +#255'{{{'#255#255#255#0#255'{{{'#255#0#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 53 53 +#0#0#0#0#0#0#0#0#0#0#0#0#255#0#0#0#255#0#0#0#0#255#255#0#255#0#0#0#0#255#255 -
Docking/CoolDocking/UCDWindowList.lrt
r189 r197 1 TC OOLDOCKWINDOWLISTFORM.CAPTION=Window list2 TC OOLDOCKWINDOWLISTFORM.LISTVIEW1.COLUMNS[0].CAPTION=Name3 TC OOLDOCKWINDOWLISTFORM.LISTVIEW1.COLUMNS[1].CAPTION=Dock state4 TC OOLDOCKWINDOWLISTFORM.LISTVIEW1.COLUMNS[2].CAPTION=Visibility5 TC OOLDOCKWINDOWLISTFORM.BUTTONFOCUS.CAPTION=Focus6 TC OOLDOCKWINDOWLISTFORM.BUTTONHIDE.CAPTION=Hide7 TC OOLDOCKWINDOWLISTFORM.BUTTONSHOW.CAPTION=Show1 TCDWINDOWLISTFORM.CAPTION=Window list 2 TCDWINDOWLISTFORM.LISTVIEW1.COLUMNS[0].CAPTION=Name 3 TCDWINDOWLISTFORM.LISTVIEW1.COLUMNS[1].CAPTION=Dock state 4 TCDWINDOWLISTFORM.LISTVIEW1.COLUMNS[2].CAPTION=Visibility 5 TCDWINDOWLISTFORM.BUTTONFOCUS.CAPTION=Focus 6 TCDWINDOWLISTFORM.BUTTONHIDE.CAPTION=Hide 7 TCDWINDOWLISTFORM.BUTTONSHOW.CAPTION=Show -
Docking/CoolDocking/UCDWindowList.pas
r189 r197 45 45 end; 46 46 47 47 48 procedure Register; 48 49
Note:
See TracChangeset
for help on using the changeset viewer.