csrstack.h File Reference

(r1785/r1646)

Go to the source code of this file.

Classes

class  CursorIdent
 Used in the cursor stack - holds a pointer to a cursor and an identifying ID. More...
class  CursorStack
 A stack of Cursor objects, which is part of the kernel (NB Cursor objects are part of the OIL). More...

Functions

void BeginBusyCursor ()
 Tells the global cursor stack to display a busy cursor.
void EndBusyCursor ()
 Tells the global cursor stack to stop displaying the busy cursor. If more than one call has been previously made to beginBusyCursor, the busy cursor isn't removed - a usage count is decremented.
void SmashBusyCursor ()
 Tells the global cursor stack to stop displaying the busy cursor, regardless of how many calls have been previously made to beginBusyCursor.


Function Documentation

void BeginBusyCursor  ) 
 

Tells the global cursor stack to display a busy cursor.

Author:
Justin_Flude (Xara Group Ltd) <camelotdev@xara.com>
Date:
16/11/93 Modified: 28/1/95 by Jim
Parameters:
- [INPUTS]
- [OUTPUTS]
Returns:
-

Errors: -

See also:
CursorStack::Push; CursorStack::SetActive; EndBusyCursor; SmashBusyCursor

Definition at line 632 of file csrstack.cpp.

00633 {
00634     //CursorStack::Global->Push(Cursor::Busy);
00635     if (CursorStack::Global)
00636         CursorStack::Global->BeginBusy();
00637 }

void EndBusyCursor  ) 
 

Tells the global cursor stack to stop displaying the busy cursor. If more than one call has been previously made to beginBusyCursor, the busy cursor isn't removed - a usage count is decremented.

Author:
Justin_Flude (Xara Group Ltd) <camelotdev@xara.com>
Date:
16/11/93 Modified: 28/1/95 by Jim
Parameters:
- [INPUTS]
- [OUTPUTS]
Returns:
-

Errors: ERROR3 failure if the cursor stack isn't displaying a busy cursor at all

See also:
CursorStack::Pop; CursorStack::SetActive; BeginBusyCursor; SmashBusyCursor

Definition at line 658 of file csrstack.cpp.

00659 {
00660     if (CursorStack::Global)
00661         CursorStack::Global->EndBusy();
00662 }

void SmashBusyCursor  ) 
 

Tells the global cursor stack to stop displaying the busy cursor, regardless of how many calls have been previously made to beginBusyCursor.

Author:
Jason_Williams (Xara Group Ltd) <camelotdev@xara.com>
Date:
24/8/95
Parameters:
- [INPUTS]
- [OUTPUTS]
Returns:
-
See also:
BeginBusyCursor; EndBusyCursor

Definition at line 681 of file csrstack.cpp.

00682 {
00683     if (CursorStack::Global)
00684         CursorStack::Global->SmashBusy();
00685 }


Generated on Sat Nov 10 03:49:07 2007 for Camelot by  doxygen 1.4.4