From 1f876171067c04fc21fccd5a3051f982fd85c0f0 Mon Sep 17 00:00:00 2001 From: marha Date: Wed, 21 Oct 2009 19:07:36 +0000 Subject: Updated to xorg-server-1.7.99.1 --- xorg-server/hw/dmx/doc/html/dmxconsole_8h.html | 699 +++++++++++-------------- 1 file changed, 319 insertions(+), 380 deletions(-) (limited to 'xorg-server/hw/dmx/doc/html/dmxconsole_8h.html') diff --git a/xorg-server/hw/dmx/doc/html/dmxconsole_8h.html b/xorg-server/hw/dmx/doc/html/dmxconsole_8h.html index 398f56a16..5baa40b29 100644 --- a/xorg-server/hw/dmx/doc/html/dmxconsole_8h.html +++ b/xorg-server/hw/dmx/doc/html/dmxconsole_8h.html @@ -6,474 +6,413 @@ - -
Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals
+ + +

dmxconsole.h File Reference

-

-Go to the source code of this file. - - - - - - - - - - - - - - - - - - - - - - - - - - +

Go to the source code of this file.

+

Functions

pointer dmxConsoleCreatePrivate (DeviceIntPtr pDevice)
void dmxConsoleDestroyPrivate (pointer private)
void dmxConsoleInit (DevicePtr pDev)
void dmxConsoleReInit (DevicePtr pDev)
void dmxConsoleMouGetInfo (DevicePtr pDev, DMXLocalInitInfoPtr info)
void dmxConsoleKbdGetInfo (DevicePtr pDev, DMXLocalInitInfoPtr info)
void dmxConsoleCollectEvents (DevicePtr pDev, dmxMotionProcPtr motion, dmxEnqueueProcPtr enqueue, dmxCheckSpecialProcPtr checkspecial, DMXBlockType block)
int dmxConsoleFunctions (pointer private, DMXFunctionType function)
void dmxConsoleUpdatePosition (pointer private, int x, int y)
void dmxConsoleCapture (DMXInputInfo *dmxInput)
void dmxConsoleUncapture (DMXInputInfo *dmxInput)
void dmxConsoleUpdateInfo (pointer private, DMXUpdateType, WindowPtr pWindow)
+ + + + + + + + + + + + + +

Functions

pointer dmxConsoleCreatePrivate (DeviceIntPtr pDevice)
void dmxConsoleDestroyPrivate (pointer private)
void dmxConsoleInit (DevicePtr pDev)
void dmxConsoleReInit (DevicePtr pDev)
void dmxConsoleMouGetInfo (DevicePtr pDev, DMXLocalInitInfoPtr info)
void dmxConsoleKbdGetInfo (DevicePtr pDev, DMXLocalInitInfoPtr info)
void dmxConsoleCollectEvents (DevicePtr pDev, dmxMotionProcPtr motion, dmxEnqueueProcPtr enqueue, dmxCheckSpecialProcPtr checkspecial, DMXBlockType block)
int dmxConsoleFunctions (pointer private, DMXFunctionType function)
void dmxConsoleUpdatePosition (pointer private, int x, int y)
void dmxConsoleKbdSetCtrl (pointer private, KeybdCtrl *ctrl)
void dmxConsoleCapture (DMXInputInfo *dmxInput)
void dmxConsoleUncapture (DMXInputInfo *dmxInput)
void dmxConsoleUpdateInfo (pointer private, DMXUpdateType, WindowPtr pWindow)
-


Detailed Description

-Interface for console device support.
See also:
dmxconsole.c

-dmxcommon.c

-

Function Documentation

-

- - - - -
- - - - - - - - +

Detailed Description

+

Interface for console device support.

+
See also:
dmxconsole.c
+
+dmxcommon.c
+

Function Documentation

+ +
+
+
void dmxConsoleCapture DMXInputInfo dmxInput  ) 
+ + + + + + + -
void dmxConsoleCapture (DMXInputInfo dmxInput ) 
-
- - - - - -
-   - + +
+

This routine is used to warp the pointer into the console window from anywhere on the screen. It is used when backend and console input are both being taken from the same X display.

-

-This routine is used to warp the pointer into the console window from anywhere on the screen. It is used when backend and console input are both being taken from the same X display.

-

- - - - -
- +

References _myPrivate::captured, _myPrivate::curX, _myPrivate::curY, _DMXInputInfo::devs, DMX_LOCAL_MOUSE, DMX_LOCAL_TYPE_CONSOLE, dmxConsoleUpdateFineCursor(), DMXDBG0, DMXDBG3, dmxDump(), dmxSync(), _DMXLocalInputInfo::extType, _myPrivate::fine, _DMXInputInfo::name, _DMXInputInfo::numDevs, _DMXLocalInputInfo::private, and _DMXLocalInputInfo::type.

+ +

Referenced by dmxBackendUpdatePosition().

+ + + + +
+
+
- - - - + + + + + - - - + + + - - - + + + - - - + + + - - - + + - - + + -
void dmxConsoleCollectEvents DevicePtr  pDev, void dmxConsoleCollectEvents (DevicePtr  pDev,
dmxMotionProcPtr  motion, dmxMotionProcPtr  motion,
dmxEnqueueProcPtr  enqueue, dmxEnqueueProcPtr  enqueue,
dmxCheckSpecialProcPtr  checkspecial, dmxCheckSpecialProcPtr  checkspecial,
DMXBlockType  blockDMXBlockType  block 
)
-
- - - - - -
-   - - -

-Collect all pending events from the console's display. Plase these events on the server event queue using the motion and enqueue routines. The checkspecial routine is used to check for special keys that need handling. block tells if signals should be blocked when updating the event queue.

-

- - - - -
- - - - - - - - + +
+

Collect all pending events from the console's display. Plase these events on the server event queue using the motion and enqueue routines. The checkspecial routine is used to check for special keys that need handling. block tells if signals should be blocked when updating the event queue.

+ +

References dmxCommonRestoreState(), dmxCommonSaveState(), dmxConsoleDraw(), dmxConsoleMoveAbsolute(), dmxConsoleMoveRelative(), dmxConsoleUncapture(), DMXDBG2, DMXDBG4, DMXDBG5, DMXDBG6, _myPrivate::dmxInput, GETDMXINPUTFROMPRIV, GETPRIVFROMPDEV, _myPrivate::height, and _myPrivate::width.

+ +
+ + +
+
+
pointer dmxConsoleCreatePrivate DeviceIntPtr  pDevice  ) 
+ + + + + + + -
pointer dmxConsoleCreatePrivate (DeviceIntPtr  pDevice ) 
-
- - - - - -
-   - - -

-Create the private area for pDevice.

-

- - - - -
- - - - - - - - + +
+

Create the private area for pDevice.

+ +

References GETDMXLOCALFROMPDEVICE.

+ +
+ + +
+
+
void dmxConsoleDestroyPrivate pointer  private  ) 
+ + + + + + + -
void dmxConsoleDestroyPrivate (pointer  private ) 
-
- - - - - -
-   - - -

-If private is non-NULL, free its associated memory.

-

- - - - -
- + +
+

If private is non-NULL, free its associated memory.

+ +
+ + +
+
+
- - - - + + + + + - - - + + - - + + -
int dmxConsoleFunctions pointer  private, int dmxConsoleFunctions (pointer  private,
DMXFunctionType  functionDMXFunctionType  function 
)
-
- - - - - -
-   - - -

-Handle special console-only keys.

-

- - - - -
- - - - - - - - + + + + +
+
+
void dmxConsoleInit DevicePtr  pDev  ) 
+ + + + + + + -
void dmxConsoleInit (DevicePtr  pDev ) 
-
- - - - - -
-   - - -

-Initialized the console device described by pDev.

-

- - - - -
- + + + + +
+
+
- - - - + + + + + + + + + - - + + + +
void dmxConsoleKbdGetInfo DevicePtr  pDev, void dmxConsoleKbdGetInfo (DevicePtr  pDev,
DMXLocalInitInfoPtr  info 
DMXLocalInitInfoPtr  info)
+ + + + +
+
+ + + + + + + - - + + + + + + + -
void dmxConsoleKbdSetCtrl (pointer  private,
KeybdCtrl *  ctrl 
)
-
- - - - - -
-   - - -

-Fill in the info structure for the specified pDev. Only used for keyboard.

-

- - - - -
- + +
+ +
+ + +
+
+
- - - - + + + + + + + + + - - + + +
void dmxConsoleMouGetInfo DevicePtr  pDev, void dmxConsoleMouGetInfo (DevicePtr  pDev,
DMXLocalInitInfoPtr  info 
DMXLocalInitInfoPtr  info)
+ + + + +
+
+ + + + + + - - -
void dmxConsoleReInit (DevicePtr  pDev ) 
-
- - - - - -
-   - - -

-Fill in the info structure for the specified pDev. Only used for pointers.

-

- - - - -
- - - - - - - - + +
+

Re-initialized the console device described by pDev (after a reconfig).

+ +

References dmxConsoleComputeWidthHeight(), dmxConsoleDraw(), and GETPRIVFROMPDEV.

+ +
+ + +
+
+
void dmxConsoleReInit DevicePtr  pDev  ) 
+ + + + + + + -
void dmxConsoleUncapture (DMXInputInfo dmxInput ) 
-
- - - - - -
-   - + +
+

Undo the capture that was done by dmxConsoleCapture.

-

-Re-initialized the console device described by pDev (after a reconfig).

-

- - - - -
- - - - - - - - - +

References _myPrivate::captured, _DMXInputInfo::devs, DMX_LOCAL_MOUSE, DMX_LOCAL_TYPE_CONSOLE, DMXDBG0, dmxSync(), _DMXLocalInputInfo::extType, _DMXInputInfo::numDevs, _DMXLocalInputInfo::private, and _DMXLocalInputInfo::type.

-
void dmxConsoleUncapture DMXInputInfo dmxInput  ) 
-
- - - - - -
-   - +

Referenced by dmxBackendUpdatePosition(), and dmxConsoleCollectEvents().

-

-Undo the capture that was done by dmxConsoleCapture.

-

- - - - -
- + + + +
+
+
- - - - + + + + + - - - + + + - - - + + - - + + -
void dmxConsoleUpdateInfo pointer  private, void dmxConsoleUpdateInfo (pointer  private,
DMXUpdateType  type, DMXUpdateType  type,
WindowPtr  pWindowWindowPtr  pWindow 
)
-
- - - - - -
-   - - -

-Whenever the window layout (size, position, stacking order) might be changed, this routine is called with the pWindow that changed and the type of change. This routine is called in a conservative fashion: the actual layout of the windows of the screen might not have had any human-visible changes.

-

- - - - -
- + +
+

Whenever the window layout (size, position, stacking order) might be changed, this routine is called with the pWindow that changed and the type of change. This routine is called in a conservative fashion: the actual layout of the windows of the screen might not have had any human-visible changes.

+ +

References dmxConsoleDraw(), and GETONLYPRIVFROMPRIVATE.

+ +
+ + +
+
+
- - - - + + + + + - - - + + + - - - + + - - + + -
void dmxConsoleUpdatePosition pointer  private, void dmxConsoleUpdatePosition (pointer  private,
int  x, int  x,
int  yint  y 
)
-
- - - - - -
-   - + +
+

This routine gets called from dmxCoreMotion for each motion. This allows the console's notion of the cursor postion to change when another input device actually caused the change.

-

-This routine gets called from #dmxCoreMotion for each motion. This allows the console's notion of the cursor postion to change when another input device actually caused the change.

+

References dmxConsoleDraw(), dmxConsoleUpdateFineCursor(), DMXDBG2, DMXDBG6, dmxGeneration, GETONLYPRIVFROMPRIVATE, scalex(), and scaley().

+ +
+ +
-- cgit v1.2.3