|
Class: HostGraphicsDevice
Object
|
+--GraphicsDevice
|
+--HostGraphicsDevice
|
+--DeviceWorkstation
- Package:
- stx:libview
- Category:
- Interface-Graphics
- Version:
- rev:
1.34
date: 2021/01/20 14:35:25
- user: cg
- file: HostGraphicsDevice.st directory: libview
- module: stx stc-classLibrary: libview
this abstract class was inserted to provide a home for ST-80 classes
(previously, DeviceWorkstation was directly under Object).
We will (over time) move common functionality from there into this class.
In ST/X, this is mostly dummy.
copyrightCOPYRIGHT (c) 1997 by eXept Software AG / Claus Gittinger
All Rights Reserved
This software is furnished under a license and may be used
only in accordance with the terms of that license and with the
inclusion of the above copyright notice. This software may not
be provided or otherwise made available to, or used by, any
other person. No title to or ownership of the software is
hereby transferred.
Compatibility-Squeak
-
deferUpdates: aBoolean
-
Set the deferUpdates flag in the virtual machine.
When this flag is true, BitBlt operations on the Display are not
automatically propagated to the screen.
If this underlying platform does not support deferred updates,
this primitive will fail.
Answer the receiver if the primitive succeeds, nil if it fails.
-
forceDisplayUpdate
-
On platforms that buffer screen updates,
force the screen to be updated immediately.
On other platforms, or if the primitive is not implemented, do nothing.
accessing
-
deviceColors
-
return the registry keeping track of colors which were allocated
on this device.
-
deviceCursors
-
return the registry keeping track of cursors which were allocated
on this device.
-
deviceFonts
-
return the registry keeping track of fonts which were allocated
on this device.
-
graphicsContexts
-
return the registry keeping track of graphics contexts which were allocated
on this device.
accessing & queries
-
defaultExtentForTopViews
-
initialization & release
-
initializeDeviceResourceTables
-
-
releaseDeviceColors
-
TrueColors are not registered.
Release them the hard way
-
releaseDeviceCursors
-
-
releaseDeviceFonts
-
-
releaseGraphicsContexts
-
misc
-
recolorCursorsToFgColor: fgColor defaultBgColor: bgColor
-
change the colors of all existing cursors
Usage example(s):
Display recolorCursorsToFgColor:(Color red) defaultBgColor:(Color white)
Display recolorCursorsToFgColor:(Color blue) defaultBgColor:(Color white)
Display recolorCursorsToFgColor:(Color blue) defaultBgColor:(Color black)
Display recolorCursorsToFgColor:(Color white) defaultBgColor:(Color black)
Display recolorCursorsToFgColor:(Color white) defaultBgColor:(Color red)
|
registration
-
cleanupLobbyForChildrenOfViewWithId: anId
-
recursively clean all the subcomponents of the handle with id anId.
This must be done on finalization, because descendent handles
are destroyed implicitly when a parent handle is destroyed.
-
registerColor: aColor
-
-
registerCursor: aCursor
-
-
registerFont: aFont
-
-
registerGraphicsContext: aGC
-
-
unregisterColor: aColor
-
-
unregisterCursor: aCursor
-
-
unregisterFont: aFont
-
-
unregisterGraphicsContext: aGC
-
|