Blender V2.61 - r43446
|
#include "GHOST_SystemX11.h"
#include "GHOST_WindowX11.h"
#include "GHOST_WindowManager.h"
#include "GHOST_TimerManager.h"
#include "GHOST_EventCursor.h"
#include "GHOST_EventKey.h"
#include "GHOST_EventButton.h"
#include "GHOST_EventWheel.h"
#include "GHOST_DisplayManagerX11.h"
#include "GHOST_Debug.h"
#include <X11/Xatom.h>
#include <X11/keysym.h>
#include <X11/XKBlib.h>
#include <sys/time.h>
#include <unistd.h>
#include <iostream>
#include <vector>
#include <stdio.h>
#include <cstdlib>
Go to the source code of this file.
Classes | |
struct | init_timestamp_data |
Defines | |
#define | GXMAP(k, x, y) case x: k = y; break; |
#define | XCLIB_XCOUT_NONE 0 |
#define | XCLIB_XCOUT_SENTCONVSEL 1 |
#define | XCLIB_XCOUT_INCR 2 |
#define | XCLIB_XCOUT_FALLBACK 3 |
#define | XCLIB_XCOUT_FALLBACK_UTF8 4 |
#define | XCLIB_XCOUT_FALLBACK_COMP 5 |
#define | XCLIB_XCOUT_FALLBACK_TEXT 6 |
Functions | |
static GHOST_TKey | convertXKey (KeySym key) |
static void | SleepTillEvent (Display *display, GHOST_TInt64 maxSleep) |
static Bool | init_timestamp_scanner (Display *, XEvent *event, XPointer arg) |
Variables | |
static char * | txt_cut_buffer = NULL |
static char * | txt_select_buffer = NULL |
Definition in file GHOST_SystemX11.cpp.
#define GXMAP | ( | k, | |
x, | |||
y | |||
) | case x: k = y; break; |
Definition at line 1023 of file GHOST_SystemX11.cpp.
Referenced by convertXKey().
#define XCLIB_XCOUT_FALLBACK 3 |
Definition at line 1175 of file GHOST_SystemX11.cpp.
Referenced by GHOST_SystemX11::getClipboard().
#define XCLIB_XCOUT_FALLBACK_COMP 5 |
Definition at line 1177 of file GHOST_SystemX11.cpp.
Referenced by GHOST_SystemX11::getClipboard(), and GHOST_SystemX11::getClipboard_xcout().
#define XCLIB_XCOUT_FALLBACK_TEXT 6 |
Definition at line 1178 of file GHOST_SystemX11.cpp.
Referenced by GHOST_SystemX11::getClipboard_xcout().
#define XCLIB_XCOUT_FALLBACK_UTF8 4 |
Definition at line 1176 of file GHOST_SystemX11.cpp.
Referenced by GHOST_SystemX11::getClipboard(), and GHOST_SystemX11::getClipboard_xcout().
#define XCLIB_XCOUT_INCR 2 |
Definition at line 1174 of file GHOST_SystemX11.cpp.
Referenced by GHOST_SystemX11::getClipboard_xcout().
#define XCLIB_XCOUT_NONE 0 |
Definition at line 1172 of file GHOST_SystemX11.cpp.
Referenced by GHOST_SystemX11::getClipboard(), and GHOST_SystemX11::getClipboard_xcout().
#define XCLIB_XCOUT_SENTCONVSEL 1 |
Definition at line 1173 of file GHOST_SystemX11.cpp.
Referenced by GHOST_SystemX11::getClipboard_xcout().
static GHOST_TKey convertXKey | ( | KeySym | key | ) | [static] |
Definition at line 1026 of file GHOST_SystemX11.cpp.
References GHOST_kKey0, GHOST_kKeyA, GHOST_kKeyAccentGrave, GHOST_kKeyBackslash, GHOST_kKeyBackSpace, GHOST_kKeyCapsLock, GHOST_kKeyComma, GHOST_kKeyDelete, GHOST_kKeyDownArrow, GHOST_kKeyDownPage, GHOST_kKeyEnd, GHOST_kKeyEnter, GHOST_kKeyEqual, GHOST_kKeyEsc, GHOST_kKeyF1, GHOST_kKeyF11, GHOST_kKeyF12, GHOST_kKeyHome, GHOST_kKeyInsert, GHOST_kKeyLeftAlt, GHOST_kKeyLeftArrow, GHOST_kKeyLeftBracket, GHOST_kKeyLeftControl, GHOST_kKeyLeftShift, GHOST_kKeyLinefeed, GHOST_kKeyMediaFirst, GHOST_kKeyMediaLast, GHOST_kKeyMediaPlay, GHOST_kKeyMediaStop, GHOST_kKeyMinus, GHOST_kKeyNumLock, GHOST_kKeyNumpad0, GHOST_kKeyNumpad1, GHOST_kKeyNumpad2, GHOST_kKeyNumpad3, GHOST_kKeyNumpad4, GHOST_kKeyNumpad5, GHOST_kKeyNumpad6, GHOST_kKeyNumpad7, GHOST_kKeyNumpad8, GHOST_kKeyNumpad9, GHOST_kKeyNumpadAsterisk, GHOST_kKeyNumpadEnter, GHOST_kKeyNumpadMinus, GHOST_kKeyNumpadPeriod, GHOST_kKeyNumpadPlus, GHOST_kKeyNumpadSlash, GHOST_kKeyOS, GHOST_kKeyPause, GHOST_kKeyPeriod, GHOST_kKeyQuote, GHOST_kKeyRightAlt, GHOST_kKeyRightArrow, GHOST_kKeyRightBracket, GHOST_kKeyRightControl, GHOST_kKeyRightShift, GHOST_kKeyScrollLock, GHOST_kKeySemicolon, GHOST_kKeySlash, GHOST_kKeySpace, GHOST_kKeyTab, GHOST_kKeyUnknown, GHOST_kKeyUpArrow, GHOST_kKeyUpPage, and GXMAP.
static Bool init_timestamp_scanner | ( | Display * | , |
XEvent * | event, | ||
XPointer | arg | ||
) | [static] |
Definition at line 328 of file GHOST_SystemX11.cpp.
References data, and init_timestamp_data::timestamp.
static void SleepTillEvent | ( | Display * | display, |
GHOST_TInt64 | maxSleep | ||
) | [static] |
Definition at line 299 of file GHOST_SystemX11.cpp.
References NULL.
Referenced by GHOST_SystemX11::processEvents().
char* txt_cut_buffer = NULL [static] |
Definition at line 73 of file GHOST_SystemX11.cpp.
Referenced by GHOST_SystemX11::getClipboard(), and GHOST_SystemX11::putClipboard().
char* txt_select_buffer = NULL [static] |
Definition at line 74 of file GHOST_SystemX11.cpp.
Referenced by GHOST_SystemX11::getClipboard(), and GHOST_SystemX11::putClipboard().