// Created: Sun Sep 07 2003
//
// Copyright: 2003 Chaz McGarvey. All rights reserved.
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// Created: Sun Sep 07 2003
//
// Copyright: 2003 Chaz McGarvey. All rights reserved.
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{
// closing the window will automatically disconnect the client from the server,
// but if the application is quitting, the client may not get a chance to exit.
{
// closing the window will automatically disconnect the client from the server,
// but if the application is quitting, the client may not get a chance to exit.
[statusTextTimer invalidate];
[statusTextTimer release], statusTextTimer = nil;
[statusTextTimer invalidate];
[statusTextTimer release], statusTextTimer = nil;
[searchRadioMatrix setEnabled:NO];
[searchButton setEnabled:NO];
[clearSearchButton setEnabled:NO];
[searchRadioMatrix setEnabled:NO];
[searchButton setEnabled:NO];
[clearSearchButton setEnabled:NO];
[statusText setToolTip:@""];
[statusBar stopAnimation:self];
[addressTable setEnabled:NO];
[statusText setToolTip:@""];
[statusBar stopAnimation:self];
[addressTable setEnabled:NO];
[self updateSearchBoxes];
[self updateSearchButton];
[clearSearchButton setEnabled:NO];
[self updateSearchBoxes];
[self updateSearchButton];
[clearSearchButton setEnabled:NO];
[statusText setToolTip:@""];
[statusBar stopAnimation:self];
[addressTable setEnabled:NO];
[statusText setToolTip:@""];
[statusBar stopAnimation:self];
[addressTable setEnabled:NO];
[self updateSearchBoxes];
[self updateSearchButton];
[clearSearchButton setEnabled:YES];
[self updateSearchBoxes];
[self updateSearchButton];
[clearSearchButton setEnabled:YES];
[statusText setToolTip:[NSString stringWithFormat:@"Results: %i", searchResultsAmount]];
}
[statusBar stopAnimation:self];
[statusText setToolTip:[NSString stringWithFormat:@"Results: %i", searchResultsAmount]];
}
[statusBar stopAnimation:self];
[searchRadioMatrix setEnabled:NO];
[searchButton setEnabled:NO];
[clearSearchButton setEnabled:NO];
[searchRadioMatrix setEnabled:NO];
[searchButton setEnabled:NO];
[clearSearchButton setEnabled:NO];
[statusText setToolTip:@""];
[statusBar startAnimation:self];
[addressTable setEnabled:NO];
[statusText setToolTip:@""];
[statusBar startAnimation:self];
[addressTable setEnabled:NO];
[searchRadioMatrix setEnabled:NO];
[searchButton setEnabled:NO];
[clearSearchButton setEnabled:NO];
[searchRadioMatrix setEnabled:NO];
[searchButton setEnabled:NO];
[clearSearchButton setEnabled:NO];
[statusText setToolTip:@""];
[statusBar startAnimation:self];
[addressTable setEnabled:NO];
[statusText setToolTip:@""];
[statusBar startAnimation:self];
[addressTable setEnabled:NO];
[searchRadioMatrix setEnabled:NO];
[searchButton setEnabled:NO];
[clearSearchButton setEnabled:NO];
[searchRadioMatrix setEnabled:NO];
[searchButton setEnabled:NO];
[clearSearchButton setEnabled:NO];
[statusText setToolTip:@""];
[statusBar startAnimation:self];
[addressTable setEnabled:NO];
[statusText setToolTip:@""];
[statusBar startAnimation:self];
[addressTable setEnabled:NO];
[searchRadioMatrix setEnabled:NO];
[searchButton setEnabled:NO];
[clearSearchButton setEnabled:NO];
[searchRadioMatrix setEnabled:NO];
[searchButton setEnabled:NO];
[clearSearchButton setEnabled:NO];
[statusBar startAnimation:self];
[addressTable setEnabled:NO];
[changeButton setTitle:@"Change..."];
[statusBar startAnimation:self];
[addressTable setEnabled:NO];
[changeButton setTitle:@"Change..."];
[searchRadioMatrix setEnabled:NO];
[searchButton setEnabled:NO];
[clearSearchButton setEnabled:NO];
[searchRadioMatrix setEnabled:NO];
[searchButton setEnabled:NO];
[clearSearchButton setEnabled:NO];
[statusText setToolTip:@""];
[statusBar startAnimation:self];
[addressTable setEnabled:NO];
[statusText setToolTip:@""];
[statusBar startAnimation:self];
[addressTable setEnabled:NO];
- (void)setStatusText:(NSString *)msg duration:(NSTimeInterval)seconds
{
[self setStatusText:msg duration:seconds color:[NSColor blackColor]];
- (void)setStatusText:(NSString *)msg duration:(NSTimeInterval)seconds
{
[self setStatusText:msg duration:seconds color:[NSColor blackColor]];
[savedStatusText release], savedStatusText = nil;
[statusTextTimer invalidate];
[statusTextTimer release], statusTextTimer = nil;
[savedStatusText release], savedStatusText = nil;
[statusTextTimer invalidate];
[statusTextTimer release], statusTextTimer = nil;
//[self setStatusText:@"Search Finished" duration:1.5];
[cheatWindow makeFirstResponder:searchTextField];
}
//[self setStatusText:@"Search Finished" duration:1.5];
[cheatWindow makeFirstResponder:searchTextField];
}
COPY_FROM_BUFFER( &undoCount, ptr, sizeof(undoCount) );
COPY_FROM_BUFFER( &redoCount, ptr, sizeof(redoCount) );
COPY_FROM_BUFFER( &undoCount, ptr, sizeof(undoCount) );
COPY_FROM_BUFFER( &redoCount, ptr, sizeof(redoCount) );
- NSLog( @"UNDO: %i, REDO: %i", undoCount, redoCount );
+ CMLog( @"UNDO: %i, REDO: %i", undoCount, redoCount );
// copy the number of results to return.
COPY_TO_BUFFER( ptr, &TCGlobalHitsDisplayed, sizeof(TCGlobalHitsDisplayed) );
// copy the number of results to return.
COPY_TO_BUFFER( ptr, &TCGlobalHitsDisplayed, sizeof(TCGlobalHitsDisplayed) );
- NSLog( @"type: %i, size: %i", type, size );
+ CMLog( @"type: %i, size: %i", type, size );