- Timestamp:
- Mar 10, 2011, 7:55:48 AM (14 years ago)
- Location:
- Docking/CoolDocking
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
Docking/CoolDocking/Demo/IDE/IDE.lpi
r182 r183 47 47 </Item4> 48 48 </RequiredPackages> 49 <Units Count="5 3">49 <Units Count="54"> 50 50 <Unit0> 51 51 <Filename Value="IDE.lpr"/> 52 52 <IsPartOfProject Value="True"/> 53 53 <UnitName Value="IDE"/> 54 <UsageCount Value=" 81"/>54 <UsageCount Value="116"/> 55 55 </Unit0> 56 56 <Unit1> … … 60 60 <ResourceBaseClass Value="Form"/> 61 61 <UnitName Value="UMainForm"/> 62 <EditorIndex Value=" 8"/>62 <EditorIndex Value="4"/> 63 63 <WindowIndex Value="0"/> 64 64 <TopLine Value="138"/> 65 65 <CursorPos X="18" Y="150"/> 66 <UsageCount Value=" 81"/>66 <UsageCount Value="116"/> 67 67 <Loaded Value="True"/> 68 68 <LoadedDesigner Value="True"/> … … 77 77 <TopLine Value="1"/> 78 78 <CursorPos X="12" Y="16"/> 79 <UsageCount Value=" 81"/>79 <UsageCount Value="116"/> 80 80 </Unit2> 81 81 <Unit3> … … 88 88 <TopLine Value="1"/> 89 89 <CursorPos X="3" Y="16"/> 90 <UsageCount Value=" 81"/>90 <UsageCount Value="116"/> 91 91 </Unit3> 92 92 <Unit4> … … 99 99 <TopLine Value="1"/> 100 100 <CursorPos X="15" Y="10"/> 101 <UsageCount Value=" 81"/>101 <UsageCount Value="116"/> 102 102 </Unit4> 103 103 <Unit5> 104 104 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\control.inc"/> 105 <EditorIndex Value="3"/>106 105 <WindowIndex Value="0"/> 107 106 <TopLine Value="1672"/> 108 107 <CursorPos X="1" Y="1685"/> 109 <UsageCount Value="38"/> 110 <Loaded Value="True"/> 108 <UsageCount Value="54"/> 111 109 </Unit5> 112 110 <Unit6> … … 119 117 <TopLine Value="1"/> 120 118 <CursorPos X="20" Y="16"/> 121 <UsageCount Value=" 81"/>119 <UsageCount Value="116"/> 122 120 </Unit6> 123 121 <Unit7> 124 122 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\customform.inc"/> 125 <EditorIndex Value="21"/>126 123 <WindowIndex Value="0"/> 127 124 <TopLine Value="2822"/> 128 125 <CursorPos X="1" Y="2835"/> 129 <UsageCount Value="41"/> 130 <Loaded Value="True"/> 126 <UsageCount Value="57"/> 131 127 </Unit7> 132 128 <Unit8> … … 139 135 <TopLine Value="1"/> 140 136 <CursorPos X="7" Y="16"/> 141 <UsageCount Value=" 81"/>137 <UsageCount Value="116"/> 142 138 </Unit8> 143 139 <Unit9> … … 150 146 <TopLine Value="1"/> 151 147 <CursorPos X="12" Y="15"/> 152 <UsageCount Value=" 81"/>148 <UsageCount Value="116"/> 153 149 </Unit9> 154 150 <Unit10> … … 161 157 <TopLine Value="1"/> 162 158 <CursorPos X="21" Y="4"/> 163 <UsageCount Value=" 81"/>159 <UsageCount Value="116"/> 164 160 </Unit10> 165 161 <Unit11> … … 172 168 <TopLine Value="1"/> 173 169 <CursorPos X="12" Y="16"/> 174 <UsageCount Value=" 81"/>170 <UsageCount Value="116"/> 175 171 </Unit11> 176 172 <Unit12> … … 183 179 <TopLine Value="1"/> 184 180 <CursorPos X="12" Y="17"/> 185 <UsageCount Value=" 81"/>181 <UsageCount Value="116"/> 186 182 </Unit12> 187 183 <Unit13> … … 194 190 <TopLine Value="1"/> 195 191 <CursorPos X="12" Y="16"/> 196 <UsageCount Value=" 81"/>192 <UsageCount Value="116"/> 197 193 </Unit13> 198 194 <Unit14> … … 205 201 <TopLine Value="1"/> 206 202 <CursorPos X="41" Y="17"/> 207 <UsageCount Value=" 79"/>203 <UsageCount Value="114"/> 208 204 </Unit14> 209 205 <Unit15> … … 212 208 <EditorIndex Value="0"/> 213 209 <WindowIndex Value="0"/> 214 <TopLine Value=" 87"/>215 <CursorPos X="3 4" Y="100"/>216 <UsageCount Value=" 39"/>210 <TopLine Value="406"/> 211 <CursorPos X="3" Y="411"/> 212 <UsageCount Value="57"/> 217 213 <Loaded Value="True"/> 218 214 </Unit15> … … 220 216 <Filename Value="..\..\UCoolDockLayout.pas"/> 221 217 <UnitName Value="UCoolDockLayout"/> 222 <EditorIndex Value=" 9"/>218 <EditorIndex Value="5"/> 223 219 <WindowIndex Value="0"/> 224 220 <TopLine Value="379"/> 225 221 <CursorPos X="101" Y="394"/> 226 <UsageCount Value=" 39"/>222 <UsageCount Value="57"/> 227 223 <Loaded Value="True"/> 228 224 </Unit16> 229 225 <Unit17> 230 226 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\FPC\rtl\objpas\classes\classesh.inc"/> 231 <EditorIndex Value="20"/>232 227 <WindowIndex Value="0"/> 233 228 <TopLine Value="1638"/> 234 229 <CursorPos X="17" Y="1651"/> 235 <UsageCount Value="15"/> 236 <Loaded Value="True"/> 230 <UsageCount Value="31"/> 237 231 </Unit17> 238 232 <Unit18> … … 242 236 <TopLine Value="70"/> 243 237 <CursorPos X="21" Y="83"/> 244 <UsageCount Value=" 9"/>238 <UsageCount Value="5"/> 245 239 </Unit18> 246 240 <Unit19> … … 249 243 <TopLine Value="220"/> 250 244 <CursorPos X="16" Y="233"/> 251 <UsageCount Value=" 9"/>245 <UsageCount Value="5"/> 252 246 </Unit19> 253 247 <Unit20> … … 257 251 <TopLine Value="90"/> 258 252 <CursorPos X="61" Y="104"/> 259 <UsageCount Value=" 31"/>253 <UsageCount Value="27"/> 260 254 </Unit20> 261 255 <Unit21> … … 265 259 <TopLine Value="34"/> 266 260 <CursorPos X="11" Y="47"/> 267 <UsageCount Value=" 9"/>261 <UsageCount Value="5"/> 268 262 </Unit21> 269 263 <Unit22> … … 276 270 <TopLine Value="25"/> 277 271 <CursorPos X="7" Y="48"/> 278 <UsageCount Value=" 8"/>272 <UsageCount Value="4"/> 279 273 </Unit22> 280 274 <Unit23> 281 275 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\forms.pp"/> 282 276 <UnitName Value="Forms"/> 283 <EditorIndex Value="14"/>284 277 <WindowIndex Value="0"/> 285 278 <TopLine Value="776"/> 286 279 <CursorPos X="3" Y="789"/> 287 <UsageCount Value="16"/> 288 <Loaded Value="True"/> 280 <UsageCount Value="32"/> 289 281 </Unit23> 290 282 <Unit24> … … 294 286 <TopLine Value="835"/> 295 287 <CursorPos X="3" Y="837"/> 296 <UsageCount Value=" 6"/>288 <UsageCount Value="2"/> 297 289 </Unit24> 298 290 <Unit25> … … 301 293 <TopLine Value="913"/> 302 294 <CursorPos X="1" Y="930"/> 303 <UsageCount Value="2 8"/>295 <UsageCount Value="24"/> 304 296 </Unit25> 305 297 <Unit26> … … 308 300 <TopLine Value="91"/> 309 301 <CursorPos X="1" Y="104"/> 310 <UsageCount Value=" 10"/>302 <UsageCount Value="6"/> 311 303 </Unit26> 312 304 <Unit27> … … 315 307 <TopLine Value="239"/> 316 308 <CursorPos X="1" Y="252"/> 317 <UsageCount Value=" 10"/>309 <UsageCount Value="6"/> 318 310 </Unit27> 319 311 <Unit28> 320 312 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\controls.pp"/> 321 313 <UnitName Value="Controls"/> 322 <EditorIndex Value=" 15"/>323 <WindowIndex Value="0"/> 324 <TopLine Value=" 432"/>325 <CursorPos X="1 5" Y="446"/>326 <UsageCount Value=" 16"/>314 <EditorIndex Value="7"/> 315 <WindowIndex Value="0"/> 316 <TopLine Value="1050"/> 317 <CursorPos X="14" Y="1429"/> 318 <UsageCount Value="33"/> 327 319 <Loaded Value="True"/> 328 320 </Unit28> 329 321 <Unit29> 330 322 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\wincontrol.inc"/> 331 <EditorIndex Value="2"/>332 323 <WindowIndex Value="0"/> 333 324 <TopLine Value="5229"/> 334 325 <CursorPos X="1" Y="5242"/> 335 <UsageCount Value="12"/> 336 <Loaded Value="True"/> 326 <UsageCount Value="28"/> 337 327 </Unit29> 338 328 <Unit30> … … 341 331 <TopLine Value="751"/> 342 332 <CursorPos X="1" Y="764"/> 343 <UsageCount Value=" 30"/>333 <UsageCount Value="26"/> 344 334 </Unit30> 345 335 <Unit31> … … 349 339 <ResourceBaseClass Value="Form"/> 350 340 <UnitName Value="UCoolDockCustomize"/> 351 <EditorIndex Value="7"/>352 341 <WindowIndex Value="0"/> 353 342 <TopLine Value="36"/> 354 343 <CursorPos X="3" Y="49"/> 355 <UsageCount Value="34"/> 356 <Loaded Value="True"/> 344 <UsageCount Value="50"/> 357 345 </Unit31> 358 346 <Unit32> 359 347 <Filename Value="..\..\UCoolDockCommon.pas"/> 360 348 <UnitName Value="UCoolDockCommon"/> 361 <EditorIndex Value="1 3"/>362 <WindowIndex Value="0"/> 363 <TopLine Value="1"/> 364 <CursorPos X=" 3" Y="11"/>365 <UsageCount Value=" 31"/>349 <EditorIndex Value="1"/> 350 <WindowIndex Value="0"/> 351 <TopLine Value="1"/> 352 <CursorPos X="1" Y="14"/> 353 <UsageCount Value="48"/> 366 354 <Loaded Value="True"/> 367 355 </Unit32> … … 369 357 <Filename Value="..\..\UCoolDockPopupMenu.pas"/> 370 358 <UnitName Value="UCoolDockPopupMenu"/> 371 <EditorIndex Value="6"/> 372 <WindowIndex Value="0"/> 373 <TopLine Value="223"/> 374 <CursorPos X="85" Y="202"/> 375 <UsageCount Value="33"/> 376 <Loaded Value="True"/> 359 <WindowIndex Value="0"/> 360 <TopLine Value="161"/> 361 <CursorPos X="3" Y="165"/> 362 <UsageCount Value="49"/> 377 363 </Unit33> 378 364 <Unit34> … … 382 368 <TopLine Value="503"/> 383 369 <CursorPos X="10" Y="516"/> 384 <UsageCount Value="2 6"/>370 <UsageCount Value="22"/> 385 371 </Unit34> 386 372 <Unit35> … … 389 375 <TopLine Value="539"/> 390 376 <CursorPos X="3" Y="544"/> 391 <UsageCount Value=" 9"/>377 <UsageCount Value="5"/> 392 378 </Unit35> 393 379 <Unit36> … … 396 382 <TopLine Value="224"/> 397 383 <CursorPos X="29" Y="238"/> 398 <UsageCount Value=" 11"/>384 <UsageCount Value="7"/> 399 385 </Unit36> 400 386 <Unit37> … … 403 389 <TopLine Value="7"/> 404 390 <CursorPos X="3" Y="20"/> 405 <UsageCount Value=" 10"/>391 <UsageCount Value="6"/> 406 392 </Unit37> 407 393 <Unit38> … … 410 396 <TopLine Value="79"/> 411 397 <CursorPos X="14" Y="82"/> 412 <UsageCount Value=" 10"/>398 <UsageCount Value="6"/> 413 399 </Unit38> 414 400 <Unit39> 415 401 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\lclclasses.pp"/> 416 402 <UnitName Value="LCLClasses"/> 417 <EditorIndex Value="19"/>418 403 <WindowIndex Value="0"/> 419 404 <TopLine Value="32"/> 420 405 <CursorPos X="20" Y="45"/> 421 <UsageCount Value="14"/> 422 <Loaded Value="True"/> 406 <UsageCount Value="30"/> 423 407 </Unit39> 424 408 <Unit40> 425 409 <Filename Value="..\..\UCoolDockStyle.pas"/> 426 410 <UnitName Value="UCoolDockStyle"/> 427 <EditorIndex Value=" 5"/>428 <WindowIndex Value="0"/> 429 <TopLine Value=" 9"/>430 <CursorPos X=" 15" Y="22"/>431 <UsageCount Value=" 13"/>411 <EditorIndex Value="3"/> 412 <WindowIndex Value="0"/> 413 <TopLine Value="59"/> 414 <CursorPos X="3" Y="65"/> 415 <UsageCount Value="31"/> 432 416 <Loaded Value="True"/> 433 417 </Unit40> … … 435 419 <Filename Value="..\..\UCoolDockClientPanel.pas"/> 436 420 <UnitName Value="UCoolDockClientPanel"/> 437 <EditorIndex Value=" 4"/>438 <WindowIndex Value="0"/> 439 <TopLine Value="2 10"/>440 <CursorPos X=" 3" Y="215"/>441 <UsageCount Value=" 13"/>421 <EditorIndex Value="2"/> 422 <WindowIndex Value="0"/> 423 <TopLine Value="25"/> 424 <CursorPos X="22" Y="40"/> 425 <UsageCount Value="31"/> 442 426 <Loaded Value="True"/> 443 427 </Unit41> … … 448 432 <TopLine Value="1531"/> 449 433 <CursorPos X="33" Y="1544"/> 450 <UsageCount Value=" 10"/>434 <UsageCount Value="6"/> 451 435 </Unit42> 452 436 <Unit43> 453 437 <Filename Value="..\..\UCoolDockStyleTabs.pas"/> 454 438 <UnitName Value="UCoolDockStyleTabs"/> 455 <IsVisibleTab Value="True"/> 456 <EditorIndex Value="11"/> 457 <WindowIndex Value="0"/> 458 <TopLine Value="292"/> 459 <CursorPos X="1" Y="305"/> 460 <UsageCount Value="12"/> 439 <EditorIndex Value="8"/> 440 <WindowIndex Value="0"/> 441 <TopLine Value="238"/> 442 <CursorPos X="3" Y="240"/> 443 <UsageCount Value="30"/> 461 444 <Loaded Value="True"/> 462 445 </Unit43> … … 467 450 <TopLine Value="45"/> 468 451 <CursorPos X="28" Y="558"/> 469 <UsageCount Value=" 10"/>452 <UsageCount Value="6"/> 470 453 </Unit44> 471 454 <Unit45> … … 475 458 <TopLine Value="344"/> 476 459 <CursorPos X="1" Y="357"/> 477 <UsageCount Value=" 10"/>460 <UsageCount Value="6"/> 478 461 </Unit45> 479 462 <Unit46> … … 482 465 <TopLine Value="2403"/> 483 466 <CursorPos X="74" Y="2413"/> 484 <UsageCount Value=" 10"/>467 <UsageCount Value="6"/> 485 468 </Unit46> 486 469 <Unit47> 487 470 <Filename Value="..\..\UCoolDockStyleRegions.pas"/> 488 471 <UnitName Value="UCoolDockStyleRegions"/> 489 <EditorIndex Value="10"/> 490 <WindowIndex Value="0"/> 491 <TopLine Value="99"/> 492 <CursorPos X="1" Y="120"/> 493 <UsageCount Value="11"/> 472 <IsVisibleTab Value="True"/> 473 <EditorIndex Value="6"/> 474 <WindowIndex Value="0"/> 475 <TopLine Value="61"/> 476 <CursorPos X="36" Y="66"/> 477 <UsageCount Value="29"/> 494 478 <Loaded Value="True"/> 495 479 </Unit47> … … 497 481 <Filename Value="..\..\UCoolDockStylePopupTabs.pas"/> 498 482 <UnitName Value="UCoolDockStylePopupTabs"/> 499 <EditorIndex Value="12"/>500 483 <WindowIndex Value="0"/> 501 484 <TopLine Value="1"/> 502 485 <CursorPos X="26" Y="12"/> 503 <UsageCount Value="11"/> 504 <Loaded Value="True"/> 486 <UsageCount Value="27"/> 505 487 </Unit48> 506 488 <Unit49> 507 489 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\dragmanager.inc"/> 508 <EditorIndex Value="1"/>509 490 <WindowIndex Value="0"/> 510 491 <TopLine Value="762"/> 511 492 <CursorPos X="1" Y="775"/> 512 <UsageCount Value="11"/> 513 <Loaded Value="True"/> 493 <UsageCount Value="27"/> 514 494 </Unit49> 515 495 <Unit50> 516 496 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\dragobject.inc"/> 517 <EditorIndex Value="16"/>518 497 <WindowIndex Value="0"/> 519 498 <TopLine Value="148"/> 520 499 <CursorPos X="32" Y="160"/> 521 <UsageCount Value="11"/> 522 <Loaded Value="True"/> 500 <UsageCount Value="27"/> 523 501 </Unit50> 524 502 <Unit51> 525 503 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\lclintfh.inc"/> 526 <EditorIndex Value="17"/>527 504 <WindowIndex Value="0"/> 528 505 <TopLine Value="53"/> 529 506 <CursorPos X="11" Y="66"/> 530 <UsageCount Value="11"/> 531 <Loaded Value="True"/> 507 <UsageCount Value="27"/> 532 508 </Unit51> 533 509 <Unit52> 534 510 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\lclintf.inc"/> 535 <EditorIndex Value="18"/>536 511 <WindowIndex Value="0"/> 537 512 <TopLine Value="141"/> 538 513 <CursorPos X="3" Y="143"/> 539 <UsageCount Value="11"/> 540 <Loaded Value="True"/> 514 <UsageCount Value="27"/> 541 515 </Unit52> 516 <Unit53> 517 <Filename Value="..\..\ReadMe.txt"/> 518 <WindowIndex Value="0"/> 519 <TopLine Value="2"/> 520 <CursorPos X="40" Y="3"/> 521 <UsageCount Value="26"/> 522 <DefaultSyntaxHighlighter Value="None"/> 523 </Unit53> 542 524 </Units> 543 525 <JumpHistory Count="30" HistoryIndex="29"> 544 526 <Position1> 545 <Filename Value="..\..\UCoolDock ing.pas"/>546 <Caret Line=" 367" Column="12" TopLine="358"/>527 <Filename Value="..\..\UCoolDockStyleRegions.pas"/> 528 <Caret Line="64" Column="1" TopLine="59"/> 547 529 </Position1> 548 530 <Position2> 549 <Filename Value="..\..\UCoolDock ing.pas"/>550 <Caret Line=" 318" Column="20" TopLine="318"/>531 <Filename Value="..\..\UCoolDockStyleRegions.pas"/> 532 <Caret Line="65" Column="1" TopLine="59"/> 551 533 </Position2> 552 534 <Position3> 553 535 <Filename Value="..\..\UCoolDockStyleRegions.pas"/> 554 <Caret Line=" 115" Column="1" TopLine="94"/>536 <Caret Line="66" Column="1" TopLine="59"/> 555 537 </Position3> 556 538 <Position4> 557 <Filename Value="..\..\UCoolDock ing.pas"/>558 <Caret Line=" 334" Column="1" TopLine="318"/>539 <Filename Value="..\..\UCoolDockStyleRegions.pas"/> 540 <Caret Line="68" Column="1" TopLine="59"/> 559 541 </Position4> 560 542 <Position5> 561 <Filename Value="..\..\UCoolDock ing.pas"/>562 <Caret Line=" 336" Column="1" TopLine="318"/>543 <Filename Value="..\..\UCoolDockStyleRegions.pas"/> 544 <Caret Line="82" Column="1" TopLine="61"/> 563 545 </Position5> 564 546 <Position6> 565 <Filename Value="..\..\UCoolDock ing.pas"/>566 <Caret Line=" 334" Column="1" TopLine="318"/>547 <Filename Value="..\..\UCoolDockStyleRegions.pas"/> 548 <Caret Line="64" Column="1" TopLine="59"/> 567 549 </Position6> 568 550 <Position7> 569 <Filename Value="..\..\UCoolDock ing.pas"/>570 <Caret Line=" 310" Column="13" TopLine="291"/>551 <Filename Value="..\..\UCoolDockStyleRegions.pas"/> 552 <Caret Line="65" Column="1" TopLine="59"/> 571 553 </Position7> 572 554 <Position8> 573 555 <Filename Value="..\..\UCoolDockStyleRegions.pas"/> 574 <Caret Line=" 86" Column="10" TopLine="73"/>556 <Caret Line="66" Column="1" TopLine="59"/> 575 557 </Position8> 576 558 <Position9> 577 559 <Filename Value="..\..\UCoolDockStyleRegions.pas"/> 578 <Caret Line=" 81" Column="20" TopLine="68"/>560 <Caret Line="68" Column="1" TopLine="59"/> 579 561 </Position9> 580 562 <Position10> 581 563 <Filename Value="..\..\UCoolDockStyleRegions.pas"/> 582 <Caret Line=" 82" Column="33" TopLine="68"/>564 <Caret Line="69" Column="1" TopLine="59"/> 583 565 </Position10> 584 566 <Position11> 585 567 <Filename Value="..\..\UCoolDockStyleRegions.pas"/> 586 <Caret Line=" 84" Column="33" TopLine="70"/>568 <Caret Line="70" Column="1" TopLine="59"/> 587 569 </Position11> 588 570 <Position12> 589 571 <Filename Value="..\..\UCoolDockStyleRegions.pas"/> 590 <Caret Line="8 8" Column="17" TopLine="74"/>572 <Caret Line="82" Column="1" TopLine="61"/> 591 573 </Position12> 592 574 <Position13> 593 575 <Filename Value="..\..\UCoolDockStyleRegions.pas"/> 594 <Caret Line=" 89" Column="85" TopLine="76"/>576 <Caret Line="64" Column="1" TopLine="59"/> 595 577 </Position13> 596 578 <Position14> 597 579 <Filename Value="..\..\UCoolDockStyleRegions.pas"/> 598 <Caret Line=" 90" Column="24" TopLine="76"/>580 <Caret Line="65" Column="1" TopLine="59"/> 599 581 </Position14> 600 582 <Position15> 601 <Filename Value="..\..\UCoolDock ing.pas"/>602 <Caret Line=" 336" Column="1" TopLine="323"/>583 <Filename Value="..\..\UCoolDockStyleRegions.pas"/> 584 <Caret Line="66" Column="1" TopLine="59"/> 603 585 </Position15> 604 586 <Position16> 605 <Filename Value="..\..\UCoolDock PopupMenu.pas"/>606 <Caret Line=" 207" Column="1" TopLine="202"/>587 <Filename Value="..\..\UCoolDockStyleRegions.pas"/> 588 <Caret Line="68" Column="1" TopLine="59"/> 607 589 </Position16> 608 590 <Position17> 609 <Filename Value="..\..\UCoolDock PopupMenu.pas"/>610 <Caret Line=" 209" Column="56" TopLine="201"/>591 <Filename Value="..\..\UCoolDockStyleRegions.pas"/> 592 <Caret Line="69" Column="1" TopLine="59"/> 611 593 </Position17> 612 594 <Position18> 613 <Filename Value="..\..\UCoolDock PopupMenu.pas"/>614 <Caret Line=" 10" Column="36" TopLine="4"/>595 <Filename Value="..\..\UCoolDockStyleRegions.pas"/> 596 <Caret Line="70" Column="1" TopLine="59"/> 615 597 </Position18> 616 598 <Position19> 617 <Filename Value="..\..\UCoolDock PopupMenu.pas"/>618 <Caret Line=" 61" Column="49" TopLine="55"/>599 <Filename Value="..\..\UCoolDockStyleRegions.pas"/> 600 <Caret Line="72" Column="1" TopLine="59"/> 619 601 </Position19> 620 602 <Position20> 621 <Filename Value="..\..\UCoolDock PopupMenu.pas"/>622 <Caret Line=" 204" Column="1" TopLine="202"/>603 <Filename Value="..\..\UCoolDockStyleRegions.pas"/> 604 <Caret Line="73" Column="1" TopLine="59"/> 623 605 </Position20> 624 606 <Position21> 625 <Filename Value="..\..\UCoolDockStyle Tabs.pas"/>626 <Caret Line=" 305" Column="1" TopLine="292"/>607 <Filename Value="..\..\UCoolDockStyleRegions.pas"/> 608 <Caret Line="75" Column="1" TopLine="59"/> 627 609 </Position21> 628 610 <Position22> 629 <Filename Value="..\..\UCoolDock PopupMenu.pas"/>630 <Caret Line=" 207" Column="66" TopLine="202"/>611 <Filename Value="..\..\UCoolDockStyleRegions.pas"/> 612 <Caret Line="76" Column="1" TopLine="59"/> 631 613 </Position22> 632 614 <Position23> 633 <Filename Value="..\..\UCoolDockStyle Tabs.pas"/>634 <Caret Line=" 305" Column="1" TopLine="292"/>615 <Filename Value="..\..\UCoolDockStyleRegions.pas"/> 616 <Caret Line="64" Column="1" TopLine="59"/> 635 617 </Position23> 636 618 <Position24> 637 <Filename Value="..\..\UCoolDockStyle Tabs.pas"/>638 <Caret Line=" 306" Column="1" TopLine="292"/>619 <Filename Value="..\..\UCoolDockStyleRegions.pas"/> 620 <Caret Line="65" Column="1" TopLine="59"/> 639 621 </Position24> 640 622 <Position25> 641 <Filename Value="..\..\UCoolDockStyle Tabs.pas"/>642 <Caret Line=" 307" Column="1" TopLine="292"/>623 <Filename Value="..\..\UCoolDockStyleRegions.pas"/> 624 <Caret Line="66" Column="1" TopLine="59"/> 643 625 </Position25> 644 626 <Position26> 645 <Filename Value="..\..\UCoolDockStyle Tabs.pas"/>646 <Caret Line=" 308" Column="1" TopLine="292"/>627 <Filename Value="..\..\UCoolDockStyleRegions.pas"/> 628 <Caret Line="82" Column="1" TopLine="61"/> 647 629 </Position26> 648 630 <Position27> 649 <Filename Value="..\..\UCoolDockStyle Tabs.pas"/>650 <Caret Line=" 315" Column="1" TopLine="294"/>631 <Filename Value="..\..\UCoolDockStyleRegions.pas"/> 632 <Caret Line="64" Column="1" TopLine="59"/> 651 633 </Position27> 652 634 <Position28> 653 <Filename Value="..\..\UCoolDockStyle Tabs.pas"/>654 <Caret Line=" 316" Column="1" TopLine="295"/>635 <Filename Value="..\..\UCoolDockStyleRegions.pas"/> 636 <Caret Line="65" Column="1" TopLine="59"/> 655 637 </Position28> 656 638 <Position29> 657 <Filename Value="..\..\UCoolDockStyle Tabs.pas"/>658 <Caret Line=" 317" Column="1" TopLine="296"/>639 <Filename Value="..\..\UCoolDockStyleRegions.pas"/> 640 <Caret Line="66" Column="1" TopLine="59"/> 659 641 </Position29> 660 642 <Position30> 661 <Filename Value="..\..\UCoolDock PopupMenu.pas"/>662 <Caret Line=" 202" Column="85" TopLine="223"/>643 <Filename Value="..\..\UCoolDockStyleRegions.pas"/> 644 <Caret Line="68" Column="1" TopLine="59"/> 663 645 </Position30> 664 646 </JumpHistory> … … 686 668 </CompilerOptions> 687 669 <Debugging> 670 <BreakPoints Count="1"> 671 <Item1> 672 <Source Value="..\..\UCoolDockStyleRegions.pas"/> 673 <Line Value="61"/> 674 </Item1> 675 </BreakPoints> 688 676 <Exceptions Count="3"> 689 677 <Item1> -
Docking/CoolDocking/ReadMe.txt
r63 r183 1 Completeded features: 2 ===================== 1 =CoolDocking= 2 3 Is form docking system for Lazarus IDE. 4 5 =Download= 6 7 You can download source from SVN repository: 8 9 http://svn.zdechov.net/svn/PascalClassLibrary/Docking/CoolDocking 10 11 12 =Features= 13 14 ==Completeded features== 3 15 4 16 * List docking … … 7 19 * Conjoin floating form 8 20 * Icons on tabs and grabbers 21 * Store and restore forms layout to file or stream 22 * Predefined customization form 9 23 10 Planned features: 11 ================= 24 ==Planned features== 12 25 13 * Store and restore forms layout to file or stream14 26 * Dock forms groups 15 * Predefined customization form16 27 * User defined form header styles 17 28 * Ability to lock and unlock docked controls for accidently undocking -
Docking/CoolDocking/UCoolDockClientPanel.pas
r182 r183 175 175 OnPaint := DockPanelPaint; 176 176 Header.Shape.OnMouseDown := DockPanelMouseDown; 177 Header.Title.OnMouseDown := DockPanelMouseDown; 177 178 OnResize := ResizeExecute; 178 179 BevelInner := bvNone; -
Docking/CoolDocking/UCoolDockCommon.pas
r182 r183 11 11 TDockStyle = (dsList, dsTabs, dsPopupTabs, dsPopupList); 12 12 TDockHideType = (dhtPermanent, dhtTemporal); 13 TDockDirection = (ddNone, ddHorizontal, ddVertical); 13 14 14 15 TCoolDockMasterBase = class; -
Docking/CoolDocking/UCoolDockStyle.pas
r182 r183 18 18 procedure SetHeaderPos(const AValue: THeaderPos); virtual; 19 19 constructor Create(AManager: TCoolDockManagerBase); 20 procedure InsertControl( NewPanel: TCoolDockClientPanel;AControl: TControl;20 procedure InsertControl(AControl: TControl; 21 21 InsertAt: TAlign); virtual; 22 procedure RemoveControl(Control: TControl); virtual; 22 23 procedure UpdateClientSize; virtual; 23 24 procedure Switch(Index: Integer); virtual; … … 55 56 end; 56 57 57 procedure TCoolDockStyle.InsertControl(NewPanel: TCoolDockClientPanel; 58 AControl: TControl; InsertAt: TAlign); 58 procedure TCoolDockStyle.InsertControl(AControl: TControl; InsertAt: TAlign); 59 begin 60 61 end; 62 63 procedure TCoolDockStyle.RemoveControl(Control: TControl); 59 64 begin 60 65 -
Docking/CoolDocking/UCoolDockStyleRegions.pas
r182 r183 6 6 7 7 uses 8 Classes, SysUtils, Controls, ExtCtrls, StdCtrls, UCoolDockStyle, 8 Classes, SysUtils, Controls, ExtCtrls, StdCtrls, UCoolDockStyle, Forms, 9 9 Graphics, Contnrs, Buttons, UCoolDockClientPanel, UCoolDockCommon; 10 10 … … 18 18 TCoolDockStyleRegions = class(TCoolDockStyle) 19 19 private 20 function GetDirection(InsertAt: TAlign): TDockDirection; 20 21 public 21 Panels: TObjectList; // TObjectList<TCoolDockStyleRegionsPanel> 22 FDockDirection: TDockDirection; 23 //Panels: TObjectList; // TObjectList<TCoolDockStyleRegionsPanel> 24 procedure InsertControl(AControl: TControl; InsertAt: TAlign); override; 25 procedure RemoveControl(Control: TControl); override; 22 26 function GetHeaderPos: THeaderPos; override; 23 27 procedure SetHeaderPos(const AValue: THeaderPos); override; … … 27 31 procedure SetVisible(const AValue: Boolean); override; 28 32 procedure ChangeVisible(Control: TWinControl; Visible: Boolean); override; 33 property DockDirection: TDockDirection read FDockDirection 34 write FDockDirection; 29 35 end; 30 36 … … 37 43 { TCoolDockStyleRegions } 38 44 45 function TCoolDockStyleRegions.GetDirection(InsertAt: TAlign): TDockDirection; 46 begin 47 Result := ddHorizontal; 48 if (InsertAt = alTop) or (InsertAt = alBottom) then 49 Result := ddVertical 50 else 51 if (InsertAt = alLeft) or (InsertAt = alRight) then 52 Result := ddHorizontal 53 else; 54 end; 55 56 procedure TCoolDockStyleRegions.InsertControl(AControl: TControl; InsertAt: TAlign); 57 var 58 NewPanel: TCoolDockClientPanel; 59 I: Integer; 60 NewDirection: TDockDirection; 61 NewConjoinDockForm: TCoolDockConjoinForm; 62 NewDockSite: TWinControl; 63 begin 64 inherited; 65 with TCoolDockManager(Manager) do begin 66 if DockSite.DockClientCount <= 2 then FDockDirection := GetDirection(InsertAt) 67 else 68 if (DockSite.DockClientCount > 2) then begin 69 NewDirection := GetDirection(InsertAt); 70 if (NewDirection <> FDockDirection) then begin 71 // Direction change, create conjoin form 72 NewConjoinDockForm := CreateContainer(InsertAt); 73 NewDockSite := DockSite.HostDockSite; 74 // FDockSite.ManualFloat(FDockSite.BoundsRect); 75 NewConjoinDockForm.ManualDock(NewDockSite); 76 DockSite.ManualDock(NewConjoinDockForm.Panel); 77 AControl.ManualDock(NewConjoinDockForm.Panel, nil, InsertAt); 78 Exit; 79 end; 80 end; 81 82 NewPanel := TCoolDockClientPanel.Create(nil); 83 with NewPanel do begin 84 Parent := TCoolDockManager(Manager).DockSite; 85 OwnerDockManager := Self; 86 if DockStyle = dsList then Visible := True; 87 Header.PopupMenu := TCoolDockManager(Manager).PopupMenu; 88 //PopupMenu.Parent := Self.DockSite; 89 end; 90 if (AControl is TForm) and Assigned((AControl as TForm).Icon) then 91 NewPanel.Header.Icon.Picture.Assign((AControl as TForm).Icon); 92 93 NewPanel.Control := AControl; 94 AControl.AddHandlerOnVisibleChanged(NewPanel.VisibleChange); 95 AControl.Parent := NewPanel.ClientAreaPanel; 96 AControl.Align := alClient; 97 if (InsertAt = alTop) or (InsertAt = alLeft) then 98 DockPanels.Insert(0, NewPanel) 99 else DockPanels.Add(NewPanel); 100 end; 101 UpdateClientSize; 102 end; 103 104 procedure TCoolDockStyleRegions.RemoveControl(Control: TControl); 105 begin 106 if TCoolDockManager(Manager).DockSite.DockClientCount = 2 then FDockDirection := ddNone; 107 inherited RemoveControl(Control); 108 end; 109 39 110 function TCoolDockStyleRegions.GetHeaderPos: THeaderPos; 40 111 begin … … 52 123 begin 53 124 inherited; 54 Panels := TObjectList.Create;125 //Panels := TObjectList.Create; 55 126 56 127 with TCoolDockManager(AManager) do … … 67 138 destructor TCoolDockStyleRegions.Destroy; 68 139 begin 69 Panels.Free;140 //Panels.Free; 70 141 inherited Destroy; 71 142 end; … … 74 145 var 75 146 I: Integer; 147 SplitterLeft: Integer; 148 SplitterTop: Integer; 149 BaseAlign: TAlign; 76 150 begin 77 151 inherited UpdateClientSize; 152 if FDockDirection = ddHorizontal then 153 BaseAlign := alLeft else BaseAlign := alTop; 154 155 SplitterLeft := 0; 156 SplitterTop := 0; 78 157 with TCoolDockManager(Manager) do 79 158 for I := 0 to DockPanels.Count - 1 do 80 159 with TCoolDockClientPanel(DockPanels[I]) do begin 160 Left := SplitterLeft; 161 Top := SplitterTop; 81 162 Height := TCoolDockManager(Manager).DockSite.Height div 82 163 TCoolDockManager(Manager).DockSite.DockClientCount; … … 84 165 TCoolDockManager(Manager).DockSite.DockClientCount; 85 166 //TCoolDockClientPanel(FDockPanels[I]).DockPanelPaint(Self); 167 if I < (DockPanels.Count - 1) then Align := BaseAlign 168 else Align := alClient; 169 170 Splitter.Left := SplitterLeft; 171 Splitter.Top := SplitterTop; 172 Inc(SplitterLeft, Width); 173 Inc(SplitterTop, Height); 174 Splitter.Parent := TCoolDockManager(Manager).DockSite; 175 Splitter.Align := BaseAlign; 176 Splitter.Visible := True; 177 178 86 179 DockPanelPaint(Self); 87 180 if I < (DockPanels.Count - 1) then begin 88 if TCoolDockManager(Manager).DockDirection = ddHorizontal then Align := alLeft181 if DockDirection = ddHorizontal then Align := alLeft 89 182 else Align := alTop; 90 183 end else Align := alClient; -
Docking/CoolDocking/UCoolDockStyleTabs.pas
r182 r183 25 25 procedure TabControlMouseUp(Sender: TObject; Button: TMouseButton; 26 26 Shift: TShiftState; X, Y: Integer); 27 procedure InsertControl(NewPanel: TCoolDockClientPanel; 28 AControl: TControl; InsertAt: TAlign); override; 27 procedure InsertControl(AControl: TControl; InsertAt: TAlign); override; 29 28 procedure UpdateClientSize; override; 30 29 private 31 30 FTabsPos: THeaderPos; 32 procedure InsertControlNoUpdate( NewPanel: TCoolDockClientPanel;33 AControl: TControl; InsertAt: TAlign);31 procedure InsertControlNoUpdate(AControl: TControl; InsertAt: TAlign); 32 procedure RemoveControl(Control: TControl); override; 34 33 public 35 34 constructor Create(AManager: TCoolDockManagerBase); … … 162 161 MultiLine := True; 163 162 PopupMenu := TCoolDockManager(Manager).PopupMenu; 163 OnMouseLeave := TabControlMouseLeave; 164 OnMouseDown := TabControlMouseDown; 164 165 //TTabControlNoteBookStrings(Tabs).NoteBook.OnMouseLeave := TabControlMouseLeave; 165 166 //TTabControlNoteBookStrings(Tabs).NoteBook.OnMouseDown := TabControlMouseDown; … … 175 176 with TCoolDockManager(Manager) do 176 177 for I := 0 to DockPanels.Count - 1 do 177 Self.InsertControlNoUpdate(TCoolDockClientPanel(DockPanels[I]), 178 TCoolDockClientPanel(DockPanels[I]).Control, alNone); 178 Self.InsertControlNoUpdate(TCoolDockClientPanel(DockPanels[I]).Control, alNone); 179 179 TabControlChange(Self); 180 180 end; … … 193 193 end; 194 194 195 procedure TCoolDockStyleTabs.InsertControlNoUpdate(NewPanel: TCoolDockClientPanel; 196 AControl: TControl; InsertAt: TAlign); 195 procedure TCoolDockStyleTabs.InsertControlNoUpdate(AControl: TControl; InsertAt: TAlign); 197 196 var 198 197 NewTabSheet: TTabSheet; 198 NewPanel: TCoolDockClientPanel; 199 199 begin 200 200 inherited; 201 with TCoolDockManager(Manager) do begin 202 NewPanel := TCoolDockClientPanel.Create(nil); 203 with NewPanel do begin 204 Parent := TCoolDockManager(Manager).DockSite; 205 OwnerDockManager := Self; 206 if DockStyle = dsList then Visible := True; 207 Align := alClient; 208 Header.PopupMenu := TCoolDockManager(Manager).PopupMenu; 209 //PopupMenu.Parent := Self.DockSite; 210 end; 211 if (AControl is TForm) and Assigned((AControl as TForm).Icon) then 212 NewPanel.Header.Icon.Picture.Assign((AControl as TForm).Icon); 213 214 NewPanel.Control := AControl; 215 AControl.AddHandlerOnVisibleChanged(NewPanel.VisibleChange); 216 AControl.Parent := NewPanel.ClientAreaPanel; 217 AControl.Align := alClient; 218 if (InsertAt = alTop) or (InsertAt = alLeft) then 219 DockPanels.Insert(0, NewPanel) 220 else DockPanels.Add(NewPanel); 221 222 end; 223 201 224 if AControl.Visible then begin 202 225 NewTabSheet := TTabSheet.Create(PageControl); … … 213 236 end; 214 237 215 procedure TCoolDockStyleTabs.InsertControl(NewPanel: TCoolDockClientPanel; 216 AControl: TControl; InsertAt: TAlign); 238 procedure TCoolDockStyleTabs.RemoveControl(Control: TControl); 239 begin 240 inherited RemoveControl(Control); 241 end; 242 243 procedure TCoolDockStyleTabs.InsertControl(AControl: TControl; InsertAt: TAlign); 217 244 var 218 245 NewTabSheet: TTabSheet; 219 246 begin 220 247 inherited; 221 InsertControlNoUpdate( NewPanel,AControl, InsertAt);248 InsertControlNoUpdate(AControl, InsertAt); 222 249 TabControlChange(Self); 223 250 end; -
Docking/CoolDocking/UCoolDocking.pas
r182 r183 19 19 20 20 type 21 TDockDirection = (ddNone, ddHorizontal, ddVertical);22 23 21 TCoolDockManager = class; 24 22 TCoolDockClient = class; … … 54 52 FMaster: TCoolDockMaster; 55 53 FDockStyle: TDockStyle; 56 FDockDirection: TDockDirection;57 54 FDockSite: TWinControl; 58 55 FDockPanels: TCoolDockPanels; … … 104 101 property HeaderPos: THeaderPos read GetHeaderPos write SetHeaderPos; 105 102 property Visible: Boolean write SetVisible; 106 property DockDirection: TDockDirection read FDockDirection107 write FDockDirection;108 103 end; 109 104 … … 277 272 procedure TCoolDockManager.InsertControlPanel(Control: TControl; InsertAt: TAlign; 278 273 DropCtl: TControl); 279 var 280 NewPanel: TCoolDockClientPanel; 281 I: Integer; 282 begin 283 if FDockSite.DockClientCount = 2 then begin 284 if (InsertAt = alTop) or (InsertAt = alBottom) then 285 FDockDirection := ddVertical 286 else 287 if (InsertAt = alLeft) or (InsertAt = alRight) then 288 FDockDirection := ddHorizontal 289 else FDockDirection := ddHorizontal; 290 end;// else FDockSite.DockClientCount > 2 then begin 291 292 //end; 293 if FDockSite.DockClientCount > 1 then begin 294 with TCoolDockClientPanel(FDockPanels.Last).Splitter do begin 295 Parent := FDockSite; 296 Visible := (DockStyle = dsList); 297 if FDockDirection = ddVertical then begin 298 Align := alTop; 299 Top := FDockSite.Height; 300 end else 301 if FDockDirection = ddHorizontal then begin 302 Align := alLeft; 303 Left := FDockSite.Width; 304 end; 305 end; 306 307 with TCoolDockClientPanel(FDockPanels.Last) do 308 if FDockDirection = ddVertical then 309 Align := alTop 310 else 311 if FDockDirection = ddHorizontal then 312 Align := alLeft; 313 end; 314 NewPanel := TCoolDockClientPanel.Create(nil); 315 with NewPanel do begin 316 Parent := FDockSite; 317 OwnerDockManager := Self; 318 if DockStyle = dsList then Visible := True; 319 Align := alClient; 320 Header.PopupMenu := Self.PopupMenu; 321 //PopupMenu.Parent := Self.DockSite; 322 end; 323 if (Control is TForm) and Assigned((Control as TForm).Icon) then 324 NewPanel.Header.Icon.Picture.Assign((Control as TForm).Icon); 325 326 DockStyleHandler.InsertControl(NewPanel, Control, InsertAt); 327 328 NewPanel.Control := Control; 329 Control.AddHandlerOnVisibleChanged(NewPanel.VisibleChange); 330 Control.Parent := NewPanel.ClientAreaPanel; 331 Control.Align := alClient; 332 if (InsertAt = alTop) or (InsertAt = alLeft) then 333 FDockPanels.Insert(0, NewPanel) 334 else FDockPanels.Add(NewPanel); 335 UpdateClientSize; 274 begin 275 DockStyleHandler.InsertControl(Control, InsertAt); 336 276 end; 337 277 … … 433 373 //Control.RemoveHandlerOnVisibleChanged(ClientPanel.VisibleChange); 434 374 FDockPanels.Remove(ClientPanel); 435 if FDockSite.DockClientCount = 2 then FDockDirection := ddNone;375 DockStyleHandler.RemoveControl(Control); 436 376 UpdateClientSize; 437 377 //FDockSite.Invalidate;
Note:
See TracChangeset
for help on using the changeset viewer.