Blender V2.61 - r43446
Classes | Defines | Functions | Variables

GHOST_SystemX11.cpp File Reference

#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

Detailed Description

Definition in file GHOST_SystemX11.cpp.


Define Documentation

#define GXMAP (   k,
  x,
 
)    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
#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
#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
#define XCLIB_XCOUT_SENTCONVSEL   1

Definition at line 1173 of file GHOST_SystemX11.cpp.

Referenced by GHOST_SystemX11::getClipboard_xcout().


Function Documentation

static GHOST_TKey convertXKey ( KeySym  key) [static]
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().


Variable Documentation

char* txt_cut_buffer = NULL [static]
char* txt_select_buffer = NULL [static]