Changeset 51
- Timestamp:
- 03/07/08 11:34:49 (7 months ago)
- Files:
-
- trunk/win32/dfl/base.d (modified) (1 diff)
- trunk/win32/dfl/control.d (modified) (1 diff)
- trunk/win32/dfl/richtextbox.d (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/win32/dfl/base.d
r49 r51 349 349 abstract class WaitHandle 350 350 { 351 const int WAIT_TIMEOUT = .WAIT_TIMEOUT;351 const int WAIT_TIMEOUT = dfl.internal.winapi.WAIT_TIMEOUT; // DMD 1.028: needs fqn, otherwise conflicts with std.thread 352 352 const HANDLE INVALID_HANDLE = .INVALID_HANDLE_VALUE; 353 353 trunk/win32/dfl/control.d
r49 r51 1047 1047 +/ 1048 1048 1049 return droptarget ! =null;1049 return droptarget !is null; 1050 1050 } 1051 1051 } trunk/win32/dfl/richtextbox.d
r49 r51 577 577 578 578 /// 579 final void selectionBold(bool byes) // setter 580 { 581 if(!created) 582 return; 583 584 CHARFORMAT2A cf; 585 586 cf.cbSize = cf.sizeof; 587 cf.dwMask = CFM_BOLD; 588 if(byes) 589 cf.dwEffects |= CFE_BOLD; 590 else 591 cf.dwEffects &= ~CFE_BOLD; 592 _setFormat(&cf); 593 } 594 595 /// ditto 596 final bool selectionBold() // getter 597 { 598 if(created) 599 { 600 CHARFORMAT2A cf; 601 602 cf.cbSize = cf.sizeof; 603 cf.dwMask = CFM_BOLD; 604 _getFormat(&cf); 605 606 return (cf.dwEffects & CFE_BOLD) == CFE_BOLD; 607 } 608 return false; 609 } 610 611 612 /// 579 613 final void selectionUnderline(bool byes) // setter 580 614 {
