#include <IScreen.h>
Inherits IInterface.
Inherited by CScreen, IClient, and IPlatformScreen.
Inheritance diagram for IScreen:
accessors | |
virtual void * | getEventTarget () const =0 |
Get event target. | |
virtual bool | getClipboard (ClipboardID id, IClipboard *) const =0 |
Get clipboard. | |
virtual void | getShape (SInt32 &x, SInt32 &y, SInt32 &width, SInt32 &height) const =0 |
Get screen shape. | |
virtual void | getCursorPos (SInt32 &x, SInt32 &y) const =0 |
Get cursor position. | |
CEvent::Type | getErrorEvent () |
Get error event type. | |
CEvent::Type | getShapeChangedEvent () |
Get shape changed event type. | |
CEvent::Type | getClipboardGrabbedEvent () |
Get clipboard grabbed event type. | |
CEvent::Type | getSuspendEvent () |
Get suspend event type. | |
CEvent::Type | getResumeEvent () |
Get resume event type. |
This interface defines the methods common to all screens.
Definition at line 28 of file IScreen.h.
|
Get clipboard.
Save the contents of the clipboard indicated by Implemented in CClient, CMSWindowsScreen, COSXScreen, CXWindowsScreen, CBaseClientProxy, CClientProxy, CClientProxy1_0, CPrimaryClient, CPlatformScreen, CScreen, IClient, and IPlatformScreen. |
|
Get clipboard grabbed event type. Returns the clipboard grabbed event type. This is sent whenever the clipboard is grabbed by some other application so we don't own it anymore. The data is a pointer to a CClipboardInfo. Definition at line 42 of file IScreen.cpp. References CEvent::registerTypeOnce(). Referenced by COSXScreen::checkClipboards(), CMSWindowsScreen::checkClipboards(), and CXWindowsScreen::handleSystemEvent(). |
|
Get cursor position.
Return the current position of the cursor in Implemented in CClient, CMSWindowsScreen, COSXScreen, CXWindowsScreen, CBaseClientProxy, CClientProxy, CClientProxy1_0, CPrimaryClient, CPlatformScreen, CScreen, IClient, and IPlatformScreen. |
|
Get error event type. Returns the error event type. This is sent whenever the screen has failed for some reason (e.g. the X Windows server died). Definition at line 28 of file IScreen.cpp. References CEvent::registerTypeOnce(). |
|
Get event target. Returns the target used for events created by this object. Implemented in CClient, CMSWindowsScreen, COSXScreen, CXWindowsScreen, CBaseClientProxy, CClientProxy, CPrimaryClient, CPlatformScreen, CScreen, IClient, and IPlatformScreen. |
|
Get resume event type. Returns the suspend event type. This is sent whenever the system wakes up or a user session is activated (fast user switching). Definition at line 56 of file IScreen.cpp. References CEvent::registerTypeOnce(). |
|
Get screen shape.
Return the position of the upper-left corner of the screen in Implemented in CClient, CMSWindowsScreen, COSXScreen, CXWindowsScreen, CBaseClientProxy, CClientProxy, CClientProxy1_0, CPrimaryClient, CPlatformScreen, CScreen, IClient, and IPlatformScreen. |
|
Get shape changed event type. Returns the shape changed event type. This is sent whenever the screen's shape changes. Definition at line 35 of file IScreen.cpp. References CEvent::registerTypeOnce(). |
|
Get suspend event type. Returns the suspend event type. This is sent whenever the system goes to sleep or a user session is deactivated (fast user switching). Definition at line 49 of file IScreen.cpp. References CEvent::registerTypeOnce(). |