Tk Source Code

Check-in [a742f361]
Login
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to [email protected]
or submit via the online form by Sep 9.

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fine-tune display during resize events; now shows resize in progress but does not redraw contentview until done
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: a742f3619d79a301acdda24d76899c2357321663
User & Date: kevin_walzer 2015-02-18 03:31:05
Context
2015-02-18
03:34
Merge mark check-in: 31e46950 user: kevin_walzer tags: trunk
03:31
Fine-tune display during resize events; now shows resize in progress but does not redraw contentview until done check-in: a742f361 user: kevin_walzer tags: trunk
2015-02-16
22:06
Merge mark check-in: f434c087 user: kevin_walzer tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to macosx/tkMacOSXWindowEvent.c.

840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
-(void) viewWillDraw
{
    [super viewWillDraw];
}

- (BOOL) preservesContentDuringLiveResize
{
    return YES;
}

- (void)viewWillStartLiveResize
{
    NSDisableScreenUpdates();
    [super viewWillStartLiveResize];
    [self setNeedsDisplay:NO];
    [self setHidden:YES];
}


- (void)viewDidEndLiveResize
{

    NSEnableScreenUpdates();
    [self setHidden:NO];
    [self setNeedsDisplay:YES];
    [super setNeedsDisplay:YES];
    [super viewDidEndLiveResize];

}







|




<









<







840
841
842
843
844
845
846
847
848
849
850
851

852
853
854
855
856
857
858
859
860

861
862
863
864
865
866
867
-(void) viewWillDraw
{
    [super viewWillDraw];
}

- (BOOL) preservesContentDuringLiveResize
{
    return NO;
}

- (void)viewWillStartLiveResize
{

    [super viewWillStartLiveResize];
    [self setNeedsDisplay:NO];
    [self setHidden:YES];
}


- (void)viewDidEndLiveResize
{


    [self setHidden:NO];
    [self setNeedsDisplay:YES];
    [super setNeedsDisplay:YES];
    [super viewDidEndLiveResize];

}