Back to index

lightning-sunbird  0.9+nobinonly
Classes | Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes
NS_EXPORT Protocol Reference

#include <nsQDFlushManager.h>

Inheritance diagram for NS_EXPORT:
Inheritance graph
[legend]
Collaboration diagram for NS_EXPORT:
Collaboration graph
[legend]

List of all members.

Classes

struct  nsRegionSlot

Public Member Functions

 nsQDFlushManager ()
 ~nsQDFlushManager ()
 nsNativeRegionPool ()
 ~nsNativeRegionPool ()
RgnHandle GetNewRegion ()
void ReleaseRegion (RgnHandle aRgnHandle)
void flushPortBuffer (in CGrafPtr aPort, in RgnHandle aRegion)
 Flushes the port buffer, a la QDFlushPortBuffer.
void removePort (in CGrafPtr aPort)
 Cancels a pending flush scheduled by calling flushPortBuffer.

Protected Member Functions

nsQDFlushPortCreateOrGetPort (CGrafPtr aPort)

Protected Attributes

nsQDFlushPortmPortList

Private Attributes

nsRegionSlotmRegionSlots
nsRegionSlotmEmptySlots

Detailed Description

Definition at line 88 of file nsQDFlushManager.h.


Class Documentation

struct NS_EXPORT::nsRegionSlot

Definition at line 55 of file nsRegionPool.h.

Collaboration diagram for NS_EXPORT::nsRegionSlot:
Class Members
nsRegionSlot * mNext
RgnHandle mRegion

Constructor & Destructor Documentation


Member Function Documentation

void nsIQDFlushManager::flushPortBuffer ( in CGrafPtr  aPort,
in RgnHandle  aRegion 
) [inherited]

Flushes the port buffer, a la QDFlushPortBuffer.

If the buffer has been flushed too recently, the region to flush is instead added to the dirty region, and a buffer flush will be scheduled for an appropriate time.

Parameters:
aPortthe QuickDraw port to flush
aRegionthe region to flush or mark as dirty

Here is the caller graph for this function:

Here is the caller graph for this function:

Cancels a pending flush scheduled by calling flushPortBuffer.

This method is suitable to call when a port is destroyed.

Parameters:
aPortthe QuickDraw port to not flush

Member Data Documentation

Definition at line 61 of file nsRegionPool.h.

Definition at line 100 of file nsQDFlushManager.h.

Definition at line 60 of file nsRegionPool.h.


The documentation for this protocol was generated from the following files: