#include <CXWindowsUtil.h>
Public Types | |
typedef std::vector< KeySym > | KeySyms |
Static Public Member Functions | |
bool | getWindowProperty (Display *, Window window, Atom property, CString *data, Atom *type, SInt32 *format, bool deleteProperty) |
Get property. | |
bool | setWindowProperty (Display *, Window window, Atom property, const void *data, UInt32 size, Atom type, SInt32 format) |
Set property. | |
Time | getCurrentTime (Display *, Window) |
Get X server time. | |
UInt32 | mapKeySymToKeyID (KeySym) |
Convert KeySym to KeyID. | |
UInt32 | getModifierBitForKeySym (KeySym keysym) |
Convert KeySym to corresponding KeyModifierMask. | |
CString | atomToString (Display *, Atom atom) |
Convert Atom to its string. | |
CString | atomsToString (Display *display, const Atom *atom, UInt32 num) |
Convert several Atoms to a string. | |
void | convertAtomProperty (CString &data) |
Prepare a property of atoms for use. | |
void | appendAtomData (CString &data, Atom atom) |
Append an Atom to property data. | |
void | replaceAtomData (CString &data, UInt32 index, Atom atom) |
Replace an Atom in property data. | |
void | appendTimeData (CString &data, Time time) |
Append an Time to property data. |
Definition at line 29 of file CXWindowsUtil.h.
|
Append an Atom to property data.
Converts Definition at line 1655 of file CXWindowsUtil.cpp. |
|
Append an Time to property data.
Converts Definition at line 1669 of file CXWindowsUtil.cpp. |
|
Convert several Atoms to a string.
Converts each atom in Definition at line 1614 of file CXWindowsUtil.cpp. References CStringUtil::print(). |
|
Convert Atom to its string.
Converts Definition at line 1594 of file CXWindowsUtil.cpp. References CStringUtil::print(). |
|
Prepare a property of atoms for use. 64-bit systems may need to modify a property's data if it's a list of Atoms before using it. Definition at line 1640 of file CXWindowsUtil.cpp. |
|
Get X server time. Returns the current X server time. Definition at line 1424 of file CXWindowsUtil.cpp. Referenced by CXWindowsScreen::getClipboard(), and CXWindowsScreen::setClipboard(). |
|
Convert KeySym to corresponding KeyModifierMask. Converts a KeySym to the corresponding KeyModifierMask, or 0 if the KeySym is not a modifier. Definition at line 1550 of file CXWindowsUtil.cpp. |
|
Get property.
Gets property Definition at line 1290 of file CXWindowsUtil.cpp. |
|
Convert KeySym to KeyID. Converts a KeySym to the equivalent KeyID. Returns kKeyNone if the KeySym cannot be mapped. Definition at line 1461 of file CXWindowsUtil.cpp. |
|
Replace an Atom in property data.
Converts Definition at line 1661 of file CXWindowsUtil.cpp. |
|
Set property.
Sets property Definition at line 1378 of file CXWindowsUtil.cpp. |