Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsIQDFlushManager Interface Reference

nsIQDFlushManager is responsible for rate-limiting QuickDraw buffer flushes. More...

import "nsIQDFlushManager.idl";

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

List of all members.

Public Member Functions

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.

Detailed Description

nsIQDFlushManager is responsible for rate-limiting QuickDraw buffer flushes.

Think of it as a plumber in a time of rationing. It's expected to be used as a singleton doled out by the service manager.

Definition at line 54 of file nsIQDFlushManager.idl.


Member Function Documentation

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

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

The documentation for this interface was generated from the following file: